Skip to content

List model lines

GET
/v1/catalog/models
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.

sort
Sort

name, price (the cheapest matching variant) or variant_count; prefix - for descending. change_30d: largest 30-day change of the cheapest matching variant first.

string
default: name

name, price (the cheapest matching variant) or variant_count; prefix - for descending. change_30d: largest 30-day change of the cheapest matching variant first.

brand_id
Brand Id

Repeat to match several.

Any of:
Array<integer>

Repeat to match several.

model_id
Model Id

Repeat to match several.

Any of:
Array<integer>

Repeat to match several.

brand
Brand

Brand name, case-insensitive. Repeat to match several; combines with brand_id (both must hold).

Any of:
Array<string>

Brand name, case-insensitive. Repeat to match several; combines with brand_id (both must hold).

q
Q

Substring of variant, model or brand.

Any of:
string
>= 1 characters <= 80 characters

Substring of variant, model or brand.

make
Make

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.

Any of:
string
<= 120 characters

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_type
Fuel Type

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.

Any of:
Array<string>
Allowed values: petrol diesel electric hybrid plugin_hybrid lpg cng hydrogen other

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.

transmission
Transmission

manual, automatic, semi_automatic or cvt. Repeatable.

Any of:
Array<string>
Allowed values: manual automatic semi_automatic cvt other

manual, automatic, semi_automatic or cvt. Repeatable.

drive
Drive

fwd, rwd or awd. Repeatable.

Any of:
Array<string>
Allowed values: fwd rwd awd chain belt shaft other

fwd, rwd or awd. Repeatable.

powertrain
Powertrain

ice, mhev, hev, phev, erev, bev or fcev. Repeatable.

Any of:
Array<string>
Allowed values: ice mhev hev phev erev bev fcev

ice, mhev, hev, phev, erev, bev or fcev. Repeatable.

body_style
Body Style

Body, the market API’s car bodies (suv, hatchback, …). Repeatable.

Any of:
Array<string>
Allowed values: sedan hatchback wagon suv coupe convertible van minivan pickup microcar panel_van minibus chassis_cab dropside curtainsider box refrigerated tipper hooklift swap_body tractor_unit car_transporter tow_truck crane platform tanker concrete_mixer refuse timber livestock special city_bus intercity_bus coach scooter maxi_scooter naked touring sport enduro motocross supermoto trial cruiser moped minibike quad utv three_wheeler snowmobile ebike kick_scooter other

Body, the market API’s car bodies (suv, hatchback, …). Repeatable.

emission_class
Emission Class

Emission class (euro_6d, euro_6e, …). Repeatable.

Any of:
Array<string>
Allowed values: euro_1 euro_2 euro_3 euro_4 euro_5 euro_6 euro_6c euro_6d_temp euro_6d euro_6e euro_7 other

Emission class (euro_6d, euro_6e, …). Repeatable.

emission_class_min
Emission Class Min

This emission class or a later one: euro_6d takes euro_6e too.

Any of:
EmissionClass

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.

string
Allowed values: euro_1 euro_2 euro_3 euro_4 euro_5 euro_6 euro_6c euro_6d_temp euro_6d euro_6e euro_7 other

This emission class or a later one: euro_6d takes euro_6e too.

price_min
Price Min

Minimum price in EUR.

Any of:
integer

Minimum price in EUR.

price_max
Price Max

Maximum price in EUR.

Any of:
integer

Maximum price in EUR.

power_kw_min
Power Kw Min

Minimum power in kW.

Any of:
integer

Minimum power in kW.

power_kw_max
Power Kw Max

Maximum power in kW.

Any of:
integer

Maximum power in kW.

range_km_min
Range Km Min

Minimum electric range in km.

Any of:
integer

Minimum electric range in km.

battery_kwh_min
Battery Kwh Min

Minimum battery capacity in kWh. Excludes vehicles without a battery.

Any of:
number

Minimum battery capacity in kWh. Excludes vehicles without a battery.

seats
Seats

Repeat to match several.

Any of:
Array<integer>

Repeat to match several.

doors
Doors

Repeat to match several.

Any of:
Array<integer>

Repeat to match several.

changed_30d
Changed 30D

true: only variants whose price changed in the last 30 days.

Any of:
boolean

true: only variants whose price changed in the last 30 days.

available
Available

true (default): currently on sale; false: no longer on sale; any: both.

string
default: true /^(true|false|any)$/

true (default): currently on sale; false: no longer on sale; any: both.

has_full_specs
Has Full Specs

true: only variants with full specifications; false: only those without (about 4%).

Any of:
boolean

true: only variants with full specifications; false: only those without (about 4%).

limit
Limit

Results per page.

Any of:
integer
>= 1

Results per page.

offset
Offset

Results to skip.

integer
0

Results to skip.

with_total
With Total

Include the total count. Set false for faster responses.

boolean
default: true

Include the total count. Set false for faster responses.

Successful Response

Media typeapplication/json
Page[ModelSummary]
object
items
required
Items
Array<object>
ModelSummary

A model in a search, with figures over its variants that match the filters.

object
available
required
Available

Whether it is currently on sale.

boolean
first_seen_at
required
First Seen At
string format: date-time
last_seen_at
required
Last Seen At
string format: date-time
discontinued_at
Discontinued At

When it was withdrawn from sale, if it was.

Any of:
string format: date-time
id
required
Id
integer
brand_id
required
Brand Id
integer
name
required
Name

Model name as shown on avto.net, sometimes with a trailing colon (serija 1:).

string
body_style
Body Style

The body, the market API’s values (suv, hatchback, …); body_style= filters on it.

Any of:
string
site_body_type
Site Body Type

The catalogue’s own word for the body (Limuzina, Kombilimuzina).

Any of:
string
body_code
required
Body Code

Avto.net’s body type code.

string
price_from
Price From

Starting price (‘cena od’).

Any of:
string
currency
required
Currency
string
image_url
Image Url
Any of:
string
brand_name
required
Brand Name
string
variant_count
required
Variant Count

Variants matching the filters.

integer
fuels
Fuels

Their fuels (fuel_type values), sorted.

Array<string>
price_min
Price Min

The cheapest matching variant’s price.

Any of:
string
price_to
Price To

The dearest matching variant’s price.

Any of:
string
change_30d

The cheapest matching variant’s change over 30 days.

Any of:
PriceChange
object
delta
required
Delta

EUR; negative is a reduction.

string
pct
Pct

Percent of the price 30 days ago, one decimal.

Any of:
string
total
Total

Total number of results, or null when with_total=false.

Any of:
integer
limit
required
Limit
integer
offset
required
Offset
integer

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

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": {}
}
]
}