1 credit per call2 endpoints17 datapointsChecked working 6 Dec 2026
Autohero API
Autohero API for used-car search by brand, model, price, mileage and year, plus single car details, as JSON. Two endpoints, 1 credit per successful call.
{
"success": true,
"data": {
"country": "DE",
"total": 676,
"offset": 0,
"limit": 2,
"has_more": true,
"next_offset": 2,
"cars": [
{
"id": "a1417faf-934d-4b00-a508-80d43fa38495",
"stock_number": "AB16135",
"brand": "BMW",
"model": "1er",
"variant": "116i",
"first_registration_year": 2015,
"price": {
"amount": 9060,
"currency": "EUR",
"monthly_payment": 176
},
"mileage": {
"distance": 101217,
"unit": "km"
},
"power_kw": 80,
"engine_ccm": 1499,
"co2": 123,
"accidents": 1,
"damages": 7,
"drive_train": "back-wheel",
"image_url": "https://img-eu-c1.autohero.com/img/aac23d535104558e167b8082353fbe7fc801b89df80479bf7e7e09b0ef6e9483/exterior/1/890c50cb9bbc4f399c90054566a7b509.jpg",
"url": "https://www.autohero.com/de/bmw-1-er/id/a1417faf-934d-4b00-a508-80d43fa38495/",
"published_at": "2026-10-21T04:39:11Z"
},
{
"id": "70e06ca2-4a3d-4f96-bb6f-29782dae9e9f",
"stock_number": "LG19764",
"brand": "BMW",
"model": "2er",
"variant": "214d Active Tourer",
"first_registration_year": 2016,
"price": {
"amount": 9780,
"currency": "EUR",
"monthly_payment": 190
},
"mileage": {
"distance": 81515,
"unit": "km"
},
"power_kw": 70,
"engine_ccm": 1496,
"co2": 99,
"accidents": 0,
"damages": 20,
"drive_train": "front-wheel",
"image_url": "https://img-eu-c1.autohero.com/img/18ff41027e97448a2c366663decd14111d8b1a686cce119869aa4ea0e664b8b3/exterior/1/043a8c7c9f1a4a3ea74075c0536cd7f3.jpg",
"url": "https://www.autohero.com/de/bmw-2-er/id/70e06ca2-4a3d-4f96-bb6f-29782dae9e9f/",
"published_at": "2026-10-09T07:26:55Z"
}
]
},
"meta": {
"endpoint_family": "search"
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 2 items.
| # | idstring | stock_numberstring | brandstring | modelstring | variantstring | first_registration_yearinteger | priceobject | mileageobject | power_kwinteger | engine_ccminteger | co2integer | accidentsinteger | damagesinteger | drive_trainstring | image_urlurl | urlurl | published_atstring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | a1417faf-934d-4b00-a508-80d43fa38495 | AB16135 | BMW | 1er | 116i | 2015 | {3 fields} | {2 fields} | 80 | 1499 | 123 | 1 | 7 | back-wheel | https://img-eu-c1.autohero.com/img/aac23d535104558e167b8082353fbe7fc801b89df80479bf7e7e09b0ef6e9483/exterior/1/890c50cb9bbc4f399c90054566a7b509.jpg | https://www.autohero.com/de/bmw-1-er/id/a1417faf-934d-4b00-a508-80d43fa38495/ | 2026-10-21T04:39:11Z |
| 2 | 70e06ca2-4a3d-4f96-bb6f-29782dae9e9f | LG19764 | BMW | 2er | 214d Active Tourer | 2016 | {3 fields} | {2 fields} | 70 | 1496 | 99 | 0 | 20 | front-wheel | https://img-eu-c1.autohero.com/img/18ff41027e97448a2c366663decd14111d8b1a686cce119869aa4ea0e664b8b3/exterior/1/043a8c7c9f1a4a3ea74075c0536cd7f3.jpg | https://www.autohero.com/de/bmw-2-er/id/70e06ca2-4a3d-4f96-bb6f-29782dae9e9f/ | 2026-10-09T07:26:55Z |
[
{
"id": "a1417faf-934d-4b00-a508-80d43fa38495",
"stock_number": "AB16135",
"brand": "BMW",
"model": "1er",
"variant": "116i",
"first_registration_year": 2015,
"price": {
"amount": 9060,
"currency": "EUR",
"monthly_payment": 176
},
"mileage": {
"distance": 101217,
"unit": "km"
},
"power_kw": 80,
"engine_ccm": 1499,
"co2": 123,
"accidents": 1,
"damages": 7,
"drive_train": "back-wheel",
"image_url": "https://img-eu-c1.autohero.com/img/aac23d535104558e167b8082353fbe7fc801b89df80479bf7e7e09b0ef6e9483/exterior/1/890c50cb9bbc4f399c90054566a7b509.jpg",
"url": "https://www.autohero.com/de/bmw-1-er/id/a1417faf-934d-4b00-a508-80d43fa38495/",
"published_at": "2026-10-21T04:39:11Z"
},
{
"id": "70e06ca2-4a3d-4f96-bb6f-29782dae9e9f",
"stock_number": "LG19764",
"brand": "BMW",
"model": "2er",
"variant": "214d Active Tourer",
"first_registration_year": 2016,
"price": {
"amount": 9780,
"currency": "EUR",
"monthly_payment": 190
},
"mileage": {
"distance": 81515,
"unit": "km"
},
"power_kw": 70,
"engine_ccm": 1496,
"co2": 99,
"accidents": 0,
"damages": 20,
"drive_train": "front-wheel",
"image_url": "https://img-eu-c1.autohero.com/img/18ff41027e97448a2c366663decd14111d8b1a686cce119869aa4ea0e664b8b3/exterior/1/043a8c7c9f1a4a3ea74075c0536cd7f3.jpg",
"url": "https://www.autohero.com/de/bmw-2-er/id/70e06ca2-4a3d-4f96-bb6f-29782dae9e9f/",
"published_at": "2026-10-09T07:26:55Z"
}
]id,stock_number,brand,model,variant,first_registration_year,price,mileage,power_kw,engine_ccm,co2,accidents,damages,drive_train,image_url,url,published_at
a1417faf-934d-4b00-a508-80d43fa38495,AB16135,BMW,1er,116i,2015,"{""amount"":9060,""currency"":""EUR"",""monthly_payment"":176}","{""distance"":101217,""unit"":""km""}",80,1499,123,1,7,back-wheel,https://img-eu-c1.autohero.com/img/aac23d535104558e167b8082353fbe7fc801b89df80479bf7e7e09b0ef6e9483/exterior/1/890c50cb9bbc4f399c90054566a7b509.jpg,https://www.autohero.com/de/bmw-1-er/id/a1417faf-934d-4b00-a508-80d43fa38495/,2026-10-21T04:39:11Z
70e06ca2-4a3d-4f96-bb6f-29782dae9e9f,LG19764,BMW,2er,214d Active Tourer,2016,"{""amount"":9780,""currency"":""EUR"",""monthly_payment"":190}","{""distance"":81515,""unit"":""km""}",70,1496,99,0,20,front-wheel,https://img-eu-c1.autohero.com/img/18ff41027e97448a2c366663decd14111d8b1a686cce119869aa4ea0e664b8b3/exterior/1/043a8c7c9f1a4a3ea74075c0536cd7f3.jpg,https://www.autohero.com/de/bmw-2-er/id/70e06ca2-4a3d-4f96-bb6f-29782dae9e9f/,2026-10-09T07:26:55ZRecorded 12 Nov 2026 · 2 items shown · 17 datapoints per itemGET /v1/autohero/search?country=DE&brand=BMW&sort=lowest_price&limit=2
17 datapoints
Identity
- idstring
- brandstring
Contact
- image_urlurl
- urlurl
Price
- priceobject
Other
- stock_numberstring
- modelstring
- variantstring
- first_registration_yearinteger
- mileageobject
- power_kwinteger
- engine_ccminteger
- co2integer
- accidentsinteger
- damagesinteger
- drive_trainstring
- published_atstring
Playground
Run this API
curl "https://api.perceptlayer.com/v1/autohero/search?country=DE&brand=BMW&sort=lowest_price&limit=2" \
-H "X-API-Key: $API_KEY"Autohero · 2 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/autohero/car | id | car | 1 credit |
GET/v1/autohero/search | none+10 optional | idstock_numberbrandmodelvariantfirst_registration_year+11 more | 1 credit |
Overview
About the Autohero API
What you can get
The Autohero API returns Autohero used-car data as JSON through 2 endpoints.
- Search:
searchtakescountry(DE, AT, FR, ES, IT, PL, BE or NL),brandandmodel, withprice_min,price_max,mileage_max,year_min,sort,limitandoffset. - Cars:
cartakes a carid.
sort accepts lowest_price, highest_price, lowest_mileage, highest_mileage, brand_asc, brand_desc, newest_eligible and most_popular.
How a call works
Search one market: GET /v1/autohero/search?country=DE&brand=BMW&sort=lowest_price&limit=2 with your key in the X-API-Key header. Page with limit and offset. Fetch a single car with GET /v1/autohero/car?id=4d5cb184-ac32-4a64-82ee-0c3280b5117f. Every successful call costs 1 credit; failed calls cost nothing.
More cars APIs
Use cases
Compare stock for one brand and model across the eight `country` codes
Use the Autohero API to compare stock for one brand and model across the eight `country` codesTrack the cheapest cars for a model with `sort=lowest_price`
Use the Autohero API to track the cheapest cars for a model with `sort=lowest_price`Find cars under a mileage cap with `mileage_max`
Use the Autohero API to find cars under a mileage cap with `mileage_max`Filter stock by price band and minimum year for valuation work
Use the Autohero API to filter stock by price band and minimum year for valuation workFAQ
Questions
Do I need an Autohero API key?
No. You call this Autohero API with your Perceptlayer key in the `X-API-Key` header, so there's no separate Autohero account to set up.
How much does the Autohero API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Which markets can I search?
`search` takes a `country` code: DE, AT, FR, ES, IT, PL, BE or NL. Call it once per code to compare the same brand and model across markets.
Is this the official Autohero API?
No. Perceptlayer is an independent service and is not affiliated with Autohero. It returns Autohero data as JSON with a Perceptlayer key, so there is no Autohero developer account, app review or partner approval to get first. It only reads data: if Autohero has an official API and you need to act on your own Autohero account, such as posting, managing orders or reading private data, use that one.
Should I build an Autohero scraper instead?
You can, but an Autohero scraper is code you maintain: page changes break it, requests get blocked, and Autohero's terms govern how you collect data. The Autohero API gives you 2 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Autohero API with 100 free credits
No credit card. Failed calls are never billed.