Start an AutoScout24 API flow with country and make
Treat the country edition as part of the vehicle selection, not just the language of the interface. Germany is selected when the country is omitted; send it explicitly when the workflow needs to preserve a user's edition across calls. A brand picker and a model picker can then share that country context.
- Call
autoscout24-makesfor the selected country and present each brand'snamewhile retaining itsslug. - Send the selected slug as
body.maketoautoscout24-modelsin that edition. - Keep the returned individual models separate from the model-group and model-line collections when building the next selection.
A model choice can use its slug or numeric identifier. The same choice needs its make when it reaches search, so store the brand together with the chosen model rather than only keeping the visible label.
Add filter options without confusing them with browse links
Use autoscout24-filter-options when a search form needs filter dimensions and their option codes. Keep each option with the dimension it belongs to: fuel choices feed the fuel input, transmission choices feed the transmission input and body styles feed the body-style input. Providing the selected make narrows the option lookup to that brand.
For a navigation-led interface, call autoscout24-browse-links instead. Its groups organise paths through cities, body styles, model lines and top models.
Preserve those navigation groupings rather than using them as substitutes for the filter-code collection. Both calls can be scoped by make and country, which lets a brand-specific browsing view and a brand-specific search form begin from the same user selection without treating their different results as interchangeable records.
Build a vehicle selection with the intended model scope
Choose between an individual model and a model family before adding the vehicle ranges. A Volkswagen Golf model search spans the Golf range in Germany but the Golf model itself in Austria and Italy. For the wider family, use the group selection; if both model and group are sent, the model must belong to that group and both need the make.
- Set budget thresholds in local currency, mileage thresholds in kilometres and power thresholds in kilowatts.
- Use the year range for first registration, keeping it distinct from how recently an offer was listed.
- Add seller and offer categories independently, such as a private seller selection alongside a used-car selection.
For multiple fuel categories, combine their codes with commas. Named fuel alternatives are also accepted, while gearbox and body-style selections describe separate vehicle attributes. These choices narrow the vehicle set rather than selecting its display order.
Combine geographic search with a deliberate ordering
A geographic selection starts with a postal code in the chosen country edition. Pair that centre with a radius in kilometres; when the radius is omitted, the search uses 200 km.
The search operation refuses a postal centre it cannot recognise. Home-delivery offers can appear beyond the selected radius, so keep that behaviour in mind when explaining a location-based result to a user.
Distance ordering needs the postal centre. Choose age ordering to put newly listed offers first, or year ordering to order by first registration instead.
Price, mileage and power sorts use their respective attributes, with descending controlling the direction. Keep ordering separate from the super-deal switch: that switch narrows the vehicle set to offers marked as priced well below market, while sorting arranges the selected offers.
Continue a search and account for ignored filter values
Read the returned page information with the listing cards. The current page locates the displayed slice, and the matching total and page count describe the selected result set.
When has_more indicates continuation, use next_page as body.page while keeping the selection and ordering unchanged. This is paged browsing, so treat each returned list as a page rather than the whole selection.
An invalid page is ignored and falls back to the default page. An unrecognised sort key yields 0 rows; invalid direction values use default behaviour, as do invalid range bounds, fuel, transmission, body style, seller category and offer category. Invalid radius and super-deal values are ignored too.
By contrast, an unrecognised make or model is refused. Keep selected values with their meanings so an ignored bound is not mistaken for a requested restriction that took effect.
Move from an offer to its detail and the seller's inventory
Use the search result's URL or path to open autoscout24-listing. A relative path can go in the URL or path input, and a listing identifier is another locator. The resulting listing joins vehicle information and prices with equipment, images, seller, leasing and warranty information; retain the country context when opening a selected offer.
- Read the customer identifier from that offer's seller block.
- Send it as
body.cidtoautoscout24-seller-listings;body.seller_idis an interchangeable alternative name. - Continue that seller's offers with the returned
next_pagewhile retaining the seller and country selection.
The inventory result has its own current page, total and page count. Its invalid page input falls back to the default page. Keep the seller identifier distinct from the vehicle locator, since switching between them changes what the next call selects.
[
{"body": {"country": "de"}},
{"body": {"country": "de", "make": "volkswagen"}}
]{
"body": {
"country": "de",
"make": "bmw"
}
}{
"body": {
"country": "at",
"make": "volkswagen",
"model": "golf",
"seller_type": "P",
"price_min": 5000,
"price_max": 30000,
"sort": "price",
"page": 1
}
}{
"body": {
"country": "de",
"url": "/angebote/bmw-318-318i-touring-attiva-benzin-cat_ma13mo1640-fb7acb22-cce5-4ab1-8340-7dbe9160bca9"
}
}{
"body": {
"country": "de",
"cid": "12345",
"page": 1
}
}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/autoscout24/autoscout24-browse-links' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"make":"bmw"}}'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.
AutoScout24 API overview and prices · Read the API reference · Try it in the playground