Search BMW and Audi in Spain and resolve each vehicle listing
The Autocasion API searches native BMW and Audi vehicle result pages in Spain and retrieves meaningful detail for each returned canonical listing ID.
2 active endpoints. Every call is 3 credits.
- POST/autocasion/v1/search
- POST/autocasion/v1/listing
What Autocasion Spain endpoints does ReefAPI ship?
2 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.
Autocasion Spain API
2 of 2 endpoints, ready to run
Search BMW vehicle listings
// Press "Try it" and this pane shows exactly what the // live site returned this second — including an empty // result, if that is the truth. No key, no account.
How the Autocasion Spain API works
Autocasion Spain is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.
No OAuth app, no request signing, no per-site account. One key covers all 491 engines.
Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.
Credits, not seats. Failed and blocked calls are never charged, and cache hits cost nothing.
One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.
Carry the canonical ID from search into vehicle detail
Keep the cash amount, currency and financing fields distinct.
Read native items, matching total and next_page. id is the full canonical listing URL.
Retrieve the same vehicle, published cash price, equipment and optional seller narrative.
Follow the next native window; promoted listings may recur and page sizes can vary.
Linked Spanish vehicle records with EUR cash-price context and meaningful specifications, including source Km0 vehicles.
curl -X POST https://api.reefapi.com/autocasion/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"bmw","page":1}'{
"ok": true,
"data": { … },
"meta": {
"api": "autocasion",
"endpoint": "search",
"mode": "live",
"latency_ms": …,
"record_count": …
},
"error": null
}Preserve listing identity and cash-price context
Canonical IDs resolve directly, while different payment amounts remain separate.
| Field | Meaning | Limit |
|---|---|---|
| id + url | Complete canonical source vehicle URL | Pass id unchanged to listing; do not pass source_id alone |
| source_id | Numeric native advertisement reference | Retained for source identity checks and joins |
| price + currency + price_basis | Published cash asking amount in EUR, with cash basis | Not the financing amount, original new-car price or final invoice total |
| financed_price + price_details | Separate financing amount and published detail price labels | Financing conditions remain source-specific |
| vehicle + basic_details + equipment | Published vehicle metadata and visible facts | Missing auxiliary facts are not invented; visible facts remain available beside metadata |
| description | Published seller narrative when present | Null is valid when the seller publishes no comment |
| total + next_page + page_clamped | Matching count, native next window and clamp status | Promoted records may recur and native windows can vary in size |
A zero-result page can show recommendations; these are excluded from items. Published availability is not independent physical-stock verification.
Spain, qualified native brands and price context
BMW first-result Km0 and Audi used-vehicle pairs were checked against published source fields.
bmw and audi native brand queries; Spain; used and returned Km0 advertisements
Canonical URL id resolves statelessly; numeric source_id retained separately
Cash asking amount in EUR; financing and original new-car price labels kept separate
Vehicle metadata, visible facts, equipment, primary photo and available public seller fields; narrative can be null
Native page/next_page and clamp reporting; recommendations excluded; exhaustive enumeration not guaranteed
Other brands, arbitrary keywords, advanced filters, full galleries, GTIN, accounts, contact actions and new-car catalog services
What people build with Autocasion Spain
The jobs this data is most often used for.
endpoints
credits per call
Compare BMW and Audi cash asking amounts in Spain.
Resolve canonical listing IDs to published vehicle specifications.
Keep financing amounts separate in price comparison datasets.
Inspect source Km0 and used vehicle facts without requiring seller comments.
What Autocasion Spain data costs
The cheapest call here is 3 credits, so $15/mo (Pro) buys 3,333 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.
Full pricing →- 1,000 free credits on signup, no card
- One key, all 491 APIs, one credit pool
- Failed and blocked calls are never charged
- Credits roll over and never expire
Call it in two lines
Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.
curl -X POST https://api.reefapi.com/autocasion/v1/search \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"query":"bmw","page":1}'import requests
r = requests.post(
"https://api.reefapi.com/autocasion/v1/search",
headers={"x-api-key": REEF_KEY},
json={
"query": "bmw",
"page": 1
},
)
print(r.json()["data"])Have a question? We got answers.
The questions people actually ask before wiring up Autocasion Spain.
Get a free key →Which searches are supported?▾
The qualified native brand queries are bmw and audi. Other brands, arbitrary keywords and advanced filters are outside this release.
How do I retrieve a search result?▾
Pass the exact canonical URL returned in id to listing. source_id contains the separate numeric advertisement reference and is not a standalone lookup input.
Are Km0 vehicles supported?▾
Yes. Source Km0 advertisements returned in the native brand results resolve to meaningful vehicle detail, including when the seller publishes no narrative comment.
Which price should I compare?▾
price is the published cash asking amount in EUR. financed_price is separate. Original new-car prices and financing conditions do not replace the cash amount.
Can description be null?▾
Yes. No comment was published for a verified Km0 listing. Model, year, mileage, visible facts, equipment and cash-price information remain available.
Does paging preserve the source result window?▾
Yes. The API follows the native page and next_page. Window sizes can vary with promoted placements; exhaustive deep enumeration is not guaranteed.
What happens for empty or deleted listings?▾
A genuine zero result returns items[] and total zero, excluding recommendation cards. A missing source vehicle returns NOT_FOUND; access and transport failures remain explicit errors.
Which optional features are excluded?▾
GTIN, complete photo galleries and auxiliary fill, other brands, advanced filters, seller inventory, account services, transactions and new-car catalog actions are excluded.
What is the Autocasion Spain API?▾
Autocasion Spain API is a ReefAPI endpoint group for spanish bmw and audi listings with native eur cash prices, separate financing amounts and meaningful vehicle details. It returns live JSON through POST requests under /autocasion/v1.
Is the Autocasion Spain API free to try?▾
Yes. ReefAPI starts with 1,000 free credits, no card required. Autocasion Spain calls use the same shared credit balance as every other ReefAPI engine.
Do I need an Autocasion Spain login or account?▾
No login to Autocasion Spain is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Autocasion Spain data?▾
The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Autocasion Spain API use?▾
Autocasion Spain actions currently cost 3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Autocasion Spain from an AI assistant or MCP client?▾
Yes. Connect ReefAPI once through MCP and your assistant can call autocasion actions with the same key, credit pool and JSON envelope used by normal REST requests.
107 Classifieds & Second-hand APIs on the same key
One key, one credit pool, one response envelope. If you are pulling Autocasion Spain, you are one call away from the rest of the category — no second contract, no second integration.
Need something this API does not do?
Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.
Try it on your own data before you pay anything
The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 490 APIs, and the same envelope everywhere.
Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-10-03.