Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APICopart

    copart.lot

    One vehicle lot on Copart: damage, title, odometer, current bid, buy-it-now price, estimated retail value, auction date, yard, particulars and pictures.

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

    Start it with POST /v1/scrapers/copart.lot/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.lot
    FieldTypeDescription
    lotrequiredstringThe lot number, e.g. 69359986, or the lot's address (https://www.copart.com/lot/69359986/…). copart.search returns both.Limit: at least 5 characters, at most 500 characters.

    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.lot
    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.
    imagesarray of stringThe lot's pictures, large, in Copart's order.
    updated_atstring (date-time) or nullWhen Copart last changed the lot, in UTC.
    fetched_atstring (date-time)When the lot 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/copart.lot/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"lot":"69359986"}}'
    
    # 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.lot", {"lot": "69359986"})
    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.lot", { lot: "69359986" });
    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.lot", map[string]any{"lot": "69359986"})
    	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.lot", Map.of("lot", "69359986"));
            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.lot --input-json '{"lot":"69359986"}'

    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": {
        "lot": "69359986"
      }
    }

    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.lot",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "lot": "69359986"
      },
      "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": "69359986",
          "url": "https://www.copart.com/lot/69359986/clean-title-2023-toyota-corolla-le-ct-hartford-springfield",
          "title": "2023 TOYOTA COROLLA LE",
          "year": 2023,
          "make": "TOYOTA",
          "model": "COROLLA",
          "trim": null,
          "vehicle_type": "AUTOMOBILE",
          "vin": "5YFB4MDE2PP******",
          "odometer": 101725,
          "odometer_status": "ACTUAL",
          "primary_damage": "FRONT END",
          "secondary_damage": "SIDE",
          "highlights": "ENHANCED VEHICLES",
          "title_type": "CERTIFICATE OF TITLE",
          "title_group": "CLEAN TITLE",
          "title_state": "VA",
          "sale_status": "Minimum Bid",
          "current_bid": 4600,
          "buy_it_now_price": null,
          "estimated_retail_value": 16524,
          "currency": "USD",
          "auction_date": "2026-11-19T15:00:00Z",
          "sold": false,
          "yard": "CT - HARTFORD SPRINGFIELD",
          "city": "EAST GRANBY",
          "state": "CT",
          "postal_code": "06026-9765",
          "country": "USA",
          "latitude": 41.94396,
          "longitude": -72.70064,
          "lane": "B",
          "item_number": 2869,
          "body_style": "SEDAN",
          "color": "WHITE",
          "engine": "2.0L 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/0926/aeb113b929ec468e847324dcef80a075_thb.jpg",
          "images": [
            "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0926/aeb113b929ec468e847324dcef80a075_hrs.jpg",
            "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0926/c28ac6d13e674d7599cd9c9b0d9c758f_hrs.jpg",
            "https://cs.copart.com/v1/AUTH_svc.pdoc00001/ids-c-prod-lpp/0926/4707f6ecf2b640988c3a6c57210de524_hrs.jpg"
          ],
          "updated_at": "2026-11-18T20:49:25Z",
          "fetched_at": "2026-11-19T21:56:19.704486Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: images: 13 items, the first 3 shown.

    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.