agentleFS
carabain-digitalcarabain-digital/apify-agent-skills/skills/bringatrailer-listings/SKILL.md

bringatrailer-listings

Skill1 starsChanged 10 days agoMITView on GitHub

Scrape Bring a Trailer (bringatrailer.com) collector-car auctions: live bids and completed results with sold prices, reserve status, year, make, model, mileage. Filter by make, model, year, price. Newest first. Add-ons: VIN, bids, seller, photos; price history. Runs the Apify Actor carabain-digital/bringatrailer-listings. Use for tasks like: Sold Porsche 911 prices on Bring a Trailer; Live No Reserve car auctions on Bring a Trailer.

  • Installs packages
  • Sends data out

The file

Files
SKILL.md

Bring a Trailer Auctions Scraper

Scrape Bring a Trailer (bringatrailer.com) collector-car auctions: live bids and completed results with sold prices, reserve status, year, make, model, mileage. Filter by make, model, year, price. Newest first. Add-ons: VIN, bids, seller, photos; price history.

Runs on Apify as the Actor carabain-digital/bringatrailer-listings, billed per result to the user's own Apify account.

Setup

The user needs an Apify API token in APIFY_TOKEN (console.apify.com/settings/integrations). No Apify account yet? Sign up free: no credit card needed, and the Free plan includes $5 of credit every month, enough for about 1,176 auctions with this Actor.

Run it

Apify API, waits for the run and returns the items (up to 5 minutes; for bigger runs start it with POST /v2/acts/carabain-digital~bringatrailer-listings/runs and read the dataset afterwards):

curl -X POST 'https://api.apify.com/v2/acts/carabain-digital~bringatrailer-listings/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" -H 'Content-Type: application/json' \
  -d '{"auction_status": "completed", "make": "Porsche", "model": "911", "min_year": 1990, "limit": 200}'

Python (pip install apify-client):

import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("carabain-digital/bringatrailer-listings").call(run_input={"auction_status": "completed", "make": "Porsche", "model": "911", "min_year": 1990, "limit": 200})
items = client.dataset(run["defaultDatasetId"]).list_items().items

MCP: add the Apify MCP server with this Actor as a tool: https://mcp.apify.com/?actors=carabain-digital/bringatrailer-listings.

Input

FieldTypeDescription
auction_statusstringWhich auctions to scrape: completed (sold prices and reserve-not-met results, most recently ended first), live (open auctions, latest-ending first) or all. Example: live. Values: completed, live, all. Default: "completed".
auction_resultstringKeep only auctions that were sold, or only those that ended below the reserve. Live auctions are skipped when you pick one. Example: sold. Values: any, sold, unsold. Default: "any".
makestringMake to search in the auction titles. Example: Porsche, Mercedes-Benz, Land Rover.
modelstringModel of that make (needs Make). Example: 911, 300SL, Defender.
min_yearintegerOldest model year. Example: 1990.
max_yearintegerNewest model year. Example: 1999.
min_priceintegerLowest current bid, sold price or high bid in US dollars. Example: 20000.
max_priceintegerHighest current bid, sold price or high bid in US dollars. Example: 50000.
max_mileageintegerHighest odometer reading in miles. The list only knows the mileage the title mentions (36k-Mile); auctions without it are kept. Example: 60000.
no_reserve_onlybooleanKeep only No Reserve auctions (they always sell). Example: true. Default: false.
includeNonVehiclesbooleanBaT also auctions parts, wheels, memorabilia, motorcycles, boats and RVs. They are skipped by default (recognised from the title, or the category on live auctions). Switch on to get everything. Example: false. Default: false.
start_urlsarrayIndividual auction pages copied from bringatrailer.com; they replace the filters above and come with all details. Example: https://bringatrailer.com/listing/1997-jeep-grand-cherokee-23/. Format: [{"url": "https://..."}].
limitintegerStop after this many auctions (newest first). BaT serves at most 10,000 completed auctions per search; narrow the year range for more. Example: 100. Default: 100.
includeDetailsbooleanAlso open each auction page: VIN, exact mileage, engine, transmission, colour, seller, location, lot number, number of bids, buyer, views, watchers, all photos and the full summary. Adds $1.00 per 1,000 auctions on top of the base price. One extra request per auction (about 1.5 s per 10). Default: false.
trackHistorybooleanKeep the price of every listing in a named store in your own Apify account and add first_seen_at, previous_price, price_change, price_change_pct and price_history to each item. Run it on a schedule: the first run only starts the series. Adds $1.00 per 1,000 listings that already had history. Do not run two runs on the same store at once. Default: false.
historyStoreNamestringName of the key-value store that holds the history (letters a-z, digits, dashes). All our car Actors use cars-history by default, so history is shared between them. Use another name to keep a separate series per search, e.g. camry-nyc. Default: "cars-history".

Examples

Sold Porsche 911 prices on Bring a Trailer: Scrape the most recent completed Porsche 911 auctions from Bring a Trailer (1990 and newer): sold price or high bid, reserve status, year, model and mileage. Export to JSON, CSV or Excel to build price comps.

{
  "auction_status": "completed",
  "make": "Porsche",
  "model": "911",
  "min_year": 1990,
  "limit": 200
}

Live No Reserve car auctions on Bring a Trailer: Scrape the open Bring a Trailer auctions that have no reserve and track their price over time: current bid, end time, year, make and model. Run it daily to see where bids end up.

{
  "auction_status": "live",
  "no_reserve_only": true,
  "limit": 200,
  "trackHistory": true
}

Output

One dataset item per result. Main fields: auction_end_at, title, status, price, no_reserve, mileage, url.

FieldTypeDescription
idstringStable listing ID, bringatrailer:<BaT post id>
sourcestringShort site name (bringatrailer)
urlstringPublic auction page on bringatrailer.com
titlestringAuction title, e.g. 7k-Mile 2021 Porsche 911 Carrera 4S Cabriolet
makestringMake, split from the title (e.g. Porsche, Mercedes-Benz)
modelstringModel and trim as in the title, after the make
variantstringTrim, e.g. LX AWD
conditionstringAlways used (BaT sells pre-owned and collector cars)
pricenumberCurrent bid (live), sold price (sold) or high bid (reserve not met), in USD; null when a live auction has no bid yet
price_currencystringUSD
price_typestringauction when there is a bid, else on_request
mileageintegerOdometer. From the title (36k-Mile, rounded to thousands) or, with Full details, the listing's mileage (mileage_approximate says which)
mileage_unitstringmi (miles)
yearintegerModel year
first_registrationstringAlways null: US listings only have the model year
fuel_typestringpetrol, diesel, electric, hybrid, plugin_hybrid, ethanol (flex fuel), cng, hydrogen or other
transmissionstringmanual or automatic
body_typestringsedan, hatchback, wagon, suv, coupe, convertible, van, pickup, minivan or other
power_kwintegerEngine power in kW (from hp)
power_hpintegerEngine power in hp, when CarGurus knows it
engine_ccintegerEngine displacement in cc
colorstringExterior colour as the dealer names it
doorsintegerNumber of doors
seatsintegerAlways null: not published
vinstringChassis number / VIN (Full details add-on)
seller_typestringdealer or private (Full details add-on)
seller_namestringSeller's BaT username (Full details add-on)
seller_phonestringDealer phone number
seller_urlstringDetails add-on: dealer website
addressstringDealer address (city and state; full street address with the details add-on)
citystringCity of the car (Full details add-on)
postcodestringDealer ZIP code
regionstringState or province (Full details add-on)
countrystringISO country code of the car, e.g. US, CA, DE
latnumberDetails add-on: dealer latitude
lonnumberDetails add-on: dealer longitude
listed_atstringAlways null: BaT does not publish the listing start
image_urlsarrayPhoto URLs: the thumbnail, or every photo with Full details
descriptionstringThe auction summary (the full text of the listing's intro with Full details)
statusstringlive, sold, reserve_not_met (ended without meeting the reserve) or ended
auction_end_atstringWhen the auction ends or ended, UTC ISO
current_bidnumberCurrent bid in USD while the auction is live
sold_pricenumberFinal price in USD of a sold auction
high_bidnumberHighest bid in USD of an auction that ended below its reserve
soldbooleantrue when sold, false when the reserve was not met, null while live
no_reservebooleantrue for No Reserve auctions
bid_countintegerNumber of bids (Full details add-on)
comment_countintegerNumber of comments (Full details add-on)
view_countintegerPage views (Full details add-on)
watcher_countintegerUsers watching the auction (Full details add-on)
lot_numberintegerBaT lot number (Full details add-on)
seller_usernamestringSeller's BaT username (Full details add-on)
winning_bidderstringBuyer's username of a sold auction (Full details add-on)
premiumbooleanBaT Premium listing
bat_alumnibooleanCar that was listed on BaT before
categoriesarrayCategory ids on the live list; category slugs (german, convertible, truck-4x4 ...) with Full details; empty on completed auctions otherwise
mileage_approximatebooleantrue when the mileage is rounded (36k)
enginestringEngine as the listing words it, e.g. 3.6-Liter Flat-Six (Full details add-on)
transmission_textstringTransmission as the listing words it (Full details add-on)
exterior_colorstringPaint colour (Full details add-on)
details_fetchedbooleantrue when the Full details add-on enriched this item
scraped_atstringWhen the item was scraped, UTC ISO
first_seen_atstringPrice history add-on: when this listing was first seen by your runs
previous_pricenumberPrice history add-on: the price at the previous run (null on the first run)
price_changenumberPrice history add-on: price minus previous price
price_change_pctnumberPrice history add-on: price change in percent
status_changedbooleanPrice history add-on: always false for CarGurus (no status field)
price_historyarrayPrice history add-on: price points over your runs, [{at, price, status}], last 20

Price

Pay per result: $4.25 per 1,000 auctions on the Apify Free plan, less on paid plans. No subscription; Apify bills the run to the user's account.

  • Full details: $1.00 per 1,000. One auction enriched with its listing page: VIN, exact mileage, engine, transmission, colour, seller, location, lot number, number of bids, buyer, views, watchers, all photos and the full summary.
  • Price history: $1.00 per 1,000. One listing that already had history in your named history store, enriched with first_seen_at, previous_price, price_change, price_change_pct and price_history. The first run of a listing is free.

Store page, reviews and full documentation: Bring a Trailer Auctions Scraper

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.