# Bring a Trailer Sold Comps - Auction Results & Price Bands (`fanndev/bringatrailer-sold-comps-scraper`) Actor

Bring a Trailer auction results with valuation stats: sale price or high bid, sold vs reserve not met, end date, model year, plus a comps summary per search (sell-through rate, p10 to p90 prices). Optional mileage, VIN, location, seller, bids, views. For car valuation.

- **URL**: https://apify.com/fanndev/bringatrailer-sold-comps-scraper.md
- **Developed by:** [Faisal Ahdan naufal](https://apify.com/fanndev) (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 $4.00 / 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.

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 Sold Comps - Auction Results & Price Bands

Pull Bring a Trailer auction results and turn them into valuation data. Every auction comes with its sale price or high bid, sold or reserve not met, the end date and the model year. Each search also gets a **comps summary**: sell-through rate and p10 / p25 / median / p75 / p90 sold prices.

### Why use this actor

- **Price bands, not just rows.** One summary row per search gives you the sold-price distribution and the sell-through rate. That's the number you need to price a car, an offer or an insurance value.
- **Sold *and* not sold.** Reserve-not-met auctions are included with their high bid, so you see where bidding stalled, not only where cars sold.
- **The site's own filters.** Model year range, ended within (7 days to 5 years), maximum price, origin (German, Japanese, Italian…), category (Motorcycles, Truck & 4x4, Race Cars…), excluded words, sorted by newest, oldest or highest price.
- **Optional auction details.** Mileage, chassis/VIN, location, seller and seller type (private party or dealer), the itemized listing details (engine, transmission, colors, options), lot number, bid count, views and watchers.
- **Deep history.** About 275,000 completed auctions are searchable; one run can export every matching result.
- **No account, no login, no API key.** Export to JSON, CSV or Excel, or schedule it weekly to watch a model's market.

### How it works

1. Enter makes, models or keywords (`porsche 911`, `land cruiser fj40`, `e30 m3`), and/or set filters.
2. Choose sold, reserve not met or both, a time window and how many auctions to collect.
3. Optionally switch on **Include auction details**.
4. Run. You get one row per auction plus one comps summary per search.

You don't need to maintain any scrapers or browsers, or deal with blocks; the actor paces itself to stay within the site's limits.

### Input

```json
{
    "searchQueries": ["porsche 911"],
    "result": "all",
    "endedWithin": "2y",
    "yearFrom": 1965,
    "yearTo": 1973,
    "maxResults": 200,
    "includeCompsSummary": true,
    "includeDetails": true,
    "proxyConfiguration": { "useApifyProxy": true }
}
```

| Field | Type | Description |
| --- | --- | --- |
| `searchQueries` | array | Make, model or keyword. One search and one comps summary per entry. |
| `result` | string | `all`, `sold`, `reserve-not-met`. Use `all` for a sell-through rate. |
| `endedWithin` | string | `all`, `7d`, `30d`, `1y`, `2y`, `5y`. |
| `yearFrom`, `yearTo` | integer | Model year range. |
| `maxPrice` | integer | Only auctions with a final bid below this (USD). |
| `excludeKeywords` | array | Leave out titles containing these words. |
| `origins` | array | American, British, German, Italian, Japanese, French, Swedish, Korean, Prewar… |
| `categories` | array | Motorcycles, Truck & 4x4, Race Cars, Projects, Parts, Boats, Aircraft… |
| `sortBy` | string | `newest`, `oldest`, `highest-price`. |
| `maxResults` | integer | Auctions per search (default 200). `0` = every match. |
| `includeCompsSummary` | boolean | One price-band summary per search (default on). |
| `includeDetails` | boolean | Mileage, VIN, location, seller, listing details, bids, views, watchers (one page per auction). |
| `listingUrls` | array | Auction pages to return with full details. |
| `proxyConfiguration` | object | Apify Proxy settings. The default datacenter proxy works for this site; switch to Residential only if you see blocks. |

### Output

A real auction row (with details):

```json
{
  "_input": "q:porsche 911 | result:all | sort:newest | ended:2y | years:1965-1973",
  "_source": "S1-results-api",
  "_scrapedAt": "2026-11-18T07:34:28Z",
  "recordType": "auction",
  "result": "sold",
  "salePrice": 39000,
  "highBid": 39000,
  "currency": "USD",
  "endDate": "2026-11-13T21:11:19Z",
  "modelYear": 1968,
  "noReserve": true,
  "soldText": "Sold for USD $39,000 on 11/13/2026",
  "title": "RSR-Style 1968 Porsche 911L Coupe Project",
  "url": "https://bringatrailer.com/listing/1968-porsche-911l-41/",
  "country_code": "US",
  "details": {
    "seller": "BoostBrothersGarage",
    "sellerUrl": "https://bringatrailer.com/member/boostbrothersgarage/",
    "location": "Cincinnati, Ohio 45245",
    "listingDetails": ["Chassis: 11805056", "Non-Running Project", "No Odometer, TMU", "3.0-Liter Flat-Six", "915 Five-Speed Manual Transaxle", "…"],
    "chassis": "11805056",
    "sellerType": "Private Party",
    "lotNumber": "274197",
    "bidCount": 67,
    "viewsCount": 7124,
    "watchersCount": 725
  }
}
```

The comps summary for the same search:

```json
{
  "_input": "q:porsche 911 | result:all | sort:newest | ended:2y | years:1965-1973",
  "recordType": "COMPS_SUMMARY",
  "matchingOnSite": 335,
  "auctionsAnalyzed": 40,
  "soldCount": 25,
  "reserveNotMetCount": 15,
  "sellThroughRate": 0.625,
  "noReserveShare": 0.2,
  "currency": "USD",
  "salePrice": { "min": 17500.0, "p10": 35400.0, "p25": 73000.0, "median": 114569.0, "p75": 156000.0, "p90": 167500.0, "max": 330000.0, "mean": 116662.28 },
  "modelYearRange": [1966, 1973],
  "firstEndDate": "2026-08-22T17:52:00Z",
  "lastEndDate": "2026-11-13T21:11:19Z"
}
```

| Field | Description |
| --- | --- |
| `result` | `sold`, `reserve_not_met`, `withdrawn` or `unknown`. |
| `salePrice`, `highBid`, `currency` | Final price when sold; final high bid either way. |
| `endDate`, `modelYear`, `noReserve` | When it ended, year from the title, no-reserve flag. |
| `title`, `url`, `thumbnail_url`, `excerpt`, `country_code` | Listing basics, passed through from Bring a Trailer. |
| `details` | With `includeDetails`: seller, location, seller type, chassis/VIN, mileage, listing details, lot, bids, views, watchers. |
| `COMPS_SUMMARY` rows | `matchingOnSite`, `auctionsAnalyzed`, `soldCount`, `reserveNotMetCount`, `sellThroughRate`, `salePrice` bands, `modelYearRange`, date range. |

The summary is computed from the auctions collected in the run, so raise `maxResults` (or set `0`) for the most accurate bands. A search with no matches gives one free `NOTICE` row; an unknown listing URL gives one free `ERROR` row.

### Notes and limits

- Buyer usernames are not collected.
- Prices are in the auction's currency (almost always USD); other currencies are listed separately in the summary.
- Bring a Trailer limits how fast pages can be requested, so the actor paces itself (about one page per second); a full model history of a few thousand auctions takes a few minutes.

# Actor input Schema

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

Make, model or keyword, e.g. 'porsche 911', 'land cruiser fj40', 'e30 m3'. One search (and one comps summary) per entry. Leave empty to use filters only.

## `result` (type: `string`):

Sold auctions, reserve-not-met auctions, or both (both gives the true sell-through rate).

## `endedWithin` (type: `string`):

Only auctions that ended in this window.

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

Earliest model year.

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

Latest model year.

## `maxPrice` (type: `integer`):

Only auctions whose final bid is below this amount.

## `excludeKeywords` (type: `array`):

Leave out auctions whose title contains these words, e.g. 'targa', 'project', 'parts'.

## `origins` (type: `array`):

Country of origin of the vehicle.

## `categories` (type: `array`):

Bring a Trailer categories, e.g. Motorcycles, Truck & 4x4, Race Cars.

## `sortBy` (type: `string`):

Order of results.

## `maxResults` (type: `integer`):

0 = every matching auction (Bring a Trailer has about 275,000 completed auctions).

## `includeCompsSummary` (type: `boolean`):

Adds one summary row per search: sell-through rate and sold-price p10 / p25 / median / p75 / p90 / min / max / mean, computed from the auctions collected.

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

Opens each auction page to add mileage, chassis/VIN, location, seller, private party or dealer, listing details (engine, transmission, colors, options), lot number, bid count, views and watchers. One extra page per auction.

## `listingUrls` (type: `array`):

Optional. Bring a Trailer auction pages (https://bringatrailer.com/listing/...) to return with full details.

## `maxConcurrency` (type: `integer`):

Auction pages opened in parallel (requests are paced to stay within the site's limits).

## `maxRetries` (type: `integer`):

Retries per request.

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

Apify Proxy. The default (datacenter) works for this site and costs least; switch to Residential only if a large run starts getting blocked.

## Actor input object example

```json
{
  "searchQueries": [
    "porsche 911"
  ],
  "result": "all",
  "endedWithin": "all",
  "sortBy": "newest",
  "maxResults": 200,
  "includeCompsSummary": true,
  "includeDetails": false,
  "maxConcurrency": 3,
  "maxRetries": 6,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per auction plus one COMPS_SUMMARY row per search.

# 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"
    ],
    "maxResults": 200,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fanndev/bringatrailer-sold-comps-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 = {
    "searchQueries": ["porsche 911"],
    "maxResults": 200,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fanndev/bringatrailer-sold-comps-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 '{
  "searchQueries": [
    "porsche 911"
  ],
  "maxResults": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fanndev/bringatrailer-sold-comps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fanndev/bringatrailer-sold-comps-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/YGBrCP0ceEGfhdGoc/builds/sZsS0L8gw8IT3TBeu/openapi.json
