Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    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.

    Inputs of autotrader.search
    FieldTypeDescription
    ziprequiredstringThe US ZIP code to search around, e.g. 78701.Limit: matches ^\d{5}$.
    makestringThe make as autotrader.com writes it in its addresses, e.g. toyota, land-rover. Empty: every make.Limit: at most 40 characters.
    modelstringThe model as autotrader.com writes it in its addresses, e.g. camry, f150, model-3. Needs a make.Limit: at most 40 characters.
    radius0 | 10 | 25 | 50 | 75 | 100 | 200 | 300 | 500How 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_minintegerThe lowest price, in US dollars.Limit: 0 to 10000000.
    price_maxintegerThe highest price, in US dollars.Limit: 0 to 10000000.
    year_minintegerThe oldest model year.Limit: 1900 to 2100.
    year_maxintegerThe 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".
    pageintegerThe 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.

    Record fields of autotrader.search
    FieldTypeNotes
    listing_idintegerAutotrader's id of the listing, the number in the car's address.
    urlstringThe car's page on autotrader.com.
    titlestringThe listing's title, e.g. Used 2025 Toyota Camry LE.
    conditionstring or nullused, certified (certified pre-owned) or new, as the listing states it.
    vinstring or nullThe vehicle identification number.
    yearinteger or nullThe model year.
    makestring or nullThe make, e.g. Toyota.
    modelstring or nullThe model, e.g. Camry.
    trimstring or nullThe trim, e.g. LE. Null on a search result.
    body_stylestring or nullThe body style Autotrader files the car under, e.g. SEDAN, SUVCROSS. Null on a search result.
    pricenumber or nullThe 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.
    currencystring or nullThe currency of the price, USD.
    mileageinteger or nullThe odometer reading, in miles.
    exterior_colorstring or nullThe exterior colour as the listing names it, e.g. Ice Cap or White.
    interior_colorstring or nullThe interior colour, e.g. Black.
    drivetrainstring or nullThe drive, e.g. 2 Wheel Drive - Front, 4 wheel drive.
    enginestring or nullThe engine as the listing describes it, e.g. Hybrid, 6-Cylinder Turbo.
    transmissionstring or nullThe transmission, e.g. Continuously Variable Automatic.
    fuel_typestring or nullThe fuel, e.g. Gasoline, Hybrid Gas/Electric, Electric.
    fuel_economystring or nullThe fuel economy as printed, e.g. 48 City / 47 Highway. Null when not stated.
    imagestring or nullThe listing's first photo.
    imagesarray of stringEvery photo of the listing, in order. Empty on a search result, which carries only the first.
    stock_numberstring or nullThe dealer's stock number for the car. Null on a search result.
    days_on_siteinteger or nullHow many days the listing has been on Autotrader. Null on a search result.
    deal_ratingstring or nullAutotrader'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_pricenumber or nullKelley 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_lownumber or nullThe low end of Kelley Blue Book's fair price range, in US dollars.
    kbb_fair_price_highnumber or nullThe high end of Kelley Blue Book's fair price range, in US dollars.
    dealer_feesnumber or nullThe dealer's fees the page adds to the price (a documentation fee and the like), in US dollars. Null on a search result.
    descriptionstring or nullThe seller's description of the car. Null on a search result.
    featuresarray of objectThe car's features, by group, as its page lists them. Empty on a search result.
    name (in features[])stringThe group as the car's page heads it, e.g. exterior, interior, safety, technology.
    features (in features[])array of stringThe features listed under it, e.g. Backup Camera, Heated Mirrors.
    historyarray of stringWhat 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_recallsinteger or nullHow many open safety recalls the page reports for the car. Null on a search result.
    dealer_namestring or nullThe selling dealer's name.
    dealer_phonestring or nullThe 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_streetstring or nullThe dealer's street address.
    dealer_citystring or nullThe dealer's city.
    dealer_statestring or nullThe dealer's state, as a two-letter code.
    dealer_postal_codestring or nullThe dealer's ZIP code.
    dealer_ratingnumber or nullThe dealer's average review rating out of 5. Null on a search result.
    dealer_review_countinteger or nullHow many reviews the dealer's rating is from. Null on a search result.
    dealer_latitudenumber or nullThe dealer's latitude. Null on a search result.
    dealer_longitudenumber or nullThe dealer's longitude. Null on a search result.
    fetched_atstring (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:

    JSON
    {
      "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.

    JSON
    {
      "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.

    JSON
    {
      "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.