# Bring a Trailer Scraper — Classic Car Auctions (`rastriq/bringatrailer-scraper`) Actor

Scrape auction listings from Bring a Trailer (bringatrailer.com). Extract bid prices, bid counts, reserve status, seller location, and outcomes for active and completed classic car auctions. Ideal for collector car market analysis and price tracking.

- **URL**: https://apify.com/rastriq/bringatrailer-scraper.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 96.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.90 / 1,000 results

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

## Bring a Trailer Scraper

Extract structured data from [Bring a Trailer](https://bringatrailer.com) — the world's largest online enthusiast car auction platform, with 40,000+ auctions completed annually.

### Why use this scraper?

- **Live & completed auctions** — current bids, final hammer prices, reserve status
- **Auction metrics** — bid count, no-reserve flag, sold/unsold outcome, time remaining
- **Vehicle details** — make, model, year, seller location, listing images
- **Ready to use** — Clean, normalized JSON/CSV/Excel output. No coding required.

### How to use

1. Click **Try for free** on Apify
2. Set a make filter (or leave empty for all makes)
3. Choose listing type: **All**, **Active only**, or **Completed only**
4. Click **Save & Run** — default settings scrape 10 Porsche auctions in under 60 seconds

### Output fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | integer | BaT internal listing ID |
| `listing_type` | string | `auction` (active) or `completed` |
| `url` | string | Direct link to the auction |
| `title` | string | Full auction title |
| `brand` | string | Car make / manufacturer |
| `model` | string | Car model (parsed from title) |
| `model_year` | integer | Year manufactured |
| `price` | number | Current bid (active) or hammer price (completed) |
| `price_currency` | string | Currency code (typically `USD`) |
| `bid_count` | integer | Number of comments/bids |
| `no_reserve` | boolean | Whether the auction has no reserve |
| `sold` | boolean | Whether the car sold (completed only) |
| `time_remaining` | string | Time left (active) or sale date (completed) |
| `location` | string | Seller country or location |
| `image_url` | string | Thumbnail image URL |
| `scraped_at` | datetime | UTC timestamp of extraction |
| `source` | string | Always `bringatrailer.com` |

### How it works

The scraper uses two data sources depending on the listing type:

- **Active auctions** — extracted from embedded page data on `/auctions/` (all live listings in a single request)
- **Completed auctions** — paginated REST API (`/wp-json/bringatrailer/1.0/data/listings-filter`) with server-side filtering by make and year range

### Use cases

- **Market valuation** — Track realized prices for specific makes/models over time
- **Dealer intelligence** — Monitor auction activity and price trends by region
- **Collection research** — Find comparable sales for insurance or purchase decisions

### Cost & performance

This Actor uses **pay-per-result** pricing — you only pay for the data you get.

| Concept | Price |
|---------|-------|
| **Per result** | **$0.0019** |
| Actor start | $0.0005 (per GB of memory) |

**Examples:**

| Volume | Estimated cost |
|--------|---------------|
| 100 listings | ~$0.19 |
| 1,000 listings | ~$1.90 |
| 10,000 listings | ~$19.00 |

Platform costs (compute & proxy) are included — no hidden extras.

### Integration

Export data as JSON, CSV, or Excel. Connect to Google Sheets, Slack, email, or 1,500+ apps via [Apify integrations](https://apify.com/integrations).

Schedule runs hourly, daily, or weekly to keep your data fresh.

# Actor input Schema

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

Car make to search for on Bring a Trailer.<br><br>Examples: <code>porsche</code>, <code>ferrari</code>, <code>mercedes-benz</code>, <code>jaguar</code><br><br>Leave empty to scrape all makes.

## `year_min` (type: `integer`):

Earliest model year to include. Leave empty for no lower bound.

## `year_max` (type: `integer`):

Latest model year to include. Leave empty for no upper bound.

## `listing_type` (type: `string`):

Filter by listing status. <b>All</b> includes both active and completed.

## `max_items` (type: `integer`):

Maximum number of listings to extract.<br>Start with <b>10</b> for a quick test, then increase for production runs.

## `max_pages` (type: `integer`):

Maximum number of search result pages to process. Leave empty to use <b>Max results</b> as the only limit.

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

Select proxies for the scraping run. Datacenter proxy (default) works for most sites and is included in the Apify Free plan.

## Actor input object example

```json
{
  "make": "porsche",
  "listing_type": "all",
  "max_items": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "make": "porsche",
    "max_items": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/bringatrailer-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 = {
    "make": "porsche",
    "max_items": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("rastriq/bringatrailer-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 '{
  "make": "porsche",
  "max_items": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rastriq/bringatrailer-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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