# Bring a Trailer Scraper - Auction Results, Sold Prices & VIN (`neverempty/bring-a-trailer-auction-results`) Actor

For car appraisers, dealers, collectors and price guides: Bring a Trailer sold prices by make and model with final price or high bid, sold or reserve not met, end date, mileage, VIN, location and seller type. Watch mode returns only newly ended auctions. Export JSON, CSV or Excel.

- **URL**: https://apify.com/neverempty/bring-a-trailer-auction-results.md
- **Developed by:** [NeverEmpty](https://apify.com/neverempty) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 1,000 auction returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 - Auction Results, Sold Prices & VIN

**For car price guides, appraisals, dealer sourcing and collectors:** **Bring a Trailer (BaT) auction results** as JSON, CSV or Excel: title, **model year, make and model**, **sold price or high bid in USD**, whether it **sold, missed the reserve or was withdrawn**, **end date**, bids, comments, views and watchers, **mileage** (as shown and as a number), **VIN**, location, country and whether the seller is **private or a dealer**, plus the photo and the link. Search by **make and model words** (for example `porsche 911`, `land cruiser fj40`), paste a **BaT model page** or single **listing URLs**, and filter by **end date** and **model year**. Live auctions with the current bid work too. Turn on **Watch mode** and scheduled runs return **only auctions that ended since the last run** (for live auctions: opened since the last run).

- **Real results, not asking prices.** Every row says `sold`, `reserve-not-met`, `withdrawn` or `live`, with `soldPrice` filled only when the car sold and `highBid` for every auction.
- **The details buyers check.** With `includeDetails` on (default), each auction page is read for VIN, mileage, location, private or dealer seller, bids, comments, views and watchers. Mileage comes as BaT shows it (`"18k Miles Shown on Replacement Odometer"`) and as a number with its unit (`18000`, `mi`), so TMU and replacement-odometer notes are not lost.
- **Make and model split.** `make: "Toyota"`, `model: "Land Cruiser FJ40"`, `year: 1971` as separate columns, ready for a spreadsheet pivot.
- **Date range and model years.** `endedAfter` / `endedBefore` and `minYear` / `maxYear` narrow a search. Results come newest first.
- **Watch mode.** The first run returns the current results and remembers them; every later run returns only auctions that ended since the run before, marked `changeType: new`. Nothing new = one free row that says so.
- **Empty values explained.** A value BaT does not show comes back as `null`, with the reason in `nullReasons`. Searches with no results come back as a free row that says why.

Unofficial. Public auction pages only, no login. No bidder or seller names are returned.

### What you get

One row per auction. Example (a listing URL, auction ended 2026-10-27):

```json
{
  "status": "ok",
  "changeType": null,
  "auctionId": "124562965",
  "lotNumber": "270820",
  "title": "350-Powered 1971 Toyota Land Cruiser FJ40",
  "year": 1971,
  "make": "Toyota",
  "model": "Land Cruiser FJ40",
  "result": "sold",
  "isSold": true,
  "soldPrice": 28500,
  "highBid": 28500,
  "currency": "USD",
  "noReserve": null,
  "endTime": "2026-10-27T20:59:21.000Z",
  "bidCount": 39,
  "commentCount": 24,
  "viewCount": 4415,
  "watcherCount": 595,
  "mileage": 18000,
  "mileageUnit": "mi",
  "mileageText": "18k Miles Shown on Replacement Odometer",
  "vin": "FJ40105221",
  "location": "Valencia, California 91355",
  "countryCode": null,
  "sellerType": "dealer",
  "imageUrl": "https://bringatrailer.com/wp-content/uploads/2026/10/IMG_6327-scaled-copy-2026-10-15-gdd-a4ed4f09d6731422168954cff0f10459.jpg",
  "url": "https://bringatrailer.com/listing/1971-toyota-land-cruiser-fj40-159/",
  "searchQuery": null,
  "searchUrl": null,
  "nullReasons": "noReserve: shown only in search results; a listing URL on its own does not include it; countryCode: shown only in search results; a listing URL on its own does not include it",
  "watchName": null,
  "checkedAt": "2026-10-28T08:00:00.000Z"
}
```

| Field | What it is |
|---|---|
| `result` | `sold`, `reserve-not-met`, `withdrawn` or `live` |
| `soldPrice` | Final price in USD when the car sold, otherwise `null` |
| `highBid` | Highest bid in USD (the current bid for live auctions) |
| `noReserve` | `true` for No Reserve auctions |
| `endTime` | When the auction ended (or ends, for live auctions), UTC |
| `mileage`, `mileageUnit`, `mileageText` | Mileage as a number, `mi` or `km`, and the words BaT shows |
| `vin` | The chassis or VIN shown on the auction page |
| `sellerType` | `private` or `dealer` |
| `changeType` | Watch mode only: `first-check` or `new` |
| `nullReasons` | Why a value is empty |
| `status` | `ok` for auction rows; other values are free rows that explain a search (`no-results`, `no-new-auctions`, `not-found`, `blocked` ...) |

### Input

| Field | Example | Notes |
|---|---|---|
| `searchQueries` | `["porsche 911", "bmw e30 m3"]` | Make and model words, as typed into the BaT search box. Up to 10 searches per run. |
| `startUrls` | `https://bringatrailer.com/porsche/911/` or `https://bringatrailer.com/listing/1991-ferrari-testarossa-67/` | Model pages work like a search; listing URLs return that auction (up to 100). |
| `auctionStatus` | `ended` | `ended` (sold, reserve not met, withdrawn), `sold` only, or `live`. |
| `endedAfter`, `endedBefore` | `2026-01-01`, `2026-06-30` | End-date range (UTC, both days included). |
| `minYear`, `maxYear` | `1989`, `1998` | Model years. |
| `maxResultsPerSearch` | `200` | Auctions per search, newest first. Empty = 50. |
| `includeDetails` | `true` | Off = faster rows from the search results only (no VIN, mileage, seller or bid count). |
| `onlyNew` | `false` | Watch mode, for schedules. |
| `watchName` | `fj40-weekly` | A name per scheduled task, so two watches keep separate memories. |
| `resetMonitoringState` | `false` | Start a watch over. |

An empty input runs an example: the 20 most recently ended `porsche 911` auctions.

```json
{
  "searchQueries": ["land cruiser fj40"],
  "auctionStatus": "sold",
  "endedAfter": "2026-01-01",
  "maxResultsPerSearch": 100
}
```

### Watch mode

1. The first run (`changeType: first-check`) returns up to `maxResultsPerSearch` auctions and remembers everything it read as the starting point.
2. Every later run reads the newest result pages of each search and returns the auctions that ended since the previous run (`changeType: new`). For Live, it returns auctions that opened since the previous run.
3. An auction is returned once per watch, even when BaT adds it to the results a little late.
4. New auctions that did not fit into `maxResultsPerSearch` or your maximum charge are not charged and come in the next run.
5. A run with nothing new returns one free `no-new-auctions` row.

Schedule it daily or weekly with Apify Schedules, and send new rows to Google Sheets, a webhook, Make, n8n or Zapier.

### Pricing

Pay per event:

- **Run start**: once per run that returns auctions, and once per watch run that read and compared the results, even when nothing ended since the last run (it pays for the check). Not charged when BaT refuses the request or the input is wrong.
- **Auction returned**: per auction row delivered. Free rows (no results, nothing new, not found, blocked and so on) are never charged.

If your maximum total charge has no room for the run start fee plus one auction, the run requests nothing and is charged nothing. When a run reaches its maximum charge, the auctions it could not deliver are not charged.

Speed: one request per second. A search page holds up to 60 auctions; with `includeDetails` on, each auction is one more page, so 50 auctions take about a minute.

### Good to know

- Pages are read one request per second, as BaT's robots.txt asks. Member, message and Carfax pages are not opened.
- BaT shows up to 3,600 results per search, newest first. Use the end dates or model years to reach older auctions.
- `noReserve` and `countryCode` come from the search results, so they are `null` for a listing URL on its own (the reason is in `nullReasons`).
- BaT's terms of use ask that its content is not used to develop or train AI models; please respect that.

### Thanks for using this Actor

We build these tools for people who run them every day, and we improve them from what users tell us.

- **Missing a field, or need another filter?** Tell us in the **Issues** tab. If the data is there, we add it.
- **Found a bug or a wrong value?** Post the run ID in the **Issues** tab. Wrong data is the thing we fix first.

If this Actor saved you time, a short review helps other people find it.

# Actor input Schema

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

What you would type into the Bring a Trailer search box, for example porsche 911, land cruiser fj40, bmw e30 m3, ferrari testarossa. Each term is one search. Leave this and Start URLs empty to run the example: the 20 most recently ended porsche 911 auctions.

## `startUrls` (type: `array`):

Bring a Trailer model pages such as https://bringatrailer.com/porsche/911/ (returns that model's auctions, like a search) or single listing pages such as https://bringatrailer.com/listing/1991-ferrari-testarossa-67/ (returns that auction). Up to 100 listing URLs per run.

## `auctionStatus` (type: `string`):

Ended returns finished auctions with the final price or high bid and whether the reserve was met. Sold only skips reserve-not-met and withdrawn auctions. Live returns auctions open for bids now, with the current bid.

## `endedAfter` (type: `string`):

Only auctions that ended on or after this date (YYYY-MM-DD, UTC), for example 2026-01-01. Works with Ended and Sold only.

## `endedBefore` (type: `string`):

Only auctions that ended on or before this date (YYYY-MM-DD, UTC, the whole day included). Works with Ended and Sold only.

## `minYear` (type: `integer`):

Only cars of this model year or newer, for example 1989. Bring a Trailer applies the year to the search itself.

## `maxYear` (type: `integer`):

Only cars of this model year or older, for example 1998.

## `maxResultsPerSearch` (type: `integer`):

How many auctions to return for each search term or model page, newest end date first. Empty = 50. Bring a Trailer shows the 3,600 most recent per search; use the end dates or model years to reach older ones.

## `includeDetails` (type: `boolean`):

On: each auction page is read for make, model, VIN, mileage, location, private or dealer seller, bids, comments, views and watchers. Off: faster rows with title, year, price, result, end date, country and photo from the search results only.

## `onlyNew` (type: `boolean`):

For schedules. The first run returns the current results marked first-check; each later run returns only auctions that ended (or, for Live, opened) since the run before, marked new. A run with nothing new returns one free row that says so.

## `watchName` (type: `string`):

Optional. Give each scheduled task its own name (letters, digits, dot, dash, underscore) so two watches with the same searches keep separate memories.

## `resetMonitoringState` (type: `boolean`):

Forget what this watch has already returned. The next run behaves like a first run.

## Actor input object example

```json
{
  "searchQueries": [
    "porsche 911"
  ],
  "startUrls": [],
  "auctionStatus": "ended",
  "maxResultsPerSearch": 20,
  "includeDetails": true,
  "onlyNew": false,
  "resetMonitoringState": false
}
```

# Actor output Schema

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

One row per Bring a Trailer auction: title, model year, make, model, result (sold, reserve-not-met, withdrawn or live), sold price or high bid in USD, end time, bids, comments, views, watchers, mileage as shown and as a number, VIN, location, country, private or dealer seller, photo and link. Empty values come with the reason in nullReasons. Watch mode marks rows first-check or new. A search with no results, nothing new, a refused request or a run that hit its maximum charge comes back as a free row that says why.

# 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 = {
    "searchQueries": [
        "porsche 911"
    ],
    "startUrls": [],
    "maxResultsPerSearch": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("neverempty/bring-a-trailer-auction-results").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 = {
    "searchQueries": ["porsche 911"],
    "startUrls": [],
    "maxResultsPerSearch": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("neverempty/bring-a-trailer-auction-results").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 '{
  "searchQueries": [
    "porsche 911"
  ],
  "startUrls": [],
  "maxResultsPerSearch": 20
}' |
apify call neverempty/bring-a-trailer-auction-results --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neverempty/bring-a-trailer-auction-results"
        }
    }
}
```

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/euSDPnvwpRiOa0z9o/builds/g9wVrJagrHijDO6Lp/openapi.json
