Skip to content

Model lines for one manufacturer

GET
/v1/catalog/brands/{brand_id}/models
curl --request GET \
--url 'https://api.avtopodatki.si/v1/catalog/brands/1/models?available=true&offset=0&with_total=true' \
--header 'Authorization: Bearer <token>'

A manufacturer’s models. A model appears once per body style (e.g. as a saloon and as a coupé), each with its own starting price and variants.

Requires the catalog.read permission.

brand_id
required
Brand Id

Brand id.

integer
>= 1

Brand 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.

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[ModelOut]
object
items
required
Items
Array<object>
ModelOut

A model in one body style.

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