Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APICopart

    copart.search

    Vehicle auction lots on Copart by words or by make, model and years: damage, title, odometer, current bid, buy-it-now price, auction date and yard.

    Id
    copart.search
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/copart.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 copart.search
    FieldTypeDescription
    querystringWords, as typed in Copart's search box, e.g. toyota camry, tesla, or a VIN. Copart matches any of the words and puts the closest lots first.Limit: at least 1 characters, at most 200 characters.
    makestringOnly lots of this make, e.g. Honda.Limit: at least 1 characters, at most 40 characters.
    modelstringOnly lots of this model of the make, e.g. Civic.Limit: at least 1 characters, at most 40 characters.
    year_fromintegerOnly lots of this model year or later.Limit: 1900 to 2100.
    year_tointegerOnly lots of this model year or earlier.Limit: 1900 to 2100.
    pageintegerThe page of results, from 1.Limit: 1 to 500. Default: 1.
    per_pageintegerLots a page: 20, 50 or 100, as Copart offers.Default: 20.

    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 copart.search
    FieldTypeNotes
    lot_numberstringCopart's lot number, as in the lot's address.
    urlstringThe address of the lot's page on copart.com.
    titlestringThe lot's title, as Copart writes it, e.g. 2023 TOYOTA COROLLA LE.
    yearinteger or nullThe model year.
    makestring or nullThe make, as Copart writes it, e.g. TOYOTA.
    modelstring or nullThe model, e.g. COROLLA.
    trimstring or nullThe trim or series, e.g. LE.
    vehicle_typestring or nullThe kind of vehicle, as Copart files it, e.g. AUTOMOBILE, MOTORCYCLE.
    vinstring or nullThe vehicle identification number as Copart shows it to a visitor, its last characters hidden (5YFB4MDE2PP******).
    odometernumber or nullThe odometer reading Copart lists (miles on Copart's US site).
    odometer_statusstring or nullWhat Copart says of that reading, e.g. ACTUAL, NOT ACTUAL, EXEMPT.
    primary_damagestring or nullThe main damage, as Copart lists it, e.g. FRONT END.
    secondary_damagestring or nullThe second damage, where Copart lists one.
    highlightsstring or nullCopart's mark for the lot's condition, e.g. RUNS AND DRIVES, ENHANCED VEHICLES.
    title_typestring or nullThe ownership document, as Copart names it, e.g. CERTIFICATE OF TITLE.
    title_groupstring or nullThe group that document falls in, e.g. CLEAN TITLE, SALVAGE TITLE.
    title_statestring or nullThe state or province that issued it, as a two-letter code.
    sale_statusstring or nullHow the lot is sold, as Copart prints it, e.g. Pure Sale (no reserve), Minimum Bid, On Approval.
    current_bidnumber or nullThe current bid, in currency.
    buy_it_now_pricenumber or nullThe price at which the lot can be bought now, where Copart offers that.
    estimated_retail_valuenumber or nullCopart's estimate of the vehicle's retail value, where it gives one.
    currencystring or nullThe ISO 4217 code of the bids' currency, e.g. USD.
    auction_datestring (date-time) or nullWhen the lot's auction starts, in UTC. Null for a lot not yet given a sale date.
    soldboolean or nullWhether the lot has been sold.
    yardstring or nullThe Copart yard that holds the vehicle, e.g. CT - HARTFORD SPRINGFIELD.
    citystring or nullThe town of that yard.
    statestring or nullThe state or province of that yard, as a two-letter code.
    postal_codestring or nullThe postal code of that yard, e.g. 06026-9765.
    countrystring or nullThe yard's country, as Copart writes it, e.g. USA, CAN.
    latitudenumber or nullThe latitude of that yard.
    longitudenumber or nullThe longitude of that yard.
    lanestring or nullThe lane of the auction the lot is in.
    item_numberinteger or nullThe lot's item number in that lane.
    body_stylestring or nullThe body style, e.g. SEDAN, 4DR SPOR.
    colorstring or nullThe colour.
    enginestring or nullThe engine, as listed, e.g. 2.0L 4.
    cylindersstring or nullThe number of cylinders, as listed.
    transmissionstring or nullThe transmission, e.g. AUTOMATIC.
    drivestring or nullThe drive, e.g. FRONT WHEEL DRIVE.
    fuelstring or nullThe fuel, e.g. GAS, ELECTRIC.
    has_keysboolean or nullWhether the vehicle comes with keys.
    imagestring or nullThe lot's first picture, small.
    positionintegerThe lot's place in the results, from 1, counting on across pages.
    fetched_atstring (date-time)When the results were 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/copart.search/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"make":"Honda","model":"Civic","year_from":2019,"year_to":2020}}'
    
    # 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("copart.search", {
        "make": "Honda",
        "model": "Civic",
        "year_from": 2019,
        "year_to": 2020,
    })
    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("copart.search", {
      make: "Honda",
      model: "Civic",
      year_from: 2019,
      year_to: 2020,
    });
    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, "copart.search", map[string]any{"make": "Honda", "model": "Civic", "year_from": 2019, "year_to": 2020})
    	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("copart.search", Map.of("make", "Honda", "model", "Civic", "year_from", 2019, "year_to", 2020));
            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 copart.search --input make=Honda --input model=Civic --input year_from=2019 --input year_to=2020

    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": {
        "make": "Honda",
        "model": "Civic",
        "year_from": 2019,
        "year_to": 2020
      }
    }

    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": "copart.search",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "make": "Honda",
        "model": "Civic",
        "year_from": 2019,
        "year_to": 2020
      },
      "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": [
        {
          "lot_number": "69460776",
          "url": "https://www.copart.com/lot/69460776/salvage-2020-honda-civic-sport-il-chicago-north",
          "title": "2020 HONDA CIVIC SPORT",
          "year": 2020,
          "make": "HONDA",
          "model": "CIVIC",
          "trim": "SPORT",
          "vehicle_type": "AUTOMOBILE",
          "vin": "SHHFK7H4XLU******",
          "odometer": 86941,
          "odometer_status": "ACTUAL",
          "primary_damage": "ROLLOVER",
          "secondary_damage": null,
          "highlights": "ENHANCED VEHICLES",
          "title_type": "SALVAGE CERTIFICATE",
          "title_group": "SALVAGE TITLE",
          "title_state": "IL",
          "sale_status": "Pure Sale",
          "current_bid": 500,
          "buy_it_now_price": null,
          "estimated_retail_value": 17085,
          "currency": "USD",
          "auction_date": "2026-11-19T18:00:00Z",
          "sold": false,
          "yard": "IL - CHICAGO NORTH",
          "city": "ELGIN",
          "state": "IL",
          "postal_code": "60120-7419",
          "country": "USA",
          "latitude": 42.01272,
          "longitude": -88.23522,
          "lane": "F",
          "item_number": 6176,
          "body_style": "HATCHBACK",
          "color": "WHITE",
          "engine": "1.5L 4",
          "cylinders": "4",
          "transmission": "ECVT AUTOMATIC",
          "drive": "FRONT WHEEL DRIVE",
          "fuel": "GAS",
          "has_keys": true,
          "image": "https://cs.copart.com/v1/AUTH_svc.pdoc00001/lpp/1026/874445f84f59482caae43dbeb1e2b5d2_thb.jpg",
          "position": 1,
          "fetched_at": "2026-11-19T21:56:19.707221Z"
        }
      ],
      "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 Copart scrapers are in their own section there.