# Bring a Trailer Auction & Sold Price Tracker (`nimbryxo-studio/bring-a-trailer-auction-and-sold-price-tracker`) Actor

Track Bring a Trailer car auctions by keyword, make, or listing URL. Get current bids, final sold prices, reserve status, mileage, seller details and photos for enthusiast and collector vehicles.

- **URL**: https://apify.com/nimbryxo-studio/bring-a-trailer-auction-and-sold-price-tracker.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, E-commerce, 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 $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Auction & Sold Price Tracker

Bring a Trailer (BaT) is the leading online auction house for enthusiast and collector cars. This actor pulls both live bidding activity and already-closed auction outcomes, so you can watch a market in motion instead of reading a static listing page.

### What this actor does

- **Five ways in**: search by keyword, browse every listing under one manufacturer, fetch specific listing URLs, page through recent completed results, or pull the current homepage-featured auctions.
- **Live vs. closed in one record shape**: active listings carry a running `currentBid`, closed ones carry the final price and whether the reserve was met.
- **Title parsing**: splits the free-text listing title into model year, make, and model automatically.
- **Narrows results** by model-year range and bid amount so you don't have to post-filter a large export.
- Fields that aren't present on a given listing (e.g. mileage on a results-page card) are omitted rather than returned empty.

### Output per listing

- `listingId` — BaT listing ID or URL slug
- `title` — full listing title as published
- `year`, `make`, `model` — parsed out of the title
- `currentBid`, `currency` — current bid for active auctions or the final price for closed ones
- `bidCount` — number of bids placed (mode=`getListing` only)
- `auctionStatus` — `active`, `sold`, or `no_sale` (reserve not met)
- `endDate` — auction close time, ISO 8601
- `location` — seller's city/state or country
- `mileage` — odometer reading in miles (mode=`getListing` only)
- `transmission` — transmission type as written in the BaT essentials box (mode=`getListing` only)
- `sellerName`, `sellerProfileUrl` — BaT seller username and profile link (mode=`getListing` only)
- `description` — listing excerpt or meta description
- `images` — array of photo URLs hosted on bringatrailer.com
- `noReserve` — `true` when the auction was listed with no reserve
- `lotNumber` — BaT lot number (mode=`getListing` only)
- `url` — canonical listing URL
- `scrapedAt` — ISO 8601 timestamp of when the record was collected

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search`, `byMake`, `getListing`, `results`, or `featured` |
| `searchQuery` | string | – | Keyword — make, model, or year (mode=`search`) |
| `make` | string | – | Manufacturer slug as it appears in the BaT URL, e.g. `porsche`, `ferrari` (mode=`byMake`) |
| `startUrls` | array | `[]` | Full listing page URLs to fetch (mode=`getListing`) |
| `minYear` | integer | – | Only include this model year or newer |
| `maxYear` | integer | – | Only include this model year or older |
| `minBid` | number | – | Only include listings bid at or above this amount (USD) |
| `maxBid` | number | – | Only include listings bid at or below this amount (USD) |
| `sold` | boolean | `false` | In mode=`results`, keep only listings that actually sold |
| `maxItems` | integer | `20` | Maximum listings to return (1–500) |

#### Example: search for a model with a bid floor

```json
{
  "mode": "search",
  "searchQuery": "bmw e30",
  "minBid": 10000,
  "maxItems": 40
}
```

#### Example: every Ferrari listing, newer than 1990

```json
{
  "mode": "byMake",
  "make": "ferrari",
  "minYear": 1990,
  "maxItems": 100
}
```

#### Example: fetch specific listings

```json
{
  "mode": "getListing",
  "startUrls": [
    "https://bringatrailer.com/listing/1993-porsche-911-carrera-2-coupe-26/"
  ]
}
```

#### Example: closed results, sold only

```json
{
  "mode": "results",
  "sold": true,
  "maxItems": 50
}
```

### Use cases

- **Price benchmarking** — compare a car you're about to list against recently sold comparables.
- **Market research** — track how sale prices for a model trend over a run of completed auctions.
- **Sourcing** — scan active listings under a make for cars that match a buy criteria.
- **Appraisal support** — pull mileage, transmission and seller details alongside price for a specific listing.
- **Auction monitoring** — watch the featured/homepage auctions without checking the site manually.

### FAQ

**Does this need a BaT account or API key?**
No — BaT's auction pages are public, so no login or key is required.

**What's the difference between `search` and `results`?**
`search` matches both active and completed auctions against a keyword. `results` only walks the completed-auctions feed, which is useful when you specifically want closed sales.

**Why do some records have no `mileage` or `transmission`?**
Those details come from the listing's "Essentials" box, which this actor only reads in `getListing` mode. Search, `byMake`, `results` and `featured` records come from listing cards, which don't carry that box.

**What does `auctionStatus: "no_sale"` mean?**
The listing had a reserve price that bidding never reached, so BaT closed it without a sale.

**Is `currentBid` the final price for closed auctions?**
Yes — once an auction ends, `currentBid` holds the last (winning, or highest unmet-reserve) bid amount.

**Can I restrict results to a year range?**
Yes, with `minYear` and `maxYear`, applied after year is parsed from the title.

**Is this affiliated with Bring a Trailer?**
No. This is an independent, third-party actor that reads publicly available BaT pages.

# Actor input Schema

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

What to scrape.

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

Keyword to search (make, model, year). Used in mode=search. Examples: 'porsche 911', 'bmw e30', '1967 mustang'.

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

Car manufacturer for mode=byMake. Examples: porsche, bmw, ferrari, ford, toyota. Use the make slug as it appears in the BaT URL (e.g. 'porsche' for bringatrailer.com/porsche/).

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

One or more listing page URLs for mode=getListing. Example: https://bringatrailer.com/listing/1993-porsche-911-carrera-2-coupe-26/

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

Only include listings from this year or newer.

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

Only include listings from this year or older.

## `minBid` (type: `number`):

Only include listings with a current bid at or above this amount.

## `maxBid` (type: `number`):

Only include listings with a current bid at or below this amount.

## `sold` (type: `boolean`):

In mode=results: if true, only include listings that sold (exclude no-sale results).

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

Maximum number of listings to return.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "porsche",
  "startUrls": [],
  "sold": false,
  "maxItems": 20
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing all scraped auction listings.

# 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": "search",
    "searchQuery": "porsche",
    "startUrls": [],
    "sold": false,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/bring-a-trailer-auction-and-sold-price-tracker").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": "search",
    "searchQuery": "porsche",
    "startUrls": [],
    "sold": False,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/bring-a-trailer-auction-and-sold-price-tracker").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": "search",
  "searchQuery": "porsche",
  "startUrls": [],
  "sold": false,
  "maxItems": 20
}' |
apify call nimbryxo-studio/bring-a-trailer-auction-and-sold-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/bring-a-trailer-auction-and-sold-price-tracker"
        }
    }
}
```

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/cWPd9YkPttuB1NxNf/builds/EyPhP30S45LPmMl3S/openapi.json
