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.
| Field | Type | Description |
|---|---|---|
lotrequired | string | The 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.
| Field | Type | Notes |
|---|---|---|
lot_number | string | Copart's lot number, as in the lot's address. |
url | string | The address of the lot's page on copart.com. |
title | string | The lot's title, as Copart writes it, e.g. 2023 TOYOTA COROLLA LE. |
year | integer or null | The model year. |
make | string or null | The make, as Copart writes it, e.g. TOYOTA. |
model | string or null | The model, e.g. COROLLA. |
trim | string or null | The trim or series, e.g. LE. |
vehicle_type | string or null | The kind of vehicle, as Copart files it, e.g. AUTOMOBILE, MOTORCYCLE. |
vin | string or null | The vehicle identification number as Copart shows it to a visitor, its last characters hidden (5YFB4MDE2PP******). |
odometer | number or null | The odometer reading Copart lists (miles on Copart's US site). |
odometer_status | string or null | What Copart says of that reading, e.g. ACTUAL, NOT ACTUAL, EXEMPT. |
primary_damage | string or null | The main damage, as Copart lists it, e.g. FRONT END. |
secondary_damage | string or null | The second damage, where Copart lists one. |
highlights | string or null | Copart's mark for the lot's condition, e.g. RUNS AND DRIVES, ENHANCED VEHICLES. |
title_type | string or null | The ownership document, as Copart names it, e.g. CERTIFICATE OF TITLE. |
title_group | string or null | The group that document falls in, e.g. CLEAN TITLE, SALVAGE TITLE. |
title_state | string or null | The state or province that issued it, as a two-letter code. |
sale_status | string or null | How the lot is sold, as Copart prints it, e.g. Pure Sale (no reserve), Minimum Bid, On Approval. |
current_bid | number or null | The current bid, in currency. |
buy_it_now_price | number or null | The price at which the lot can be bought now, where Copart offers that. |
estimated_retail_value | number or null | Copart's estimate of the vehicle's retail value, where it gives one. |
currency | string or null | The ISO 4217 code of the bids' currency, e.g. USD. |
auction_date | string (date-time) or null | When the lot's auction starts, in UTC. Null for a lot not yet given a sale date. |
sold | boolean or null | Whether the lot has been sold. |
yard | string or null | The Copart yard that holds the vehicle, e.g. CT - HARTFORD SPRINGFIELD. |
city | string or null | The town of that yard. |
state | string or null | The state or province of that yard, as a two-letter code. |
postal_code | string or null | The postal code of that yard, e.g. 06026-9765. |
country | string or null | The yard's country, as Copart writes it, e.g. USA, CAN. |
latitude | number or null | The latitude of that yard. |
longitude | number or null | The longitude of that yard. |
lane | string or null | The lane of the auction the lot is in. |
item_number | integer or null | The lot's item number in that lane. |
body_style | string or null | The body style, e.g. SEDAN, 4DR SPOR. |
color | string or null | The colour. |
engine | string or null | The engine, as listed, e.g. 2.0L 4. |
cylinders | string or null | The number of cylinders, as listed. |
transmission | string or null | The transmission, e.g. AUTOMATIC. |
drive | string or null | The drive, e.g. FRONT WHEEL DRIVE. |
fuel | string or null | The fuel, e.g. GAS, ELECTRIC. |
has_keys | boolean or null | Whether the vehicle comes with keys. |
image | string or null | The lot's first picture, small. |
images | array of string | The lot's pictures, large, in Copart's order. |
updated_at | string (date-time) or null | When Copart last changed the lot, in UTC. |
fetched_at | string (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:
{
"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.
{
"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.
{
"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.