# Copart Public Search Scraper (`jungle_synthesizer/copart-public-search-scraper`) Actor

Extract vehicle auction data from Copart's public search. Search by keyword, make, model, year range, damage type, and location. Returns lot details including VIN, mileage, damage, current bid, auction date, and more.

- **URL**: https://apify.com/jungle\_synthesizer/copart-public-search-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 3 total users, 0 monthly users, 97.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Copart Public Search Scraper

Extract vehicle auction data from [Copart](https://www.copart.com/)'s public search. Search by keyword, make, model, year range, damage type, and location. Returns lot details including VIN, mileage, damage, current bid, auction date, images, and more.

### What it does

This actor queries Copart's search API directly using a validated Imperva/Incapsula session, returning structured vehicle auction lot data. It supports keyword search plus filters for make, model, year range, damage type, and location. Pagination is handled automatically up to your `maxItems` limit.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `searchQuery` | String | No | Keyword to search for (e.g. `toyota camry`, `honda`, `salvage`) |
| `make` | String | No | Filter by vehicle make (e.g. `TOYOTA`, `HONDA`, `FORD`) |
| `model` | String | No | Filter by vehicle model (e.g. `CAMRY`, `CIVIC`) |
| `yearFrom` | Integer | No | Minimum model year (e.g. `2015`) |
| `yearTo` | Integer | No | Maximum model year (e.g. `2023`) |
| `damageFilter` | String | No | Primary damage type (e.g. `FRONT END`, `REAR END`, `HAIL`, `FLOOD`) |
| `location` | String | No | Auction location/state (e.g. `CA`, `TX`, `FL`) |
| `maxItems` | Integer | **Yes** | Maximum number of vehicle records to extract (default: `15`) |

If no `searchQuery` or filters are provided, the actor returns all currently listed lots up to `maxItems`.

#### Example input

```json
{
  "searchQuery": "toyota",
  "make": "TOYOTA",
  "yearFrom": 2020,
  "maxItems": 50
}
```

### Output

Each item in the dataset represents a vehicle auction lot:

| Field | Description |
|---|---|
| `lot_number` | Copart lot number (unique identifier) |
| `lot_url` | Full URL to the lot detail page on copart.com |
| `year` | Vehicle model year |
| `make` | Vehicle make (manufacturer) |
| `model` | Vehicle model |
| `body_style` | Vehicle body style (e.g. 4D SEDAN, 2D COUPE) |
| `color` | Exterior color |
| `vin` | Vehicle Identification Number |
| `odometer` | Odometer reading in miles |
| `odometer_brand` | Odometer brand/condition (ACTUAL, EXEMPT, etc.) |
| `primary_damage` | Primary damage type |
| `secondary_damage` | Secondary damage type |
| `loss_type` | Loss type (e.g. Collision, Theft, Hail) |
| `sale_status` | Current sale status |
| `current_bid` | Current bid amount in USD |
| `buy_it_now_price` | Buy It Now price in USD (if available) |
| `auction_date` | Scheduled auction date (ISO 8601) |
| `location` | Auction location (city, state) |
| `location_zip` | Auction location ZIP code |
| `fuel_type` | Fuel type (GASOLINE, DIESEL, HYBRID, ELECTRIC) |
| `transmission` | Transmission type (AUTO, MANUAL) |
| `drive_type` | Drive type (FWD, RWD, AWD, 4WD) |
| `engine_size` | Engine displacement |
| `cylinders` | Number of engine cylinders |
| `keys_available` | Whether vehicle keys are available (YES, NO) |
| `title_type` | Vehicle title type (SALVAGE, CERT OF DESTRUCTION, etc.) |
| `title_state` | State where title was issued |
| `images` | Comma-separated list of vehicle image URLs |
| `thumbnail_url` | Thumbnail image URL |
| `scraped_at` | ISO 8601 timestamp when this record was scraped |

#### Example output record

```json
{
  "lot_number": "77734355",
  "lot_url": "https://www.copart.com/lot/77734355",
  "year": "2025",
  "make": "TOYOTA",
  "model": "COROLLA",
  "color": "SILVER",
  "vin": "5YFB4MDE3SP******",
  "primary_damage": "FRONT END",
  "secondary_damage": "TOP/ROOF",
  "sale_status": "ON_MINIMUM_BID",
  "current_bid": "17885",
  "auction_date": "2026-06-01T04:00:00.000Z",
  "fuel_type": "GASOLINE",
  "drive_type": "Front-wheel Drive",
  "engine_size": "2.0L  4",
  "scraped_at": "2026-05-30T15:21:29.655Z"
}
```

### Notes

- Copart returns up to 20 lots per page. The actor paginates automatically until `maxItems` is reached or all matching lots are retrieved.
- Filters must be in uppercase (e.g. `TOYOTA` not `toyota`). The `make`, `model`, `damageFilter`, and `location` fields are automatically uppercased by the actor.
- Fields not available for a particular lot will be `null` in the output.
- Copart's public search covers salvage title and clean title vehicles, fleet, donation vehicles, and repossessions.
- US residential proxy is required to access Copart's search API and is included in the actor's infrastructure — no additional proxy configuration needed.

***

**Further reading:** [Used Car Database Access: Listings, Auctions, and Carrier Records in Bulk](https://orbtop.com/articles/used-car-database-automotive-data/)

# Actor input Schema

## `sp_intended_usage` (type: `string`):

Please describe how you plan to use the data extracted by this crawler.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

Provide your email address so we can get in touch with you.

## `searchQuery` (type: `string`):

Keyword to search for (e.g. "toyota camry", "honda", "salvage")

## `make` (type: `string`):

Filter by vehicle make (e.g. "TOYOTA", "HONDA", "FORD")

## `model` (type: `string`):

Filter by vehicle model (e.g. "CAMRY", "CIVIC")

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

Filter by minimum year (e.g. 2015)

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

Filter by maximum year (e.g. 2023)

## `damageFilter` (type: `string`):

Filter by primary damage type (e.g. "FRONT END", "REAR END", "HAIL", "FLOOD")

## `location` (type: `string`):

Filter by auction location/state (e.g. "CA", "TX", "FL")

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

Maximum number of vehicle records to extract

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "searchQuery": "toyota",
  "maxItems": 15
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "searchQuery": "toyota",
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/copart-public-search-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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "searchQuery": "toyota",
    "maxItems": 15,
}

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

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

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

```

## CLI example

```bash
echo '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "searchQuery": "toyota",
  "maxItems": 15
}' |
apify call jungle_synthesizer/copart-public-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=jungle_synthesizer/copart-public-search-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/bXNB6JSHUOWvBm3OY/builds/ld66hJp0QLt4RXZDT/openapi.json
