List model lines
const url = 'https://api.avtopodatki.si/v1/catalog/models?sort=name&available=true&offset=0&with_total=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?sort=name&available=true&offset=0&with_total=true' \ --header 'Authorization: Bearer <token>'Models with at least one variant matching the filters.
Takes the same filters as GET /v1/catalog/variants and adds figures over
the matching variants: how many, their fuels, the cheapest and dearest
price, and the cheapest one’s price change over 30 days. price_from is
the starting price avto.net shows for the model.
Requires the catalog.read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”name, price (the cheapest matching variant) or variant_count; prefix - for descending. change_30d: largest 30-day change of the cheapest matching variant first.
name, price (the cheapest matching variant) or variant_count; prefix - for descending. change_30d: largest 30-day change of the cheapest matching variant first.
Repeat to match several.
Repeat to match several.
Repeat to match several.
Repeat to match several.
Brand name, case-insensitive. Repeat to match several; combines with brand_id (both must hold).
Brand name, case-insensitive. Repeat to match several; combines with brand_id (both must hold).
Make, as on the market API: a slug (mercedes-benz) or a name in any spelling (Mercedes Benz, VW). An unknown make is a 422 naming the nearest.
Make, as on the market API: a slug (mercedes-benz) or a name in any spelling (Mercedes Benz, VW). An unknown make is a 422 naming the nearest.
Fuel, the market API’s values (petrol, diesel, electric, plugin_hybrid, …); repeat to match several. A mild hybrid is its fuel: find mild hybrids with powertrain=mhev.
Fuel, the market API’s values (petrol, diesel, electric, plugin_hybrid, …); repeat to match several. A mild hybrid is its fuel: find mild hybrids with powertrain=mhev.
manual, automatic, semi_automatic or cvt. Repeatable.
manual, automatic, semi_automatic or cvt. Repeatable.
fwd, rwd or awd. Repeatable.
fwd, rwd or awd. Repeatable.
ice, mhev, hev, phev, erev, bev or fcev. Repeatable.
ice, mhev, hev, phev, erev, bev or fcev. Repeatable.
Body, the market API’s car bodies (suv, hatchback, …). Repeatable.
Body, the market API’s car bodies (suv, hatchback, …). Repeatable.
Emission class (euro_6d, euro_6e, …). Repeatable.
Emission class (euro_6d, euro_6e, …). Repeatable.
This emission class or a later one: euro_6d takes euro_6e too.
European emission standard (Euro 1 … Euro 7).
EURO_6 is Euro 6 with its stage not stated. Rank with
:data:avtopodatki_shared.values.EMISSION_ORDER, never by the value string.
This emission class or a later one: euro_6d takes euro_6e too.
true (default): currently on sale; false: no longer on sale; any: both.
true (default): currently on sale; false: no longer on sale; any: both.
Results to skip.
Results to skip.
Include the total count. Set false for faster responses.
Include the total count. Set false for faster responses.
Responses
Section titled “Responses”Successful Response
object
A model in a search, with figures over its variants that match the filters.
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.
Variants matching the filters.
Their fuels (fuel_type values), sorted.
The cheapest matching variant’s change over 30 days.
Example generated
{ "items": [ { "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", "variant_count": 1, "fuels": [ "example" ], "price_min": "example", "price_to": "example", "change_30d": { "delta": "example", "pct": "example" } } ], "total": 1, "limit": 1, "offset": 1}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}