1 credit per call6 endpoints19 datapointsChecked working 6 Dec 2026
AutoTrader UK API
AutoTrader UK API for car search by postcode, adverts, dealers, dealer stock, facets and taxonomy as JSON. Six endpoints, 1 credit per successful call.
{
"success": true,
"data": {
"listings": [
{
"advert_id": "202610227244889",
"type": "NATURAL_LISTING",
"title": "BMW X5",
"sub_title": "3.0d SE Exclusive Edition Auto 4WD Euro 4 5dr",
"attention_grabber": "12 MONTHS MOT | EXTENSIVE HIST",
"price": {
"amount": 2700,
"currency": "GBP",
"display": "£2,700"
},
"vehicle_location": "Crawley (27 miles)",
"location_type": "STANDARD",
"distance": {
"value": 27,
"unit": "miles"
},
"images": [
"https://m.atcdn.co.uk/a/media/{resize}/0c0688ab2d564da695f83178d62a546c.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/47c0209db39d4428a45c88e07c02d009.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/91799836f2eb480280593aa6a5d78eb1.jpg"
],
"number_of_images": 16,
"seller_type": "PRIVATE",
"dealer_link": "",
"fpa_link": "/car-details/202610227244889?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6",
"has_digital_retailing": false,
"pre_reg": false,
"dealer_review": {},
"position": 1,
"tracking_context": {
"price": 2700,
"make": "BMW",
"model": "X5",
"year": 2005,
"condition": "used",
"price_indicator": "NOANALYSIS"
}
},
{
"advert_id": "202606063062554",
"type": "NATURAL_LISTING",
"title": "BMW 5 Series",
"sub_title": "2.0 518d SE Euro 6 (s/s) 4dr",
"attention_grabber": "",
"price": {
"amount": 2200,
"currency": "GBP",
"display": "£2,200"
},
"vehicle_location": "London (2 miles)",
"location_type": "STANDARD",
"distance": {
"value": 2,
"unit": "miles"
},
"images": [
"https://m.atcdn.co.uk/a/media/{resize}/1e3ed5d54c9145a18980973bc22e2208.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/cb701ead90bb4aba89c1e4e67133cc42.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/b1e014ffc7034cd783a0b36d9ea7fbec.jpg"
],
"number_of_images": 14,
"seller_type": "PRIVATE",
"dealer_link": "",
"fpa_link": "/car-details/202606063062554?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6",
"has_digital_retailing": false,
"pre_reg": false,
"dealer_review": {},
"position": 2,
"tracking_context": {
"price": 2200,
"make": "BMW",
"model": "5 Series",
"year": 2014,
"condition": "used",
"price_indicator": "NOANALYSIS"
}
},
{
"advert_id": "202610076769720",
"type": "NATURAL_LISTING",
"title": "BMW 3 Series",
"sub_title": "2.0 318Ci 318 Sport Auto 2dr",
"attention_grabber": "",
"price": {
"amount": 1100,
"currency": "GBP",
"display": "£1,100"
},
"vehicle_location": "Stepney (4 miles)",
"location_type": "STANDARD",
"distance": {
"value": 4,
"unit": "miles"
},
"images": [
"https://m.atcdn.co.uk/a/media/{resize}/ffd4885940034a9a942cc496f295a9a4.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/a2f6f511ee434cf28068f6b19786a00b.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/446408cbe38f41d6b3822690ce519ef3.jpg"
],
"number_of_images": 17,
"seller_type": "PRIVATE",
"dealer_link": "",
"fpa_link": "/car-details/202610076769720?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6",
"has_digital_retailing": false,
"pre_reg": false,
"dealer_review": {},
"position": 3,
"tracking_context": {
"price": 1100,
"make": "BMW",
"model": "3 Series",
"year": 2003,
"condition": "used",
"price_indicator": "NOANALYSIS"
}
}
],
"pagination": {
"page": 1,
"page_count": 2146,
"total_results": 42916,
"has_more": true
}
},
"meta": {
"duration_ms": 1129,
"endpoint_family": "search"
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | advert_idstring | typestring | titlestring | sub_titlestring | attention_grabberstring | priceobject | vehicle_locationstring | location_typestring | distanceobject | imagesstring[] | number_of_imagesinteger | seller_typestring | dealer_linkstring | fpa_linkstring | has_digital_retailingboolean | pre_regboolean | dealer_reviewobject | positioninteger | tracking_contextobject |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 202610227244889 | NATURAL_LISTING | BMW X5 | 3.0d SE Exclusive Edition Auto 4WD Euro 4 5dr | 12 MONTHS MOT | EXTENSIVE HIST | {3 fields} | Crawley (27 miles) | STANDARD | {2 fields} | [3 items] | 16 | PRIVATE | /car-details/202610227244889?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6 | false | false | {0 fields} | 1 | {6 fields} | |
| 2 | 202606063062554 | NATURAL_LISTING | BMW 5 Series | 2.0 518d SE Euro 6 (s/s) 4dr | {3 fields} | London (2 miles) | STANDARD | {2 fields} | [3 items] | 14 | PRIVATE | /car-details/202606063062554?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6 | false | false | {0 fields} | 2 | {6 fields} | ||
| 3 | 202610076769720 | NATURAL_LISTING | BMW 3 Series | 2.0 318Ci 318 Sport Auto 2dr | {3 fields} | Stepney (4 miles) | STANDARD | {2 fields} | [3 items] | 17 | PRIVATE | /car-details/202610076769720?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6 | false | false | {0 fields} | 3 | {6 fields} |
[
{
"advert_id": "202610227244889",
"type": "NATURAL_LISTING",
"title": "BMW X5",
"sub_title": "3.0d SE Exclusive Edition Auto 4WD Euro 4 5dr",
"attention_grabber": "12 MONTHS MOT | EXTENSIVE HIST",
"price": {
"amount": 2700,
"currency": "GBP",
"display": "£2,700"
},
"vehicle_location": "Crawley (27 miles)",
"location_type": "STANDARD",
"distance": {
"value": 27,
"unit": "miles"
},
"images": [
"https://m.atcdn.co.uk/a/media/{resize}/0c0688ab2d564da695f83178d62a546c.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/47c0209db39d4428a45c88e07c02d009.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/91799836f2eb480280593aa6a5d78eb1.jpg"
],
"number_of_images": 16,
"seller_type": "PRIVATE",
"dealer_link": "",
"fpa_link": "/car-details/202610227244889?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6",
"has_digital_retailing": false,
"pre_reg": false,
"dealer_review": {},
"position": 1,
"tracking_context": {
"price": 2700,
"make": "BMW",
"model": "X5",
"year": 2005,
"condition": "used",
"price_indicator": "NOANALYSIS"
}
},
{
"advert_id": "202606063062554",
"type": "NATURAL_LISTING",
"title": "BMW 5 Series",
"sub_title": "2.0 518d SE Euro 6 (s/s) 4dr",
"attention_grabber": "",
"price": {
"amount": 2200,
"currency": "GBP",
"display": "£2,200"
},
"vehicle_location": "London (2 miles)",
"location_type": "STANDARD",
"distance": {
"value": 2,
"unit": "miles"
},
"images": [
"https://m.atcdn.co.uk/a/media/{resize}/1e3ed5d54c9145a18980973bc22e2208.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/cb701ead90bb4aba89c1e4e67133cc42.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/b1e014ffc7034cd783a0b36d9ea7fbec.jpg"
],
"number_of_images": 14,
"seller_type": "PRIVATE",
"dealer_link": "",
"fpa_link": "/car-details/202606063062554?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6",
"has_digital_retailing": false,
"pre_reg": false,
"dealer_review": {},
"position": 2,
"tracking_context": {
"price": 2200,
"make": "BMW",
"model": "5 Series",
"year": 2014,
"condition": "used",
"price_indicator": "NOANALYSIS"
}
},
{
"advert_id": "202610076769720",
"type": "NATURAL_LISTING",
"title": "BMW 3 Series",
"sub_title": "2.0 318Ci 318 Sport Auto 2dr",
"attention_grabber": "",
"price": {
"amount": 1100,
"currency": "GBP",
"display": "£1,100"
},
"vehicle_location": "Stepney (4 miles)",
"location_type": "STANDARD",
"distance": {
"value": 4,
"unit": "miles"
},
"images": [
"https://m.atcdn.co.uk/a/media/{resize}/ffd4885940034a9a942cc496f295a9a4.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/a2f6f511ee434cf28068f6b19786a00b.jpg",
"https://m.atcdn.co.uk/a/media/{resize}/446408cbe38f41d6b3822690ce519ef3.jpg"
],
"number_of_images": 17,
"seller_type": "PRIVATE",
"dealer_link": "",
"fpa_link": "/car-details/202610076769720?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6",
"has_digital_retailing": false,
"pre_reg": false,
"dealer_review": {},
"position": 3,
"tracking_context": {
"price": 1100,
"make": "BMW",
"model": "3 Series",
"year": 2003,
"condition": "used",
"price_indicator": "NOANALYSIS"
}
}
]advert_id,type,title,sub_title,attention_grabber,price,vehicle_location,location_type,distance,images,number_of_images,seller_type,dealer_link,fpa_link,has_digital_retailing,pre_reg,dealer_review,position,tracking_context
202610227244889,NATURAL_LISTING,BMW X5,3.0d SE Exclusive Edition Auto 4WD Euro 4 5dr,12 MONTHS MOT | EXTENSIVE HIST,"{""amount"":2700,""currency"":""GBP"",""display"":""£2,700""}",Crawley (27 miles),STANDARD,"{""value"":27,""unit"":""miles""}","[""https://m.atcdn.co.uk/a/media/{resize}/0c0688ab2d564da695f83178d62a546c.jpg"",""https://m.atcdn.co.uk/a/media/{resize}/47c0209db39d4428a45c88e07c02d009.jpg"",""https://m.atcdn.co.uk/a/media/{resize}/91799836f2eb480280593aa6a5d78eb1.jpg""]",16,PRIVATE,,/car-details/202610227244889?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6,false,false,{},1,"{""price"":2700,""make"":""BMW"",""model"":""X5"",""year"":2005,""condition"":""used"",""price_indicator"":""NOANALYSIS""}"
202606063062554,NATURAL_LISTING,BMW 5 Series,2.0 518d SE Euro 6 (s/s) 4dr,,"{""amount"":2200,""currency"":""GBP"",""display"":""£2,200""}",London (2 miles),STANDARD,"{""value"":2,""unit"":""miles""}","[""https://m.atcdn.co.uk/a/media/{resize}/1e3ed5d54c9145a18980973bc22e2208.jpg"",""https://m.atcdn.co.uk/a/media/{resize}/cb701ead90bb4aba89c1e4e67133cc42.jpg"",""https://m.atcdn.co.uk/a/media/{resize}/b1e014ffc7034cd783a0b36d9ea7fbec.jpg""]",14,PRIVATE,,/car-details/202606063062554?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6,false,false,{},2,"{""price"":2200,""make"":""BMW"",""model"":""5 Series"",""year"":2014,""condition"":""used"",""price_indicator"":""NOANALYSIS""}"
202610076769720,NATURAL_LISTING,BMW 3 Series,2.0 318Ci 318 Sport Auto 2dr,,"{""amount"":1100,""currency"":""GBP"",""display"":""£1,100""}",Stepney (4 miles),STANDARD,"{""value"":4,""unit"":""miles""}","[""https://m.atcdn.co.uk/a/media/{resize}/ffd4885940034a9a942cc496f295a9a4.jpg"",""https://m.atcdn.co.uk/a/media/{resize}/a2f6f511ee434cf28068f6b19786a00b.jpg"",""https://m.atcdn.co.uk/a/media/{resize}/446408cbe38f41d6b3822690ce519ef3.jpg""]",17,PRIVATE,,/car-details/202610076769720?sort=relevance&searchId=07b3f6d8-f090-4951-ba5f-0a9b8fc1bfa6,false,false,{},3,"{""price"":1100,""make"":""BMW"",""model"":""3 Series"",""year"":2003,""condition"":""used"",""price_indicator"":""NOANALYSIS""}"Recorded from our API · 3 items shown · 19 datapoints per itemGET /v1/autotrader-uk/search?postcode=SW1A1AA&price_search_type=total&make=BMW&page=1&sort=relevance
19 datapoints
Identity
- advert_idstring
- typestring
- titlestring
- sub_titlestring
Contact
- seller_typestring
- dealer_linkstring
- fpa_linkstring
Location
- vehicle_locationstring
- location_typestring
Reputation
- imagesstring[]
- number_of_imagesinteger
- dealer_reviewobject
Price
- priceobject
Other
- attention_grabberstring
- distanceobject
- has_digital_retailingboolean
- pre_regboolean
- positioninteger
- tracking_contextobject
Playground
Run this API
curl "https://api.perceptlayer.com/v1/autotrader-uk/search?postcode=SW1A1AA&price_search_type=total&make=BMW&page=1&sort=relevance" \
-H "X-API-Key: $API_KEY"AutoTrader UK · 6 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/autotrader-uk/dealer | retailer_id | dealer | 1 credit |
GET/v1/autotrader-uk/dealer-listings | postcoderetailer_id+17 optional | advert_idtypetitlesub_titleattention_grabberprice+13 more | 1 credit |
GET/v1/autotrader-uk/facets | postcode+5 optional | namestatustitleclear_button_label | 1 credit |
GET/v1/autotrader-uk/listing | advert_id | listing | 1 credit |
GET/v1/autotrader-uk/search | postcode+17 optional | advert_idtypetitlesub_titleattention_grabberprice+13 more | 1 credit |
GET/v1/autotrader-uk/taxonomy | postcode+1 optional | labelvaluecount | 1 credit |
Overview
About the AutoTrader UK API
What you can get
The AutoTrader UK API returns UK car listings from AutoTrader UK as JSON through 6 endpoints. Searches are anchored to a UK postcode. It is separate from the Autotrader API, which returns recent listings and search options, and from the AutoTrader.ca API, which searches by Canadian province.
- Search:
searchtakes apostcodeandprice_search_type(total or monthly), withmake,model,body_type,colour,transmission,seller_type(private or trade),fuel_type[],min_price,max_price,min_year_manufactured,max_year_manufactured,min_mileage,max_mileage,distance,sortandpage. - Adverts:
listingtakes anadvert_id. - Dealers:
dealertakes aretailer_id;dealer-listingstakes aretailer_idandpostcode, with the same filters assearch. - Facets and taxonomy:
facetstakes apostcode, withprice_search_type,facets[],make,modelandsort;taxonomytakes apostcode, withmake.
sort accepts relevance, price_asc, price_desc, distance, mileage, year_dsc, year_asc and most_recent.
How a call works
Search near a postcode: GET /v1/autotrader-uk/search?postcode=SW1A1AA&price_search_type=total&make=BMW&page=1&sort=relevance with your key in the X-API-Key header. The recorded call returns listings with advert_id, title, sub_title, price (amount, currency GBP, display), vehicle_location, distance and seller_type, plus pagination showing 42,916 total_results over 2,146 pages. Page with page. Each listing carries an advert_id, the same name as the parameter listing takes. Every successful call costs 1 credit; failed calls cost nothing.
More cars APIs
Use cases
Track asking prices for a make and model around a UK postcode
Use the AutoTrader UK API to track asking prices for a make and model around a UK postcodeCompare total and monthly pricing with `price_search_type`
Use the AutoTrader UK API to compare total and monthly pricing with `price_search_type`Monitor one dealer's stock by `retailer_id`
Use the AutoTrader UK API to monitor one dealer's stock by `retailer_id`Split private and trade supply with `seller_type`
Use the AutoTrader UK API to split private and trade supply with `seller_type`FAQ
Questions
Do I need an AutoTrader UK API key?
No. You call this AutoTrader UK API with your Perceptlayer key in the `X-API-Key` header, with no AutoTrader UK account or login.
How much does the AutoTrader UK 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.
Can I get one dealer's listings?
Yes. `dealer-listings` takes a dealer's `retailer_id` and a `postcode`, with the same filters, `sort` and `page` as `search`. `dealer` takes the same `retailer_id` on its own.
Is this the official AutoTrader UK API?
No. Perceptlayer is an independent service and is not affiliated with AutoTrader UK. It returns AutoTrader UK data as JSON with a Perceptlayer key, so there is no AutoTrader UK developer account, app review or partner approval to get first. It only reads data: if AutoTrader UK has an official API and you need to act on your own AutoTrader UK account, such as posting, managing orders or reading private data, use that one.
Should I build an AutoTrader UK scraper instead?
You can, but an AutoTrader UK scraper is code you maintain: page changes break it, requests get blocked, and AutoTrader UK's terms govern how you collect data. The AutoTrader UK API gives you 6 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 AutoTrader UK API with 100 free credits
No credit card. Failed calls are never billed.