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.
| Field | Type | Description |
|---|---|---|
query | string | Words, 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. |
make | string | Only lots of this make, e.g. Honda.Limit: at least 1 characters, at most 40 characters. |
model | string | Only lots of this model of the make, e.g. Civic.Limit: at least 1 characters, at most 40 characters. |
year_from | integer | Only lots of this model year or later.Limit: 1900 to 2100. |
year_to | integer | Only lots of this model year or earlier.Limit: 1900 to 2100. |
page | integer | The page of results, from 1.Limit: 1 to 500. Default: 1. |
per_page | integer | Lots 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.
| 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. |
position | integer | The lot's place in the results, from 1, counting on across pages. |
fetched_at | string (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=2020Install 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": {
"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.
{
"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.
{
"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.