Autotrader Search API
The Autotrader Search API returns the new and used cars Autotrader.com lists for a search in the US, nationwide or around a ZIP code. Each car comes with its price with and without dealer fees, its MSRP when new, Kelley Blue Book's fair purchase price, Autotrader's deal rating and the price history, the mileage, model year, trim, VIN, fuel, drivetrain, colours, fuel economy, the certification programme, history report highlights with a link to the AutoCheck report, the opening of the seller's description, photos, the seller with whether the dealer delivers to the buyer's home, the location, and its distance from the ZIP code. The filters block lists the values each filter parameter takes, including the makes, models and trims the search accepts. A result's link or id gets the car's details page from the Autotrader Listing API.
API Parameters
Search Query
-
- Name
-
make - Required
- Optional
- Description
-
Parameter defines the vehicle makes to search, comma-separated, such as
toyotaorhonda,toyota. It takes Autotrader's make names or codes, as themakegroup offilterslists them. An unknown make returns an error naming the closest Autotrader makes.
-
- Name
-
model - Required
- Optional
- Description
-
Parameter defines the vehicle models to search, comma-separated, up to 20, such as
camryoraccord,camry. It requiresmake, and each name or code is matched within the listed makes, as themodelgroup offilterslists them. A shared name selects every matching make. Values such asFORD|GTselect only that make's model. A listed make no model narrows is searched in full. An unknown model returns an error naming the closest models of the listed makes.
-
- Name
-
trim - Required
- Optional
- Description
-
Parameter defines the trims to search, comma-separated, up to 20, such as
LEorLE,SE. It requiresmodeland takes the trim names thetrimgroup offilterslists for the listed models. Trims are case-sensitive. Withziporseller_id, a trim narrows the listed models with cars of that trim (when none has any, the listed models that offer it). Without either, it narrows every listed model that offers it. A listed model no trim narrows is searched in full. A trim none of the listed models offers returns an error naming it, as do more model and trim pairs than Autotrader accepts in one search.
-
- Name
-
q - Required
- Optional
- Description
-
Parameter defines keywords to match in the listing, such as
sunroof, up to 100 characters. A car must match every word.
Geographic Location
-
- Name
-
zip - Required
- Optional
- Description
-
Parameter defines the 5-digit US ZIP code to search around, such as
10001. Without it, the search covers the whole US, and the options infilterscarry no counts unlessseller_idis set. A ZIP code Autotrader cannot place returns an error.
-
- Name
-
radius - Required
- Optional
- Description
-
Parameter defines the distance around
zipin miles, from 0 to 500, where0sets no distance limit. It requireszip. Cars a dealer delivers can sit slightly beyond it. The default parameter is25.
Sorting
-
- Name
-
sort_by - Required
- Optional
- Description
-
Parameter defines the result order, one of
best_match,price_asc,price_desc,distance,newest,oldest,mileage_asc,mileage_desc,model_year_ascandmodel_year_desc.distancerequireszip. The price orders follow the displayed price, dealer fees included. The default parameter isbest_match.
Filters
-
- Name
-
condition - Required
- Optional
- Description
-
Parameter defines the conditions to include, comma-separated, from
new,used,manufacturer_certifiedandthird_party_certified.usedalso returns certified cars.
-
- Name
-
seller_type - Required
- Optional
- Description
-
Parameter defines whether to list the cars of dealers only,
dealer, or of private sellers only,private.
-
- Name
-
seller_id - Required
- Optional
- Description
-
Parameter defines the Autotrader seller id whose cars to list, a whole number up to 2147483647, such as the
seller.idof a result. An id Autotrader has no seller for returns an error.
-
- Name
-
price_min - Required
- Optional
- Description
-
Parameter defines the lowest displayed price in US dollars, dealer fees included, up to 10,000,000.
-
- Name
-
price_max - Required
- Optional
- Description
-
Parameter defines the highest displayed price in US dollars, dealer fees included, up to 10,000,000.
-
- Name
-
mileage_min - Required
- Optional
- Description
-
Parameter defines the lowest mileage in miles, up to 2,000,000.
-
- Name
-
mileage_max - Required
- Optional
- Description
-
Parameter defines the highest mileage in miles, up to 2,000,000.
-
- Name
-
model_year_min - Required
- Optional
- Description
-
Parameter defines the earliest model year, from 1900 to next year.
-
- Name
-
model_year_max - Required
- Optional
- Description
-
Parameter defines the latest model year, from 1900. A year after next year searches up to next year.
-
- Name
-
fuel_type - Required
- Optional
- Description
-
Parameter defines the fuel types to include, comma-separated, from
petrol,diesel,electric,hybrid,plug_in_hybridandhydrogen.hybridalso returns plug-in hybrids.
-
- Name
-
transmission - Required
- Optional
- Description
-
Parameter defines the transmissions to include, comma-separated, from
automaticandmanual.
-
- Name
-
body_type - Required
- Optional
- Description
-
Parameter defines the body types to include, comma-separated, from
convertible,coupe,hatchback,sedan,suv,pickup,vanandstation_wagon.
-
- Name
-
drivetrain - Required
- Optional
- Description
-
Parameter defines the drivetrains to include, comma-separated, from
all_wheel,frontandrear.
-
- Name
-
color - Required
- Optional
- Description
-
Parameter defines the exterior colours to include, comma-separated, from
beige,black,blue,brown,burgundy,charcoal,gold,grey,green,off_white,orange,pink,violet,red,silver,tan,turquoise,whiteandyellow.
-
- Name
-
interior_color - Required
- Optional
- Description
-
Parameter defines the interior colours to include, comma-separated, from
beige,black,blue,brown,burgundy,charcoal,gold,grey,green,off_white,orange,pink,violet,red,silver,tan,turquoise,whiteandyellow.
-
- Name
-
cylinders - Required
- Optional
- Description
-
Parameter defines the cylinder counts to include, comma-separated, from
3,4,5,6,8,10,12and16.
-
- Name
-
doors_min - Required
- Optional
- Description
-
Parameter defines the fewest doors, from 2 to 5.
-
- Name
-
doors_max - Required
- Optional
- Description
-
Parameter defines the most doors, from 2 to 5.
-
- Name
-
mpg_highway_min - Required
- Optional
- Description
-
Parameter defines the lowest highway fuel economy in miles per gallon, one of
10,20,30and40.
-
- Name
-
price_level - Required
- Optional
- Description
-
Parameter defines the Autotrader deal ratings to include, comma-separated, from
topandgood.topis a Great Price andgooda Good Price.
-
- Name
-
vehicle_history - Required
- Optional
- Description
-
Parameter defines the vehicle history a car must have, comma-separated, from
no_accidents,one_owner,clean_title,no_frame_damageandfree_report. A car must have all of them.
-
- Name
-
equipment - Required
- Optional
- Description
-
Parameter defines Autotrader equipment ids, comma-separated, such as
1313for Adaptive Cruise Control. Theequipmentgroup offilterslists the ids Autotrader offers for the search, with their names and any counts Autotrader gives, and the Autotrader Listing API gives a car's ids invehicle.equipment. A car must have all of them. An unknown id returns an error naming the closest ids.
Pagination
-
- Name
-
page - Required
- Optional
- Description
-
Parameter defines the page of results. Autotrader serves the first 325 cars of a search at the default
num, so the last page is 13 at the defaultnumand 4 atnum=100. Narrow the search with filters to reach more cars. The default parameter is1.
-
- Name
-
num - Required
- Optional
- Description
-
Parameter defines the number of cars per page, from 1 to 100. The default parameter is
25.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
autotrader_search.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?engine=autotrader_search&make=toyota&model=camry&seller_type=dealer&sort_by=price_desc&zip=10001
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "autotrader_search",
"make": "toyota",
"model": "camry",
"zip": "10001",
"seller_type": "dealer",
"sort_by": "price_desc"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_SL0GS2Lgux7EldYdJZMJwGnW",
"status": "Success",
"created_at": "2026-11-30T19:41:47Z",
"request_time_taken": 1.76,
"parsing_time_taken": 0.07,
"total_time_taken": 1.83,
"request_url": "https://www.autotrader.com/cars-for-sale/all-cars?zip=10001&searchRadius=25&makeCode=TOYOTA&modelCod...",
"html_url": "https://www.searchapi.io/api/v1/searches/search_SL0GS2Lgux7EldYdJZMJwGnW.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_SL0GS2Lgux7EldYdJZMJwGnW"
},
"search_parameters": {
"engine": "autotrader_search",
"sort_by": "price_desc",
"num": "25",
"radius": "25",
"zip": "10001",
"make": "toyota",
"model": "camry",
"seller_type": "dealer"
},
"search_information": {
"total_results": 591,
"total_pages": 13,
"page": 1,
"results_on_page": 25
},
"filters": [
{
"key": "make",
"type": "Make",
"options": [
{
"text": "Acura",
"value": "Acura",
"count": 2658
},
"..."
]
},
"..."
],
"organic_results": [
{
"position": 1,
"id": "794877987",
"title": "New 2027 Toyota Camry XSE w/ Premium Package",
"snippet": "Discover Westchester Toyota: Yonkers' Top Toyota Destination INFO ABOUT THIS VEHICLE: This beautiful 02YJ HEAVY METAL M 2027 Toyota Camry XS...",
"link": "https://www.autotrader.com/cars-for-sale/vehicle/794877987",
"price": "$46,796",
"extracted_price": 46796,
"currency": "USD",
"price_before_fees": "$46,621",
"extracted_price_before_fees": 46621,
"estimated_value": {
"value": 45200,
"low": 44000,
"high": 46300
},
"msrp": "$46,621",
"extracted_msrp": 46621,
"days_on_market": 32,
"condition": "new",
"model_year": 2027,
"make": "Toyota",
"make_id": "TOYOTA",
"model": "Camry",
"model_id": "CAMRY",
"trim": "XSE",
"vin": "4T1DBADK5VU075611",
"mileage": "10 mi",
"extracted_mileage": 10,
"mileage_unit": "mi",
"body_type": "sedan",
"body_type_label": "Sedan",
"body_subtype": "Midsize",
"fuel_type": "hybrid",
"fuel_type_label": "Hybrid Gas/Electric",
"transmission": "automatic",
"transmission_label": "Continuously Variable Automatic",
"drivetrain": "all_wheel",
"drivetrain_label": "All wheel drive",
"motor": "Hybrid",
"doors": 4,
"manufacturer_color": "Two-tone Color",
"interior_color": "red",
"interior_color_label": "Red",
"fuel_economy": {
"city": 43,
"highway": 43,
"unit": "mpg"
},
"battery_type": "Lithium-Ion",
"packages": [
"Premium Package"
],
"is_accident_free": true,
"has_clean_title": true,
"stock_number": "WT270029",
"extracted_distance": 17.59,
"distance_unit": "mi",
"seller": {
"id": "96919",
"type": "dealer",
"name": "Westchester Toyota",
"phones": [
"9143615925"
],
"rating": 4.6,
"reviews": 3238,
"website": "https://www.westchestertoyota.com/viewdetails/new/4t1dbadk5vu075611/2027-toyota-camry-4dr-car?type=c...",
"logo": "https://assets.cai-media-management.com/dealership/f4478f1a-f91a-4fe9-ac01-6563d829995a.jpg"
},
"location": {
"street": "2167 Central Park Avenue",
"city": "Yonkers",
"state": "NY",
"zip": "10710",
"latitude": 40.972424,
"longitude": -73.835625
},
"thumbnail": "https://images.autotrader.com/hn/c/440361a7735644cc9d1430d7f781fa0e.jpg",
"images": [
"https://images.autotrader.com/hn/c/440361a7735644cc9d1430d7f781fa0e.jpg"
]
},
"..."
],
"pagination": {
"current_page": 1,
"total_pages": 13,
"next_page": 2
}
}