# 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.

Copart search, one of the Copart scrapers.

| | |
| --- | --- |
| 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](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | no | 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 | no | Only lots of this make, e.g. `Honda`. Limit: at least 1 characters, at most 40 characters. |
| `model` | string | no | Only lots of this model of the make, e.g. `Civic`. Limit: at least 1 characters, at most 40 characters. |
| `year_from` | integer | no | Only lots of this model year or later. Limit: 1900 to 2100. |
| `year_to` | integer | no | Only lots of this model year or earlier. Limit: 1900 to 2100. |
| `page` | integer | no | The page of results, from 1. Limit: 1 to 500. Default: `1`. |
| `per_page` | integer | no | 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

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
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}}'
```

## 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](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Copart scrapers](https://docs.enrichednow.com/results-and-statuses.md#copart) are in their own section there.
