# Bring a Trailer Auctions Scraper - Prices, VINs & Bids (`confidential_gnat/bringatrailer-auctions-scraper`) Actor

Scrape Bring a Trailer (bringatrailer.com) auctions: live and completed results, sold price, high bid, VIN, mileage, engine, seller, location, photos, plus optional bids and comments. Search by make, model, year or category. Cache returns only new or changed listings. Export JSON, CSV or Excel.

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

## Pricing

from $1.50 / 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.
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 (BaT) Auctions Scraper

![Bring a Trailer Auctions Scraper cover: every sale, VIN and bid from Bring a Trailer, only new listings every run](https://i.postimg.cc/W4Dwzzcg/Gemini-Generated-Image-pb7xpkpb7xpkpb7x.jpg)

**Scrape auctions from Bring a Trailer (bringatrailer.com)**: live and completed results with **sold price**, high bid, **VIN**, mileage, engine, transmission, colours, seller, location, photos and optionally the full **bid history and comments**. Search by make, model, year, category or country, paste a make or model page, and press Start. Export **JSON, CSV or Excel**, or call it as an **API**.

**Target website:** [bringatrailer.com](https://bringatrailer.com)

### ✨ Features of this Bring a Trailer auctions scraper

- **Completed and live auctions** - sold, not sold and withdrawn results, plus auctions that are still open, in one run.
- **Complete listing data** - VIN, mileage, engine, transmission, exterior and interior colour, seller, seller type, location, photos and the full description.
- **Bids and comments** - optional bid history (amount and time) and the comments of every listing, with usernames only if you ask for them.
- **Many filters** - make or model, model year, category, country, sold or unsold, reserve or no reserve, price, end date, mileage and seller.
- **Sold price statistics** - every run saves the count, lowest, highest, average and median sold price per currency.
- **More than 10,000 results** - a search that is bigger than the site's per-search limit is split by model year and category automatically.
- **Pagination support** - result pages are read until your maximum is reached or the results end.
- **Cache for new or changed listings** - schedule the same search and get only what is new or changed.
- **Proxy support** - proxy settings are available in the input.
- **No browser required** - plain HTTP requests keep runs fast and cheap.

### 🚀 How to scrape Bring a Trailer auctions in 5 steps

1. [Sign up](https://apify.com/sign-up) for a free Apify account - includes **$5 monthly credit**.
2. Open the actor page and click **Try for free**.
3. Fill in the **Input** fields (a make or model page, or a search term).
4. Click **Start** and wait for the run to complete.
5. Download results from the **Output** tab in JSON, CSV, or Excel format.

You can also run this actor via the [Apify API](https://docs.apify.com/api/v2) or integrate it directly into your workflows using [Zapier](https://zapier.com/apps/apify), [Make](https://www.make.com/), or [n8n](https://n8n.io/).

### 💰 Pricing for the Bring a Trailer scraper

This actor uses **pay-per-result** billing based on the compute units a run consumes.

- New Apify accounts include **$5 of free monthly credit**.
- It reads the site with plain HTTP requests, so it costs significantly less to run than browser-based scrapers.
- Switching off **Open each listing page** returns the results-page data only and is the cheapest way to run.

### 🔧 Bring a Trailer scraper input configuration

The input form starts with the Bring a Trailer URLs, the search terms, the auctions to scrape, the max listings limit and the cache name. The filters and the listing details switches follow in their own groups.

![Bring a Trailer Auctions Scraper input form in Apify Console with the 7 fields numbered 1 to 7: Bring a Trailer URLs, search terms, auctions to scrape, max listings per search or URL, cache project name, open each listing page and include bid history](https://i.postimg.cc/L8QVmf7w/Gemini-Generated-Image-cq0noacq0noacq0n.jpg)

1. **Bring a Trailer URLs** - make or model pages, the live auctions page, the results page or single listings (here the Porsche 911 page)
2. **Search terms** - make, model or keyword, one search per term (here Ford Bronco)
3. **Auctions to scrape** - completed auctions, live auctions or both (here completed)
4. **Max listings per search or URL** - limit for each start URL and each search term (here 50)
5. **Cache project name** - reuse the same name on every scheduled run to get only new or changed listings
6. **Open each listing page (full details)** - add VIN, mileage, engine, seller, location, all photos and the description
7. **Include bid history** - add every bid with its amount and time

| Field | Type | Required | Default | Description |
| ----- | ---- | -------- | ------- | ----------- |
| Bring a Trailer URLs (`startUrls`) | array | — | Porsche 911 page | Make or model pages, the live auctions page, the auction results page and single listing pages. |
| Search terms (`searchTerms`) | array | — | — | Make, model or keyword, one search per term, for example `Porsche 911`. |
| Auctions to scrape (`auctionStatus`) | string | — | completed | Completed auctions, live auctions or both. |
| Auction result (`result`) | string | — | any | For completed auctions: any result, only sold or only unsold. |
| Reserve (`reserveFilter`) | string | — | any | Any auction, only no-reserve or only reserve auctions. |
| Categories (`categories`) | array | — | — | Only auctions in these categories, such as Motorcycles, Truck & 4x4 or Race Cars. |
| Model year from / to (`yearFrom`, `yearTo`) | integer | — | — | Model year range. |
| Countries (`countries`) | array | — | — | Two-letter country codes such as US, GB, DE or CA. |
| Minimum / maximum price (`minPrice`, `maxPrice`) | integer | — | — | Sold price, high bid of an unsold auction or current bid of a live one. |
| Ended or ending from / until (`endDateFrom`, `endDateTo`) | string | — | — | End date range, YYYY-MM-DD. |
| Sort completed auctions by (`sortBy`) | string | — | newest | Newest, oldest or highest price first. |
| Max listings per search or URL (`maxItems`) | integer | — | 5 | Listings saved for each start URL and each search term. |
| Cache project name (`cacheProjectName`) | string | — | — | Same name on each run to get only new or changed listings. |
| Open each listing page (`scrapeDetails`) | boolean | — | on | Adds VIN, mileage, engine, transmission, colours, seller, location, all photos and the full description. |
| Include bid history (`includeBids`) | boolean | — | off | Adds every bid with amount and time. |
| Include comments (`includeComments`) | boolean | — | off | Adds the comments of each listing. |
| Include usernames (`includeUsernames`) | boolean | — | off | Adds the public usernames of bidders, commenters and the high bidder. |
| Minimum / maximum mileage (`mileageFrom`, `mileageTo`) | integer | — | — | Mileage range as shown on the listing. |
| Seller usernames (`sellers`) | array | — | — | Only listings of these sellers. |
| Proxy configuration (`proxyConfiguration`) | object | — | - | Proxy settings. |

**Supported URL types:**

- Make or model page: `https://bringatrailer.com/porsche/911/`
- Live auctions: `https://bringatrailer.com/auctions/`
- Completed auctions: `https://bringatrailer.com/auctions/results/`
- Single listing: `https://bringatrailer.com/listing/1983-porsche-911sc-163/`

### 📦 Bring a Trailer scraper output data

The output is a flat list of auctions in JSON, CSV or Excel. Every record has the same keys (`null` when there is no value): `id`, `url`, `title`, `year`, `make`, `model`, `status`, `reserveStatus`, `noReserve`, `currency`, `priceFormatted`, `resultText`, `currentBid`, `soldPrice`, `highBid`, `bidCount`, `commentCount`, `endTime`, `watchers`, `views`, `lotNumber`, `vin`, `mileage`, `mileageText`, `engine`, `transmission`, `exteriorColor`, `interiorColor`, `listingDetails`, `description`, `categories`, `era`, `country`, `countryCode`, `location`, `latitude`, `longitude`, `seller`, `sellerUrl`, `sellerType`, `premium`, `relisted`, `highBidder`, `thumbnailUrl`, `images`, `imageCount`, `bids`, `comments`, `detailsScraped`, `changeType`, `scrapedAt`. There are 2 views: **Overview** shows the title, status, year, price, bid count, end time, location and link, and **Vehicle** shows the make, model, VIN, mileage, engine, transmission, colours and seller. The key-value store also holds `SOLD_PRICE_STATS` with sold price statistics per currency.

**Output at a glance:**

| Listing | Status | Price | Miles | Location | Ended |
| ------- | ------ | ----- | ----- | -------- | ----- |
| [1983 Porsche 911SC Coupe](https://bringatrailer.com/listing/1983-porsche-911sc-163/) | sold | 73,000 | 73,000 | Portland, Oregon | 2026-11-04 |
| [2006 Porsche 911 Carrera S Cabriolet 6-Speed](https://bringatrailer.com/listing/2006-porsche-911-carrera-s-cabriolet-146/) | sold | 37,500 | 56,000 | Pawleys Island, South Carolina | 2026-11-04 |
| [2006 Porsche 911 Carrera 4S Cabriolet 6-Speed](https://bringatrailer.com/listing/2006-porsche-911-carrera-4s-cabriolet-75/) | unsold | 35,250 | 71,000 | Poulsbo, Washington | 2026-11-04 |
| [37k-Kilometer RoW 1997 Porsche 911 Carrera 4S Coupe 6-Speed](https://bringatrailer.com/listing/1997-porsche-911-carrera-4s-142/) | unsold | 165,000 | 37,000 | Culver City, California | 2026-11-04 |
| [1986 Porsche 911 Carrera Targa](https://bringatrailer.com/listing/1986-porsche-911-carrera-targa-112/) | sold | 50,500 | 98,000 | Pompano Beach, Florida | 2026-11-04 |

**Sample output (raw JSON):**

```json
{
  "id": "123047176",
  "url": "https://bringatrailer.com/listing/1983-porsche-911sc-163/",
  "title": "1983 Porsche 911SC Coupe",
  "year": 1983,
  "make": "Porsche",
  "model": "911SC Coupe",
  "status": "sold",
  "reserveStatus": "Reserve Met",
  "noReserve": false,
  "currency": "USD",
  "priceFormatted": "USD $73,000",
  "resultText": "Sold for USD $73,000 on 11/4/26",
  "currentBid": null,
  "soldPrice": 73000,
  "highBid": null,
  "bidCount": 22,
  "commentCount": 34,
  "endTime": "2026-11-04T21:52:01.000Z",
  "watchers": 1499,
  "views": 9003,
  "lotNumber": 272400,
  "vin": "WP0AA0911DS122387",
  "mileage": 73000,
  "mileageText": "73k Miles Shown, TMU",
  "engine": "3.0-Liter Flat-Six",
  "transmission": "Five-Speed Manual Transaxle",
  "exteriorColor": "Black",
  "interiorColor": "Black Leather",
  "listingDetails": [
    "Chassis: WP0AA0911DS122387",
    "73k Miles Shown, TMU",
    "3.0-Liter Flat-Six",
    "Five-Speed Manual Transaxle",
    "Limited-Slip Differential"
  ],
  "description": "This 1983 Porsche 911SC is a US-market coupe that was ordered through Porsche\u2019s tourist delivery program. The car was registered in its previous owner\u2019s family ...",
  "categories": [
    "german"
  ],
  "era": null,
  "country": "United States",
  "countryCode": "US",
  "location": "Portland, Oregon 97219",
  "latitude": null,
  "longitude": null,
  "seller": "PNWCG911SC",
  "sellerUrl": "https://bringatrailer.com/member/pnwcg911sc/",
  "sellerType": "Private Party",
  "premium": false,
  "relisted": false,
  "highBidder": null,
  "thumbnailUrl": "https://bringatrailer.com/wp-content/uploads/2026/09/37518a08-a30e-4733-a089-bd53c9ac22d2-88542.jpg",
  "images": [
    "https://bringatrailer.com/wp-content/uploads/2026/09/37518a08-a30e-4733-a089-bd53c9ac22d2-88542.jpg",
    "https://bringatrailer.com/wp-content/uploads/2026/09/f25e4b28-8d92-4ce7-b71c-4609c2df3ba1-scaled-88896.jpg"
  ],
  "imageCount": 127,
  "bids": [
    {
      "amount": 19830,
      "time": "2026-10-29T01:16:49.000Z",
      "reserveMet": null,
      "bidder": null
    },
    {
      "amount": 25555,
      "time": "2026-10-29T06:26:43.000Z",
      "reserveMet": null,
      "bidder": null
    }
  ],
  "comments": [
    {
      "id": 23078337,
      "time": "2026-10-29T03:03:00.000Z",
      "text": "Very nice looking low mi triple black SC coupe to replace the ROW one that sold this AM for ~$85 gross. Looks like this ...",
      "likes": 2,
      "parentId": null,
      "author": null
    }
  ],
  "detailsScraped": true,
  "changeType": null,
  "scrapedAt": "2026-11-05T15:09:51.171Z"
}
```

### 🔁 Scrape only new Bring a Trailer listings with the cache

Type the same **Cache project name** on every scheduled run. Listings already saved under that name and not changed since (same price, bids and status) are skipped, are not charged and do not count towards **Max listings per search or URL**. Every saved record gets `changeType: new` or `updated`. Different names keep separate caches. Use [Apify Schedules](https://docs.apify.com/platform/schedules) to run it daily.

### 🐍 How to scrape Bring a Trailer with Python, JavaScript or the API

Run the actor programmatically with the official Apify clients. Replace `<YOUR_API_TOKEN>` with the token from your [Apify Console](https://console.apify.com/account/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run = client.actor("confidential_gnat/bringatrailer-auctions-scraper").call(run_input={
    "searchTerms": ["Porsche 911"],
    "auctionStatus": "completed",
    "maxItems": 50,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**JavaScript** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const run = await client.actor('confidential_gnat/bringatrailer-auctions-scraper').call({
    searchTerms: ['Porsche 911'],
    auctionStatus: 'completed',
    maxItems: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**cURL** - start a run and wait for the dataset:

```bash
curl -X POST "https://api.apify.com/v2/acts/confidential_gnat~bringatrailer-auctions-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"searchTerms": ["Porsche 911"], "auctionStatus": "completed", "maxItems": 50}'
```

### 💡 What you can use Bring a Trailer auction data for

- Price tracking: follow sold prices of a make, model or generation over time.
- Valuation tools: build comparable-sales data with mileage, colours, options and VIN.
- Dealer sourcing: watch live auctions and new results in the categories you buy.
- Market research: compare reserve and no-reserve results, countries and seller types.
- Auction analysis: study bid history and comments to see how interest builds before the end.

Collectors, dealers, appraisers, insurers, auction analysts and automotive data teams typically use this data for pricing, sourcing and market research.

### ⚠️ Limitations of the Bring a Trailer scraper

- **Per-search limit** - the site serves about 9,960 results per search. Bigger searches are split automatically by model year and category, so very large runs take longer.
- **Live auctions** - they cannot be filtered by country, so a country filter applies to completed auctions only.
- **Usernames** - bidder and commenter usernames are left out unless you switch on **Include usernames**.
- **Slow pace** - the site limits parallel requests, so the scraper keeps a gentle pace and a run with full listing pages takes a few seconds per listing.

### ❓ Bring a Trailer scraper FAQ

#### Can I scrape Bring a Trailer legally?

The actor only collects data that is already public on Bring a Trailer: no login, no paywall and no private content. Scraping publicly available data is generally considered lawful (see *hiQ Labs v. LinkedIn* as precedent), but you remain responsible for following the site's Terms of Service and the laws that apply to your use, such as GDPR if you handle personal data.

#### What data does the Bring a Trailer scraper return?

Title, year, make, model, status, reserve status, sold price, high bid, bid and comment counts, end time, watchers, views, VIN, mileage, engine, transmission, colours, equipment list, description, categories, location, seller and photos. Switch on **Include bid history**, **Include comments** or **Include usernames** for the optional fields.

#### How many listings can I scrape from one Bring a Trailer search?

**Max listings per search or URL** applies to each start URL and each search term. The site itself serves about 9,960 results per search, and the scraper splits bigger searches by model year and category so you can go past that.

#### How do I scrape Bring a Trailer with Python?

Use the Python example above with the Apify client, then iterate over the dataset items.

#### Is this the cheapest Bring a Trailer auctions scraper?

Possibly. This actor has an optional cache: give the same **Cache project name** on every run and listings you already saved are skipped, so a scheduled run only pays for new or changed auctions. Other scrapers read and charge for the same listings again on every run. If you do not need it, leave the cache name empty and every run returns everything.

#### Can I run this Bring a Trailer scraper on a schedule?

Yes. Use [Apify Schedules](https://docs.apify.com/platform/schedules) and set a **Cache project name** so each run saves only new or changed listings.

#### What output formats are supported?

JSON, CSV, Excel, XML and RSS, either from the **Output** tab or through the Apify API.

#### Why are some fields empty for an auction?

Fields such as VIN, mileage or interior colour are filled only when the seller listed them, and the details need **Open each listing page**. Live auctions have no sold price yet.

### 🔗 Relevant actors for Bring a Trailer and car auctions

| Scraper | Description |
| ------- | ----------- |
| [🚗 Cheapest Carsandbids Scraper](https://apify.com/confidential_gnat/cheapest-carsandbids-scraper) | Scrape Cars & Bids car auctions with prices and details. |
| [🚘 Copart Search Scraper](https://apify.com/confidential_gnat/copart-search-scraper) | Scrape Copart salvage and used vehicle auction listings. |
| [🚙 Arabam.com Car Listings Scraper](https://apify.com/confidential_gnat/arabam-cars-scraper) | Scrape used and new car listings from Arabam in Turkey. |
| [🚗 Auto.ru Car Listings Scraper](https://apify.com/confidential_gnat/autoru-cars-scraper) | Scrape new and used car listings from Auto.ru in Russia. |
| [🛒 eBay Listings Scraper](https://apify.com/confidential_gnat/ebay-listings-scraper) | Scrape eBay search results and item pages: title, price, condition and seller. |

### 🔗 Other actors you may find useful

| Scraper | Description |
| ------- | ----------- |
| [🍷 Total Wine Scraper](https://apify.com/confidential_gnat/totalwine-scraper) | Scrape Total Wine & More prices, sizes, ratings and stock. |
| [💻 Dice Jobs Scraper - Search Tech Jobs by Keyword or URL](https://apify.com/confidential_gnat/dice-jobs-scraper) | Scrape tech job listings from Dice by keyword or URL. |
| [📰 Google News AI Scraper](https://apify.com/confidential_gnat/google-news-ai-scraper) | Search Google News by keyword with optional full article text. |
| [🔎 WHOIS Domain Lookup Scraper](https://apify.com/confidential_gnat/whois-com) | Bulk WHOIS lookups from URLs, bare domains or lookup links. |
| [📈 Kalshi Markets Scraper - Prediction Market Prices & Odds](https://apify.com/confidential_gnat/kalshi-markets-scraper) | Scrape Kalshi prediction markets: prices, implied probability, volume. |

### 💬 Support & contact

If you encounter any issues or have questions, please [open an issue](https://apify.com/confidential_gnat/bringatrailer-auctions-scraper/issues/open).

You can also find more of our actors on the [Actor Flow](https://apify.com/confidential_gnat) page.

# Actor input Schema

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

Make or model pages, the live auctions page, the auction results page and single listing pages. Examples: https://bringatrailer.com/porsche/911/, https://bringatrailer.com/auctions/, https://bringatrailer.com/auctions/results/ or https://bringatrailer.com/listing/1990-jeep-comanche-13/. Leave empty to use the search terms and filters below.

## `searchTerms` (type: `array`):

Make, model or any keyword, one search per term, for example Porsche 911 or Ford Bronco. Combined with the filters below.

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

Completed auctions (sold, not sold and withdrawn), live auctions that are still open, or both.

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

Maximum listings saved for each start URL and each search term. The site serves about 9,960 results per search; for more, the search is split by model year and category automatically.

## `cacheProjectName` (type: `string`):

Use the same name on each scheduled run to get only new or changed listings. Listings already saved under that name and not changed are skipped, not charged and not counted towards Max listings. Each record gets changeType: new or updated. Leave empty to turn the cache off.

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

Only for completed auctions: keep every result, only the sold ones, or only the ones that did not sell (reserve not met or no bids).

## `reserveFilter` (type: `string`):

Keep every auction, only no-reserve auctions, or only auctions with a reserve.

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

Only auctions in these categories (an auction in any of them is kept). Leave empty for all categories.

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

Earliest model year of the vehicle.

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

Latest model year of the vehicle.

## `countries` (type: `array`):

Only auctions located in these countries, as two-letter codes such as US, GB, DE or CA. Leave empty for all countries.

## `minPrice` (type: `integer`):

Only auctions with a price at or above this amount: the sold price, the high bid of an unsold auction or the current bid of a live one. In the currency of each listing.

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

Only auctions with a price at or below this amount (same price as the minimum).

## `endDateFrom` (type: `string`):

Only auctions that ended (or end) on or after this date, as YYYY-MM-DD.

## `endDateTo` (type: `string`):

Only auctions that ended (or end) on or before this date, as YYYY-MM-DD.

## `mileageFrom` (type: `integer`):

Only vehicles with at least this mileage (as shown on the listing). Needs the listing page, so listings are opened even when 'Open each listing page' is off.

## `mileageTo` (type: `integer`):

Only vehicles with at most this mileage (as shown on the listing). Needs the listing page.

## `sellers` (type: `array`):

Only listings of these sellers (usernames, case does not matter). Needs the listing page.

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

Newest first, oldest first or highest price first. Applies to searches that are not split into narrower ones (a split search is read newest and oldest first).

## `scrapeDetails` (type: `boolean`):

On: every listing page is opened to add the VIN, mileage, engine, transmission, colours, seller, location, bid count, all photos and the full description. Off: records from the results only, which already hold the title, status, price, end time and a short description. Bids and comments always need the listing page.

## `includeBids` (type: `boolean`):

Adds the list of bids (amount and time) to every record. Opens the listing page.

## `includeComments` (type: `boolean`):

Adds the comments of every listing (time, text, likes). Opens the listing page.

## `includeUsernames` (type: `boolean`):

Adds the public usernames of bidders and commenters and the high bidder of every listing. Off by default.

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

Optional. The default works for most runs; choose an Apify Proxy group or add your own proxy URLs to change it.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://bringatrailer.com/porsche/911/"
    }
  ],
  "auctionStatus": "completed",
  "maxItems": 5,
  "result": "any",
  "reserveFilter": "any",
  "sortBy": "newest",
  "scrapeDetails": true,
  "includeBids": false,
  "includeComments": false,
  "includeUsernames": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `soldPriceStats` (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 = {
    "startUrls": [
        {
            "url": "https://bringatrailer.com/porsche/911/"
        }
    ],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("confidential_gnat/bringatrailer-auctions-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 = {
    "startUrls": [{ "url": "https://bringatrailer.com/porsche/911/" }],
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("confidential_gnat/bringatrailer-auctions-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 '{
  "startUrls": [
    {
      "url": "https://bringatrailer.com/porsche/911/"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call confidential_gnat/bringatrailer-auctions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,confidential_gnat/bringatrailer-auctions-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/kikdZ5lofSKZdS1HE/builds/4uxVFTdESQxoqbgGH/openapi.json
