One model line with its variants
const url = 'https://api.avtopodatki.si/v1/catalog/models/1?available=true';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/models/1?available=true' \ --header 'Authorization: Bearer <token>'One model with all its variants, cheapest first.
Requires the catalog.read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Model id.
Model id.
Query Parameters
Section titled “Query Parameters”true (default): currently on sale; false: no longer on sale; any: both.
true (default): currently on sale; false: no longer on sale; any: both.
Responses
Section titled “Responses”Successful Response
object
Whether it is currently on sale.
Model name as shown on avto.net, sometimes with a trailing colon (serija 1:).
Avto.net’s body type code.
A variant (one priced configuration), as returned in search results.
object
Whether it is currently on sale.
The variant’s id on avto.net. Doesn’t change; use it to reference a variant.
False for the ~4% of variants without full specifications yet: no specs, fuel_type or power_kw.
The canonical make, as on market listings (GET /v1/market/filter-values); make= takes its slug. name is the catalogue’s own spelling (KIA).
A canonical make: the same for every marketplace.
object
What make= takes: mercedes-benz.
How to show it: Mercedes-Benz.
Net price change over the last 30 days. Null when the price did not change.
Example generated
{ "available": true, "first_seen_at": "2026-04-15T12:00:00Z", "last_seen_at": "2026-04-15T12:00:00Z", "discontinued_at": "2026-04-15T12:00:00Z", "id": 1, "brand_id": 1, "name": "example", "body_style": "example", "site_body_type": "example", "body_code": "example", "price_from": "example", "currency": "example", "image_url": "example", "brand_name": "example", "variants": [ { "available": true, "first_seen_at": "2026-04-15T12:00:00Z", "last_seen_at": "2026-04-15T12:00:00Z", "discontinued_at": "2026-04-15T12:00:00Z", "id": 1, "model_id": 1, "source_ref": "example", "name": "example", "url": "example", "price": "example", "currency": "example", "fuel_type": "example", "transmission": "example", "drive": "example", "powertrain": "example", "emission_class": "example", "site_fuel_type": "example", "site_transmission": "example", "site_drive": "example", "site_powertrain": "example", "power_kw": 1, "engine_ccm": 1, "battery_kwh": "example", "range_km": 1, "num_doors": 1, "num_seats": 1, "has_full_specs": true, "brand_id": 1, "brand_name": "example", "make": { "slug": "example", "name": "example" }, "model_name": "example", "body_style": "example", "site_body_type": "example", "change_30d": { "delta": "example", "pct": "example" }, "last_change_at": "2026-04-15T12:00:00Z" } ]}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}