Bring a Trailer auction results
Completed Bring a Trailer auctions (sold and reserve not met) from the site's results archive, with the same filters as the site: words, year range, maximum bid, result, recency, category, origin, era, country, no-reserve, Premium and BaT-alumni, plus sort and paging. Each result has id, link, title, final bid or sale price, result text, end date, flags, image, and mileage (miles), transmission and transmission_type (manual or automatic) where the auction summary states them (null otherwise). stats=true adds the site's sold-price chart points. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
q | string | Words that must all appear in the title or listing text (make, model, trim, chassis code, VIN...). Example: porsche 911 |
make | string | Make, added to the words searched (e.g. porsche). |
model | string | Model, added to the words searched (e.g. 911). |
exclude | string | Words that must not appear. |
year_min | integer | Earliest model year. |
year_max | integer | Latest model year. |
max_bid | number | Highest current bid or result (USD). |
category | string | Categories, comma-separated: aircraft, atv, boats, charity, convertibles, diesels, electric, go_karts, hot_rods, kei, military, minibikes, motorcycles, parts, projects, race_cars, rhd, rv, service_vehicles, side_by_sides, wagons, tractors, trains, truck_4x4, vans, wheels. |
origin | string | Origins, comma-separated: american, brazilian, british, canadian, czech, dutch, french, german, italian, japanese, korean, prewar, spanish, swedish. |
era | string | Decades, comma-separated: 2020, 2010, ... 1900, pre-1900. |
country | string | Location country codes, comma-separated (US, CA, GB, DE...). |
no_reserve | boolean | true: only no-reserve auctions. |
premium | boolean | true: only Premium listings. |
bat_alumni | boolean | true: only cars sold on BaT before. |
result | all | sold | unsold | Auction result. |
recency | 7d | 30d | 1y | all | Ended within. |
sort | recent | popular | highest_bid | oldest | Order. |
stats | boolean | true: add the sold-price chart points for the filters. |
limit | integer | Results per page (10-60, default 24). |
page | integer | Page number (1-based). Pass next_page back as page; null on the last page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/bringatrailer/v1/results?q=porsche+911" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/bringatrailer/v1/results",
params={"q": "porsche 911"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/bringatrailer/v1/results");
url.searchParams.set("q", "porsche 911");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).