# Copart Scraper - Auction Lots, Damage, Bids, Yards (`fabrikit/copart-scraper`) Actor

Scrape Copart public auction lots: lot number, year, make, model, damage, odometer, title type, yard location, sale date, current bid, buy-it-now price, retail value and image. Filter by make, year, title, damage. From US$1.00 per 1,000 lots.

- **URL**: https://apify.com/fabrikit/copart-scraper.md
- **Developed by:** [Fabrikit](https://apify.com/fabrikit) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 lot scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Copart Scraper

Scrape public vehicle auction lots from Copart (copart.com, US) by make, model, year, title type, damage, yard or keyword. Each lot comes with the lot number, vehicle details, damage, odometer, title, yard location with coordinates, sale date, current bid, buy-it-now price, estimated retail value, repair cost and a thumbnail. No login, no browser.

### What you get

`lotNumber`, `url`, `vin` (partially masked by Copart), `year`, `make`, `model`, `trim`, `description`, `vehicleType`, `bodyStyle`, `color`, `engine`, `cylinders`, `fuel`, `transmission`, `driveType`, `odometer`, `odometerStatus`, `primaryDamage`, `secondaryDamage`, `titleType`, `titleGroup`, `titleState`, `hasKeys`, `lotCondition`, `yardName`, `yardNumber`, `city`, `state`, `zip`, `country`, `latitude`, `longitude`, `saleDate` (ISO, UTC), `timeZone`, `saleStatus`, `currentBid`, `buyItNowPrice`, `estimatedRetailValue`, `repairCost`, `currency`, `thumbnailUrl`, `searchQuery`, `scrapedAt`.

Example (trimmed):

```json
{
  "lotNumber": "68244746",
  "url": "https://www.copart.com/lot/68244746/salvage-2018-honda-accord-sport-ky-earlington",
  "year": 2018, "make": "HONDA", "model": "ACCORD", "trim": "SPORT",
  "odometer": 39549, "primaryDamage": "FRONT END", "titleGroup": "SALVAGE TITLE",
  "yardName": "KY - EARLINGTON", "saleDate": "2026-10-15T17:00:00.000Z",
  "currentBid": 550, "buyItNowPrice": null, "estimatedRetailValue": 16392.92, "repairCost": 18640
}
```

### Input

```json
{
  "makes": ["TOYOTA"],
  "models": ["CAMRY"],
  "yearFrom": 2019,
  "yearTo": 2021,
  "titleTypes": ["CLEAN"],
  "buyItNowOnly": true,
  "maxOdometer": 80000,
  "sortBy": "SALE_DATE_SOONEST",
  "maxItems": 200
}
```

Other filters: `damageTypes` (FR, RR, SD, HL, WA, BN...), `vehicleTypes` (V automobiles, C motorcycles, R RVs...), `yards`, `runAndDriveOnly`, `minOdometer`, `searchQueries` (free text, matches ANY word) and `rawFilters` for advanced Copart facets. Results are paged 100 lots per request and de-duplicated by lot number.

### Pricing

Pay per event: **US$1.00 per 1,000 lots** (`lot-result`), plus the standard Apify start fee. The run stops at your `maxItems` or your spending limit.

### FAQ

**Are seller names or bidder data included?** No. Copart hides the seller and this Actor outputs vehicle and lot data only.
**Full photo galleries?** Not in this version: only the main thumbnail. Detail pages are not used.
**Can I get every lot?** Yes, up to 50,000 lots per run, e.g. all lots of a make. Combine filters to slice the ~425,000 active lots.
**What if Copart blocks the request?** Retries, then an automatic switch to a US residential proxy. If nothing can be retrieved the run fails with a clear message.

### Use cases

Salvage and used-car sourcing, dealer and exporter inventory watch, price and damage analytics, insurance and repair-cost research, auction calendar tracking.

### En español

Extrae lotes de subasta públicos de Copart EE. UU. por marca, modelo, año, tipo de título, daño, patio o palabra clave: datos del vehículo, daño, odómetro, título, ubicación del patio, fecha de subasta, puja actual, precio "buy it now", valor estimado, costo de reparación y miniatura. Sin login ni datos personales. Precio: US$3,00 por cada 1.000 lotes.

# Actor input Schema

## `searchQueries` (type: `array`):

Free-text keywords as typed in Copart's search box. A lot matches if it contains ANY of the words, so use the make/model/year filters below for precise searches. Leave empty to list all lots.

## `makes` (type: `array`):

Vehicle makes, e.g. HONDA, TOYOTA, BMW, FORD.

## `models` (type: `array`):

Vehicle models, e.g. CIVIC, CAMRY. Combine with a make for best results.

## `yearFrom` (type: `integer`):

Earliest model year.

## `yearTo` (type: `integer`):

Latest model year.

## `titleTypes` (type: `array`):

Keep only these title groups.

## `damageTypes` (type: `array`):

Two-letter Copart damage codes: FR front end, RR rear end, SD side, HL hail, WA water/flood, BN burn, MC mechanical, MN minor dent/scratches, NW normal wear, AO all over, FD frame damage, RO rollover, VN vandalism, TP top/roof, UN undercarriage, ST stripped, PR partial repair.

## `vehicleTypes` (type: `array`):

One-letter Copart codes: V automobiles, C motorcycles, A ATVs, R RVs, L trailers, U heavy duty trucks, K medium duty box trucks, M boats, J jet skis, S snowmobiles, D dirt bikes, N construction, F farm.

## `yards` (type: `array`):

Yard names exactly as on Copart, e.g. CA - REDDING, TX - DALLAS, OK - TULSA.

## `buyItNowOnly` (type: `boolean`):

Only lots that can be bought immediately.

## `runAndDriveOnly` (type: `boolean`):

Only lots flagged Run and Drive.

## `minOdometer` (type: `integer`):

Minimum odometer reading.

## `maxOdometer` (type: `integer`):

Maximum odometer reading.

## `sortBy` (type: `string`):

Result order.

## `maxItems` (type: `integer`):

Maximum number of lots to save.

## `rawFilters` (type: `object`):

Copart facet filters as {"FACETKEY": \["solr_field:value"]}, e.g. {"FUEL": \["fuel_type_desc:"ELECTRIC""]}.

## `requestDelaySecs` (type: `integer`):

Pause between result pages (100 lots each).

## `proxyConfiguration` (type: `object`):

Datacenter proxy first; the Actor switches to a US residential proxy automatically if requests get blocked.

## Actor input object example

```json
{
  "makes": [
    "HONDA"
  ],
  "buyItNowOnly": false,
  "runAndDriveOnly": false,
  "sortBy": "SALE_DATE_SOONEST",
  "maxItems": 50,
  "requestDelaySecs": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `lots` (type: `string`):

All lots collected during the run

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "makes": [
        "HONDA"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fabrikit/copart-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "makes": ["HONDA"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fabrikit/copart-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "makes": [
    "HONDA"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fabrikit/copart-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fabrikit/copart-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9hUfymtIQlIaogaKz/builds/XMF9bZdoyDlOAhSGx/openapi.json
