# Bring a Trailer Scraper: Live and Completed Auctions (`santamaria-automations/bringatrailer-scraper`) Actor

Get Bring a Trailer car and motorcycle auction listings: live auctions with current bid and end time, or completed results with sold price. Year, make, model, location, reserve status, images and more. No login needed.

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

## Pricing

from $3.00 / 1,000 listing delivereds

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

## Bring a Trailer Scraper

Get auction listings from [Bring a Trailer](https://bringatrailer.com/): the auctions that are open now, or completed results with the sold price. The actor returns one record per listing: title, year, make and model, current bid or final price, end time, location, reserve status, comment count, images and more. No login and no API key are needed.

### What you get

- Two modes. `live` reads every auction that is open now, soonest ending first. `completed` reads finished auctions, newest first.
- One record per listing, saved 24 at a time.
- Filters for keywords, country, no-reserve auctions and, for completed results, sold or not sold.
- Each listing once per run. A run that is interrupted continues where it stopped. Listings already delivered are not delivered or charged again.
- You pay only for listings that were saved to the dataset.

### Use with AI agents (MCP)

Connect this actor to any MCP-compatible AI client, such as Claude Desktop, Cursor, VS Code, LangChain or LlamaIndex.

**MCP server URL:**

```
https://mcp.apify.com?tools=santamaria-automations/bringatrailer-scraper
```

**Example prompt once connected:**

> "Use `bringatrailer-scraper` to list the live Porsche 911 auctions that end in the next two days with their current bid and location as a CSV."

### Data extracted

| Field | Example |
|-------|---------|
| `listing_id` | `124628828` |
| `url` | `"https://bringatrailer.com/listing/2003-porsche-911-carrera-4-cabriolet-41/"` |
| `title` | `"LS376-Powered 2003 Porsche 911 Carrera 4 Cabriolet"` |
| `year`, `make`, `model` | `2003`, `"Porsche"`, `"911 Carrera 4 Cabriolet"` (read from the title, empty when not clear) |
| `status` | `"live"`, `"sold"`, `"reserve_not_met"`, `"withdrawn"` or `"ended"` |
| `price`, `price_kind`, `price_text`, `currency` | `40250`, `"sold_price"`, `"USD $40,250"`, `"USD"` (`current_bid` for a live auction, `high_bid` when the reserve was not met) |
| `has_bids` | live auctions only: `false` while bidding is open and no bid was placed |
| `end_time`, `end_timestamp` | `"2026-11-06T22:19:09Z"`, `1794003549` |
| `result_text` | `"Sold for USD $40,250 on 11/6/2026"` |
| `comment_count`, `view_count`, `watcher_count` | counts, when the site shows them |
| `country`, `country_code` | `"United States"`, `"US"` |
| `latitude`, `longitude` | location coordinates, when the site shows them (live auctions) |
| `no_reserve`, `premium`, `relisted` | `true`, `false`, `false` |
| `thumbnail_url`, `image_url`, `images` | list image, at list size and at full size |
| `excerpt` | short description from the site |
| `category_ids`, `era` | category numbers and decade, for live auctions |
| `vin` | VIN or chassis number, when it appears in the listing keywords |
| `keywords` | keyword text the site attaches to a live listing |
| `mode`, `page`, `scraped_at` | how and when the row was read |

Fields that the site does not show for a listing are returned empty.

### Pricing

Pay-per-event pricing. You pay only for listings that were saved to the dataset.

| Event | Price |
|-------|-------|
| Actor start (`actor-start`) | $0.001 per run |
| Listing scraped (`listing-result`) | $0.003 per listing ($3.00 per 1,000) |

The start event is charged once per run, together with the first saved listing. A run that returns nothing is not charged. If you set a maximum cost per run, the actor stops before it goes over that limit.

### Input

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `mode` | string | `live` or `completed`. | `live` |
| `keywords` | string\[] | Only listings that match one of these terms in the title, description or keywords. Every word of a term must be found, for example `"porsche 911"`. Empty returns all. | none |
| `countryCode` | string | Two letter country of the vehicle, for example `US`, `CA`, `GB`, `DE`. Empty includes all. | all |
| `noReserveOnly` | boolean | Only auctions without a reserve price. | `false` |
| `outcome` | string | Completed mode only: `all`, `sold` or `unsold`. | `all` |
| `maxItems` | integer | Most listings to return. 0 uses 100. | `100` |
| `maxPages` | integer | Completed mode only: most pages of 24 results to read. 0 uses 40. | `40` |

### Usage examples

#### Live Porsche 911 auctions

```json
{
  "mode": "live",
  "keywords": ["porsche 911"],
  "maxItems": 48
}
```

#### The latest 120 completed auctions

```json
{
  "mode": "completed",
  "maxItems": 120
}
```

#### Sold Ferraris from the last results, no reserve

```json
{
  "mode": "completed",
  "keywords": ["ferrari"],
  "outcome": "sold",
  "noReserveOnly": true,
  "maxItems": 50,
  "maxPages": 100
}
```

#### All live auctions in Germany

```json
{
  "countryCode": "DE",
  "maxItems": 500
}
```

### Output

Results are saved to the default dataset. Export them as JSON, CSV or Excel, or read them through the API.

```json
{
  "listing_id": 124628828,
  "url": "https://bringatrailer.com/listing/2003-porsche-911-carrera-4-cabriolet-41/",
  "title": "LS376-Powered 2003 Porsche 911 Carrera 4 Cabriolet",
  "year": 2003,
  "make": "Porsche",
  "model": "911 Carrera 4 Cabriolet",
  "status": "sold",
  "price": 40250,
  "price_kind": "sold_price",
  "currency": "USD",
  "end_time": "2026-11-06T22:19:09Z",
  "result_text": "Sold for USD $40,250 on 11/6/2026",
  "comment_count": 0,
  "country_code": "US",
  "no_reserve": true,
  "premium": false,
  "image_url": "https://bringatrailer.com/wp-content/uploads/2026/10/IMG_5574-b389b90f4374ef2bfb65820ef102c23b.jpg",
  "mode": "completed",
  "page": 1
}
```

### Limitations

- The site shows its full set of live auctions on one page, so a live run makes a single request. Completed results come 24 per page and go back many years. Reading far back takes many pages; raise `maxPages` for that.
- Keywords, country and no-reserve filters are applied to the listings the actor reads. In completed mode a narrow filter can leave few matches per page, so such a run may read all `maxPages` pages and return fewer than `maxItems`.
- Make and model are read from the title, so they are empty when the title does not name a make the actor knows, and the model can include extra words from the title.
- Category numbers, decade, keywords and coordinates are published for live auctions only. Completed results do not carry them.
- The number of bids, the bid history, the comments, seller names and bidder names are not returned. Seller type is not shown in the list data.
- A live auction without a bid has an empty price and `has_bids` set to `false`.
- Live data is a snapshot. Bids and end times change while an auction runs.

### FAQ

**How many listings can I get?**
A live run returns all open auctions, around a thousand at a time. Completed results go back to the first years of the site. Set `maxItems` to the number you need.

**How do I get sold prices?**
Use `mode` `completed`. Rows with status `sold` carry the final price in `price`. Rows with status `reserve_not_met` carry the highest bid.

**Why is `price` empty for some live auctions?**
Bidding is open on those auctions and nobody has bid yet.

**What does a run cost?**
The pricing table shows a start fee plus a price per listing. A run of 48 listings costs a start fee plus 48 listings.

**What status does a run end with?**
The run status says how many listings were delivered. If the site refuses every request, the run fails and nothing is charged. If the filters match nothing, the run ends normally and says so.

**Does it need an account?**
No. The actor reads the same public lists that the Bring a Trailer auction pages show.

# Actor input Schema

## `mode` (type: `string`):

live reads the auctions that are open now, soonest ending first. completed reads finished auctions, newest first, with the sold price.

## `keywords` (type: `array`):

Only listings that match one of these terms in the title, description or keywords. Every word of a term must be found, for example "porsche 911". Empty returns all listings.

## `countryCode` (type: `string`):

Two letter code of the country where the vehicle is located, for example US, CA, GB or DE. Empty includes all countries.

## `noReserveOnly` (type: `boolean`):

Only auctions that have no reserve price.

## `outcome` (type: `string`):

For completed results: all, only sold auctions, or only auctions that ended without a sale.

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

Most listings to return. 0 or empty uses 100.

## `maxPages` (type: `integer`):

Most pages of 24 completed results to read. Raise it when keywords or filters leave few matches per page. 0 or empty uses 40.

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

Connection settings. The default works for most runs; the actor chooses the level it needs.

## Actor input object example

```json
{
  "mode": "live",
  "keywords": [
    "porsche 911"
  ],
  "noReserveOnly": false,
  "outcome": "all",
  "maxItems": 48,
  "maxPages": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

Dataset with one record per auction listing

# 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 = {
    "mode": "live",
    "keywords": [
        "porsche 911"
    ],
    "maxItems": 48,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/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 = {
    "mode": "live",
    "keywords": ["porsche 911"],
    "maxItems": 48,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/bringatrailer-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 '{
  "mode": "live",
  "keywords": [
    "porsche 911"
  ],
  "maxItems": 48,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call santamaria-automations/bringatrailer-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,santamaria-automations/bringatrailer-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/PcBfS8JIcKqOZ6Hx6/builds/vvno4dX2bMGlWNbDo/openapi.json
