Price index over updates
const url = 'https://api.avtopodatki.si/v1/catalog/index';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.avtopodatki.si/v1/catalog/index \ --header 'Authorization: Bearer <token>'How list prices moved since a starting point, as an index (start = 100).
At every complete update after the start, each variant’s price is divided
by its price at the start, and the series is the median of those ratios ×
100. Only variants on sale and priced at both points count, so a new or
withdrawn model does not move the index; variants says how many did.
The first series covers the brand filter (all brands without one); each
compared brand gets its own.
Requires the catalog.changes permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The main series’ brands. Repeatable.
The main series’ brands. Repeatable.
The main series’ brands by name, case-insensitive. Repeatable.
The main series’ brands by name, case-insensitive. Repeatable.
A brand to plot beside it, by id. Repeatable.
A brand to plot beside it, by id. Repeatable.
A brand to plot beside it, by name. Up to 5 in all.
A brand to plot beside it, by name. Up to 5 in all.
Responses
Section titled “Responses”Successful Response
object
The brand filter (or all brands) first, then each compared brand.
object
object
Variants on sale and priced at both the start and here.
Example generated
{ "from_id": 1, "from_at": "2026-04-15T12:00:00Z", "series": [ { "brand_id": 1, "brand_name": "example", "points": [ { "update_id": 1, "at": "2026-04-15T12:00:00Z", "value": "example", "variants": 1 } ] } ]}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}