Skip to content

One model line with its variants

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

model_id
required
Model Id

Model id.

integer
>= 1

Model id.

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.

Successful Response

Media typeapplication/json
ModelWithVariants
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
Brand Name
Any of:
string
variants
Variants
Array<object>
VariantSummary

A variant (one priced configuration), as returned in search results.

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
model_id
required
Model Id
integer
source_ref
required
Source Ref

The variant’s id on avto.net. Doesn’t change; use it to reference a variant.

string
name
required
Name
string
url
Url
Any of:
string
price
Price
Any of:
string
currency
required
Currency
string
fuel_type
Fuel Type

petrol, diesel, electric, … as on market listings. A mild hybrid is its fuel (petrol), with powertrain: mhev.

Any of:
string
transmission
Transmission

manual, automatic, semi_automatic or cvt; a dual-clutch is automatic.

Any of:
string
drive
Drive

fwd, rwd or awd.

Any of:
string
powertrain
Powertrain

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

Any of:
string
emission_class
Emission Class

euro_6d, euro_6e, … as on market listings; null for electric cars.

Any of:
string
site_fuel_type
Site Fuel Type

The catalogue’s own word for the fuel (Bencin).

Any of:
string
site_transmission
Site Transmission

The catalogue’s own text, with the gear count (Robotiziran, 7 prestav).

Any of:
string
site_drive
Site Drive

The catalogue’s own word (Prednji pogon).

Any of:
string
site_powertrain
Site Powertrain

The catalogue’s own word (Blagi hibrid (MHEV)).

Any of:
string
power_kw
Power Kw
Any of:
integer
engine_ccm
Engine Ccm

Engine displacement in cm³. Null for electric vehicles.

Any of:
integer
battery_kwh
Battery Kwh

Battery capacity in kWh. Null without a battery.

Any of:
string
range_km
Range Km

Electric range in km.

Any of:
integer
num_doors
Num Doors
Any of:
integer
num_seats
Num Seats
Any of:
integer
has_full_specs
required
Has Full Specs

False for the ~4% of variants without full specifications yet: no specs, fuel_type or power_kw.

boolean
brand_id
Brand Id
Any of:
integer
brand_name
Brand Name
Any of:
string
make

The canonical make, as on market listings (GET /v1/market/filter-values); make= takes its slug. name is the catalogue’s own spelling (KIA).

Any of:
MakeOut

A canonical make: the same for every marketplace.

object
slug
required
Slug

What make= takes: mercedes-benz.

string
name
required
Name

How to show it: Mercedes-Benz.

string
model_name
Model Name

The model’s name. Show it with name: since avto.net’s 22 Nov 2026 redesign a variant’s name is the trim alone (eDrive40 Gran Coupe).

Any of:
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
change_30d

Net price change over the last 30 days. Null when the price did not change.

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
last_change_at
Last Change At

When the price last changed, at any time.

Any of:
string format: date-time

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

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