AUTO.RIA API: finding a manufacturer and model before you search
Call autoria-makes with body.category set to the catalogue you want, cars by default, and read a manufacturer's id from results next to its name. Call autoria-models with that manufacturer, by name or by the id you just read, to get its model list the same way; body.make there is optional, so leaving it out still returns a model list, but the make and make_id the response echoes back only answers for whichever manufacturer, if any, you actually sent. Sending the ids you collected this way as body.make and body.model on a later autoria-search or autoria-search-ids call skips the extra lookup a name would otherwise cost each time.
Narrowing a search by price, year and mileage together
The year, price and mileage bounds combine on a single autoria-search or autoria-search-ids call rather than needing separate calls per filter; a listing has to clear every bound sent, not just one of them:
body.year_from/body.year_to: earliest and latest model yearbody.price_from_usd/body.price_to_usd: lowest and highest asking price, in US dollarsbody.mileage_from_km/body.mileage_to_km: lowest and highest odometer reading, in kilometres
Keep in mind that the price bounds are in US dollars while a matching row's own price fields carry all three currencies AUTO.RIA publishes, and that a mileage bound is rounded down to the nearest 1,000 km before AUTO.RIA applies it, so a body.mileage_from_km of 50,500 behaves the same as 50,000. Add body.fuel, body.gearbox or body.body_type_id from the same call to narrow further by drivetrain, transmission or body style without a second request.
Sizing and paging a large search with search ids
Send the same filters to autoria-search-ids instead of autoria-search first, and read total_available to see how large the matching set is before deciding whether to page through all of it. body.max_results goes up to 100 here against autoria-search's 40, and each call answers around 3 KB whatever the page size, so paging through thousands of ids this way costs far less than paging the same filters through autoria-search for detailed rows. Raise body.page by one on each call, up to its ceiling of 5,000, until the ids collected across every page reach the total_available that the first call reported.
Turning search ids into full listing detail
Once autoria-search-ids has the ids you want, send them to autoria-listings in batches of up to 25, keeping body.listing_type the same as the search that produced them so each id is read from the namespace it actually came from. Any id that no longer resolves, because a listing was pulled between the two calls, comes back in not_found rather than breaking the batch, so pair results and not_found against the ids you sent to see which ones still answered. For a single id picked out of a result set instead of a whole batch, autoria-listing reads it the same way autoria-listings would, just one at a time.
Layering region, seller and condition filters
Call autoria-regions without body.region to list Ukraine's oblasts, then with one of those oblasts to list its cities; send either an oblast or a city this way as body.region or body.city on autoria-search or autoria-search-ids to narrow a search geographically. Layer these filters onto the same call to narrow further, combining with the region, make, model, price, year and mileage filters already covered, since a single autoria-search or autoria-search-ids call accepts every one of them together:
body.seller_type:privateordealerbody.accident_history:noneorhad_accidentbody.vin_verified:truefor a VIN AUTO.RIA has checked
Comparing used, new and to-order stock in one search
Searching with body.listing_type set to all combines AUTO.RIA's used, new and to-order surfaces into one result set, letting you compare stock across all three without three separate calls. Each row in that combined set still belongs to its own surface underneath, so if you later want to look up one of those rows again directly through autoria-listing rather than autoria-search, send the listing_type that row actually came from rather than leaving it at its used default; autoria-search resolved that automatically while it was searching, but a direct autoria-listing call has to be told.
body.max_results and body.page work the same way under all as they do for any other body.listing_type value, so a combined search still pages 20 rows at a time by default. Sorting still applies across the combined set too: body.sort set to newest surfaces the most recently posted advert first, whichever of the three surfaces it actually came from.
AUTO.RIA explained
A Vehicle Identification Number, or VIN, is a unique code assigned to a motor vehicle that identifies its manufacturer and distinguishes it from every other vehicle built. An oblast is Ukraine's top-level administrative division, comparable to a region or province elsewhere; the country has 24 of them, each split into smaller raions. Analysts who track Ukraine's used-car trade aggregate online listings like AUTO.RIA's to estimate the market's real size and to spot active sellers missing from business registries.
[
{
"body": {
"category": "cars",
"make": "Audi",
"model": "Q7",
"year_from": 2018,
"max_results": 100
}
},
{
"body": {
"listing_ids": "38876558,40419902,40299426"
}
}
]{
"body": {
"category": "cars",
"make": "Audi",
"model": "Q7",
"year_from": 2018,
"year_to": 2024,
"price_from_usd": 5000,
"price_to_usd": 20000,
"fuel": "diesel",
"gearbox": "automatic",
"region": "10",
"sort": "newest",
"max_results": 20
}
}{
"body": {
"region": "10"
}
}Server-side request template
This server-side template shows authentication and request identity using the first operation of this API. Choose the operation for your use case and check its current availability and price on the API page. After a timeout, resend the unchanged request with the same Idempotency-Key.
The gateway request is always POST.
Use a JSON object with the documented path, query, headers and body locations; omit unused locations. input.headers is JSON data for the operation, not browser request headers. Do not put credentials here. Keep body arrays, scalar values and null as documented; omission is different from null.
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/autoria/autoria-listing' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"listing_id":"38876558"}}'Integration checklist
- The API key is stored in a server-side secret manager and never sent to a browser.
- Each request carries its own Idempotency-Key, kept until the request has a final answer.
- The integration reads ok and error.code and handles each error code as the error table describes.
- An uncertain POST is inspected using its original identity, never blindly repeated with a new one.
- The operation’s current availability and price have been checked on its API page.
AUTO.RIA Vehicle Listings API overview and prices · Read the API reference · Try it in the playground