Search variants
const url = 'https://api.avtopodatki.si/v1/catalog/variants?sort=price&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/variants?sort=price&available=true&offset=0&with_total=true' \ --header 'Authorization: Bearer <token>'Search variants: one priced configuration (engine, trim, body) of a model.
Fuel, transmission, drive, powertrain, body and emission class take the
market API’s values (petrol, automatic, suv, euro_6e), and make
its makes; GET /v1/catalog/facets lists them with counts and labels. The
catalogue’s own words are in the site_* fields.
About 4% of variants have no full specifications yet (has_full_specs: false). They have no fuel_type or power_kw, so filtering on those leaves
them out.
Requires the catalog.read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”price, power_kw, name, first_seen_at or last_change_at; prefix - for descending. change_30d: largest 30-day price change first. Missing values sort last.
price, power_kw, name, first_seen_at or last_change_at; prefix - for descending. change_30d: largest 30-day price change first. Missing values sort last.
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 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
{ "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, "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" } ], "total": 1, "limit": 1, "offset": 1}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}