Scraper APIAutotrader
autotrader.search
Cars for sale on Autotrader near a US ZIP code, by make, model, condition, price and year: price, mileage, VIN, specification and the dealer.
- Id
autotrader.search- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/autotrader.search/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
ziprequired | string | The US ZIP code to search around, e.g. 78701.Limit: matches ^\d{5}$. |
make | string | The make as autotrader.com writes it in its addresses, e.g. toyota, land-rover. Empty: every make.Limit: at most 40 characters. |
model | string | The model as autotrader.com writes it in its addresses, e.g. camry, f150, model-3. Needs a make.Limit: at most 40 characters. |
radius | 0 | 10 | 25 | 50 | 75 | 100 | 200 | 300 | 500 | How far from the ZIP code to search, in miles. 0: any distance.Default: 50. |
condition | "all" | "used" | "new" | "certified" | all, used, new or certified (certified pre-owned).Default: "all". |
price_min | integer | The lowest price, in US dollars.Limit: 0 to 10000000. |
price_max | integer | The highest price, in US dollars.Limit: 0 to 10000000. |
year_min | integer | The oldest model year.Limit: 1900 to 2100. |
year_max | integer | The newest model year.Limit: 1900 to 2100. |
sort | "relevance" | "price_low" | "price_high" | "mileage_low" | "mileage_high" | "year_newest" | "year_oldest" | "distance" | "newest_listing" | The order of the results, as the site offers them.Default: "relevance". |
page | integer | The page of the results, from 1. A page holds 25 cars.Limit: 1 to 40. Default: 1. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
listing_id | integer | Autotrader's id of the listing, the number in the car's address. |
url | string | The car's page on autotrader.com. |
title | string | The listing's title, e.g. Used 2025 Toyota Camry LE. |
condition | string or null | used, certified (certified pre-owned) or new, as the listing states it. |
vin | string or null | The vehicle identification number. |
year | integer or null | The model year. |
make | string or null | The make, e.g. Toyota. |
model | string or null | The model, e.g. Camry. |
trim | string or null | The trim, e.g. LE. Null on a search result. |
body_style | string or null | The body style Autotrader files the car under, e.g. SEDAN, SUVCROSS. Null on a search result. |
price | number or null | The asking price, in US dollars, before the dealer's fees that the car's page adds to it (dealer_fees). Null when the dealer asks to be contacted for it. |
currency | string or null | The currency of the price, USD. |
mileage | integer or null | The odometer reading, in miles. |
exterior_color | string or null | The exterior colour as the listing names it, e.g. Ice Cap or White. |
interior_color | string or null | The interior colour, e.g. Black. |
drivetrain | string or null | The drive, e.g. 2 Wheel Drive - Front, 4 wheel drive. |
engine | string or null | The engine as the listing describes it, e.g. Hybrid, 6-Cylinder Turbo. |
transmission | string or null | The transmission, e.g. Continuously Variable Automatic. |
fuel_type | string or null | The fuel, e.g. Gasoline, Hybrid Gas/Electric, Electric. |
fuel_economy | string or null | The fuel economy as printed, e.g. 48 City / 47 Highway. Null when not stated. |
image | string or null | The listing's first photo. |
images | array of string | Every photo of the listing, in order. Empty on a search result, which carries only the first. |
stock_number | string or null | The dealer's stock number for the car. Null on a search result. |
days_on_site | integer or null | How many days the listing has been on Autotrader. Null on a search result. |
deal_rating | string or null | Autotrader's rating of the price against the market, e.g. Great, Good, Fair. Null on a search result and where none is shown. |
kbb_fair_price | number or null | Kelley Blue Book's fair purchase price for the car as the page shows it, in US dollars. Null on a search result. |
kbb_fair_price_low | number or null | The low end of Kelley Blue Book's fair price range, in US dollars. |
kbb_fair_price_high | number or null | The high end of Kelley Blue Book's fair price range, in US dollars. |
dealer_fees | number or null | The dealer's fees the page adds to the price (a documentation fee and the like), in US dollars. Null on a search result. |
description | string or null | The seller's description of the car. Null on a search result. |
features | array of object | The car's features, by group, as its page lists them. Empty on a search result. |
name (in features[]) | string | The group as the car's page heads it, e.g. exterior, interior, safety, technology. |
features (in features[]) | array of string | The features listed under it, e.g. Backup Camera, Heated Mirrors. |
history | array of string | What the free history summary on the page states, as Autotrader codes it, e.g. NO_ACCIDENTS_REPORTED, NO_SALVAGE_TITLE, ONE_OWNER. Empty on a search result. |
open_recalls | integer or null | How many open safety recalls the page reports for the car. Null on a search result. |
dealer_name | string or null | The selling dealer's name. |
dealer_phone | string or null | The dealer's phone number as the listing gives it, digits only. Autotrader shows tracked numbers, so the same dealer's number can differ between a search result and the car's page. |
dealer_street | string or null | The dealer's street address. |
dealer_city | string or null | The dealer's city. |
dealer_state | string or null | The dealer's state, as a two-letter code. |
dealer_postal_code | string or null | The dealer's ZIP code. |
dealer_rating | number or null | The dealer's average review rating out of 5. Null on a search result. |
dealer_review_count | integer or null | How many reviews the dealer's rating is from. Null on a search result. |
dealer_latitude | number or null | The dealer's latitude. Null on a search result. |
dealer_longitude | number or null | The dealer's longitude. Null on a search result. |
fetched_at | string (date-time) | When the listing was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/autotrader.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"zip":"78701","make":"toyota","model":"camry"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("autotrader.search", {
"zip": "78701",
"make": "toyota",
"model": "camry",
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("autotrader.search", {
zip: "78701",
make: "toyota",
model: "camry",
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "autotrader.search", map[string]any{"zip": "78701", "make": "toyota", "model": "camry"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("autotrader.search", Map.of("zip", "78701", "make", "toyota", "model", "camry"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run autotrader.search --input-json '{"zip":"78701","make":"toyota","model":"camry"}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"zip": "78701",
"make": "toyota",
"model": "camry"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "autotrader.search",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"zip": "78701",
"make": "toyota",
"model": "camry"
},
"record_count": 1,
"units": 1,
"units_per_request": 1,
"units_per_record": null,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"listing_id": 796203422,
"url": "https://www.autotrader.com/cars-for-sale/vehicle/796203422",
"title": "Used 2025 Toyota Camry LE",
"condition": "used",
"vin": "4T1DAACK3SU595175",
"year": 2025,
"make": "Toyota",
"model": "Camry",
"trim": null,
"body_style": null,
"price": 27115,
"currency": "USD",
"mileage": 11564,
"exterior_color": "White",
"interior_color": "Black",
"drivetrain": "2 Wheel Drive - Front",
"engine": "Hybrid",
"transmission": "Continuously Variable Automatic",
"fuel_type": "Hybrid Gas/Electric",
"fuel_economy": null,
"image": "https://images.autotrader.com/hn/c/625b3b3a8f124e9d884248258c647a04.jpg",
"images": [],
"stock_number": null,
"days_on_site": null,
"deal_rating": null,
"kbb_fair_price": null,
"kbb_fair_price_low": null,
"kbb_fair_price_high": null,
"dealer_fees": null,
"description": null,
"features": [],
"history": [],
"open_recalls": null,
"dealer_name": "Group 1 Toyota North Austin",
"dealer_phone": "7378430244",
"dealer_street": "8400 Research Boulevard",
"dealer_city": "Austin",
"dealer_state": "TX",
"dealer_postal_code": "78758",
"dealer_rating": null,
"dealer_review_count": null,
"dealer_latitude": null,
"dealer_longitude": null,
"fetched_at": "2026-11-19T18:07:39.000637Z"
}
],
"next_cursor": null
}A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Autotrader scrapers are in their own section there.