Skip to content

Overview

Vehicle market data for Slovenia: used-car listings and price statistics, and new-vehicle list prices.

APIs

Prefix What it is Access
/v1/market Used-car listings, sellers and price statistics market.*
/v1/catalog New-vehicle list prices and specifications catalog.*
/v1/integrations Exports prepared for your account integration.<name>
/v1/auth Your account and permissions (/me), sign out everyone

Guides. Getting started, tutorials and this reference are at docs.avtopodatki.si, in English and Slovenian.

Authentication. Use an API key: send it on every request as Authorization: Bearer ap_…. Your company’s owners and developers create keys on the API keys page of the AvtoPodatki app; a key is shown once, so store it safely.

What you see here. Without a key, this reference shows the market, catalogue and website stock APIs. Sign in with your key (on docs.avtopodatki.si/reference/) to see everything your company can call; “Try it” then sends your key.

Access. Your company is granted permissions, such as market.read or catalog.export. Each endpoint below says which one it needs. Calling one you don’t have returns 403 naming it in detail.required_permission. GET /v1/auth/me lists your permissions and any expiry date for trial access.

Credits. Every call to an endpoint that requires a permission spends credits from your company’s monthly allowance. Exports also count towards a monthly number of exports, and cost nothing if they fail. Each response that spent credits carries X-Credits-Limit, X-Credits-Remaining and X-Credits-Reset. Once a monthly limit is used up, these return 429 quota_exceeded with detail.meter naming it (credits, exports) until the 1st of next month (UTC). GET /v1/auth/me shows each limit and this month’s use in limits.

Used cars vs. new cars. /v1/market holds used-car adverts (each with a seller, mileage and price history). /v1/catalog holds manufacturers’ list prices for new configurations on sale. They are separate datasets with their own ids and filter values.

Background jobs. A request that starts work returns 202 with a job id. Follow progress with the job’s /status endpoint.

Errors. Every error has the same shape: {"error": {"code", "message", "detail"}}. code is stable and meant for your code (not_found, conflict, validation_error, rate_limited, quota_exceeded, …); message is readable text you can show.

Fuel and transmission values

Market listings, their filters and exports all use the same values:

  • Fuel: petrol, diesel, electric, hybrid, plugin_hybrid, lpg, cng, hydrogen, other
  • Transmission: manual, automatic, semi_automatic, cvt, other

other means the marketplace stated a value outside the list; a listing whose advert states none has null. GET /v1/market/filter-values returns the lists.

Makes and models

Makes and models are the same for every marketplace too: each site’s wording is mapped onto one list when it is scraped. Filter with make= (a slug such as mercedes-benz, or a name in any spelling: Mercedes Benz, VW) and model= or family= with it. GET /v1/market/filter-values lists the makes, and a make’s models with make=. brand= (the marketplace’s own text) was removed: sending it is a 422.

Body, colour and the other closed values

body_style (each vehicle class has its own list), color, drive, powertrain, emission_class, condition and weight_class hold the same values on every marketplace too. Each filter takes one or more (repeat the parameter); filter-values lists them with labels. null means the advert didn’t say, which is not “no”: avto.net states four-wheel drive and no other drive, and only avto.net marks paint as not metallic.

Information

  • OpenAPI version: 3.1.0

Your company’s API key (ap_…). Send it as Authorization: Bearer ap_….

Security scheme type: http