Cars & Bids auctions
Live Cars & Bids auctions or past results with the site's filters: words, make and model, transmission, body style, year range and no-reserve, plus the site's sorts and paging (50 per page). Each auction has id, link, title, subtitle, status, current bid, sale amount, end time, no-reserve and inspection flags, location, transmission, mileage, highlights and image. Pass next_page back as page; null on the last page. Each auction also has year (the model year from its title).
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
status | live | closed | Live auctions or past results. |
q | string | Words to search for. |
make | string | Make (porsche, bmw...). Example: porsche |
model | string | Model (911...). Needs make. |
transmission | automatic | manual | Transmission. |
body_style | coupe | convertible | hatchback | sedan | suv | truck | van | wagon | Body style. |
year_min | integer | Earliest year. |
year_max | integer | Latest year. |
no_reserve | boolean | true: live no-reserve auctions first. |
sort | string | Order. Live: ending_soon, newly_listed, no_reserve, lowest_mileage, newest_cars, oldest_cars. Closed: recently_ended, lowest_mileage, highest_mileage, lowest_price, highest_price. |
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/carsandbids/v1/auctions" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/carsandbids/v1/auctions",
params={},
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/carsandbids/v1/auctions");
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).