Skip to content

Header figures

GET
/v1/catalog/summary
curl --request GET \
--url https://api.avtopodatki.si/v1/catalog/summary \
--header 'Authorization: Bearer <token>'

What is on sale now, and how it moved over the last 30 days.

up_30d and down_30d count variants by their net change over the window (the same figure as change_30d on a variant), so a price that went up and back down counts as neither. updated_at is when the last complete catalogue pass finished: a failed or running one does not move it.

Requires the catalog.read permission.

brand_id
Brand Id

Repeat to match several.

Any of:
Array<integer>

Repeat to match several.

brand
Brand

Brand name, case-insensitive. Repeat to match several.

Any of:
Array<string>

Brand name, case-insensitive. Repeat to match several.

Successful Response

Media typeapplication/json
CatalogSummary

The header figures of the price pages, over what is on sale now.

object
brands
required
Brands

Brands with at least one variant on sale.

integer
models
required
Models

Models with at least one variant on sale.

integer
variants
required
Variants

Variants on sale.

integer
updated_at
Updated At

When the last complete catalogue pass finished; null before the first.

Any of:
string format: date-time
up_30d
required
Up 30D

Variants on sale whose price rose over the last 30 days.

integer
down_30d
required
Down 30D

Variants on sale whose price fell over the last 30 days.

integer
new_30d
required
New 30D

Variants on sale first seen in the last 30 days.

integer

Example generated

{
"brands": 1,
"models": 1,
"variants": 1,
"updated_at": "2026-04-15T12:00:00Z",
"up_30d": 1,
"down_30d": 1,
"new_30d": 1
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}