APIs / AutoTrader UK / Search
AutoTrader UK: Search
Search from AutoTrader UK as JSON. 1 credit per successful call.
GET /v1/autotrader-uk/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
postcode | string | Required | Up to 8 characters |
price_search_type | string | Optional | total, monthly |
make | string | Optional | Up to 100 characters |
model | string | Optional | Up to 100 characters |
body_type | string | Optional | Up to 100 characters |
colour | string | Optional | Up to 100 characters |
transmission | string | Optional | Up to 100 characters |
seller_type | string | Optional | private, trade |
fuel_type[] | list of string | Optional | Up to 50 characters |
min_price | integer | Optional | Any |
max_price | integer | Optional | Any |
min_year_manufactured | integer | Optional | Any |
max_year_manufactured | integer | Optional | Any |
min_mileage | integer | Optional | Any |
max_mileage | integer | Optional | Any |
distance | integer | Optional | Any |
sort | string | Optional | relevance, price_asc, price_desc, distance, mileage, year_dsc, year_asc, most_recent |
page | integer | Optional | Any |
Example request
AutoTrader UK
GET/v1/autotrader-uk/search?postcode=SW1A1AA&price_search_type=total&make=BMW&page=1&sort=relevance
{
"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"
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.listings has these 19 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
advert_id | string |
type | string |
title | string |
sub_title | string |
attention_grabber | string |
price | object |
vehicle_location | string |
location_type | string |
distance | object |
images | string[] |
number_of_images | integer |
seller_type | string |
dealer_link | string |
fpa_link | string |
has_digital_retailing | boolean |
pre_reg | boolean |
dealer_review | object |
position | integer |
tracking_context | object |