ClassicCars.com search
Classic and collector vehicles for sale on ClassicCars.com with every filter of the site's advanced search: keywords, make, model, year range, price range, country and state, ZIP radius, vehicle type, seller type (private, dealer, auction) and its sorts and page sizes. Each listing: id and CC number, title, year, make, model, price (and the site's price text, e.g. OBO or Auction Vehicle), currency, location, description snippet, badge, seller type, featured flag, image and link. total and pages are the site's counts. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Part of the ClassicCars.com API: 7 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
q | string | Keywords in the listing, e.g. fastback. |
make | string | Make, e.g. Ford (see /classiccars/v1/makes). Example: Ford |
model | string | Model, with make, e.g. Mustang. Example: Mustang |
year_min | integer | Earliest model year. |
year_max | integer | Latest model year. |
price_min | integer | Lowest asking price (USD). |
price_max | integer | Highest asking price (USD). |
country | string | Country name, e.g. United States, Canada. |
state | string | State or province name, with country, e.g. California. |
zip | string | ZIP or postal code to search around. |
distance | 25 | 50 | 100 | 250 | 500 | Miles around zip. |
vehicle_type | car | motorcycle | other | rv | truck | van | suv | Vehicle type. |
sellers | string | Only these seller types, comma separated: private, dealer, auction (default all). |
sort | default | datelisted | year | makemodel | price | Sort field (default: the site's own order). |
order | asc | desc | Sort direction (default descending). |
page_size | 15 | 30 | 60 | Listings per page (default 30). |
page | integer | Page number (default 1). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/classiccars/v1/search?make=Ford&model=Mustang" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/classiccars/v1/search",
params={"make": "Ford", "model": "Mustang"},
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/classiccars/v1/search");
url.searchParams.set("make", "Ford");
url.searchParams.set("model", "Mustang");
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).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"query": {"q": null,"make": "Ford","model": "Mustang","year_min": null,"year_max": null,"price_min": null,"price_max": null,"country": null,"state": null,"zip": null,"distance": null,"vehicle_type": null,"sellers": null,"sort": "default","order": null,"page_size": 30},"total": 1397,"page": 1,"pages": 47,"count": 30,"next_page": 2,"search_url": "https://classiccars.com/listings/find/all-years/ford/mustang?ps=30","results": [{"id": "2123776","listing_id": "CC-2123776","title": "1968 Ford Mustang","year": 1968,"make": "Ford","model": "Mustang","price": null,"price_text": "Contact Seller","currency": "USD","obo": false,"location": "Venice, Florida","snippet": "- J Code 302C.I. V8 Engine - 4-Barrel Carburetor - C-4 Automatic Transmission - Power Top - Power St","badge": "Priority Seller Showcased","seller_type": "dealer","featured": true,"image": "https://photos.classiccars.com/cc-temp/listing/212/3776/62079118-1968-ford-mustang-thumb.jpg","url": "https://classiccars.com/listings/view/2123776/1968-ford-mustang-for-sale-in-venice-florida-34293"},{"id": "2123676","listing_id": "CC-2123676","title": "1969 Ford Mustang","year": 1969,"make": "Ford","model": "Mustang","price": 125294,"price_text": "$125,294","currency": "USD","obo": false,"location": "Mesa, Arizona","snippet": "Classic Car Addict is proud to present this 1969 Ford Mustang Boss 302 Fastback for sale in our Mesa","badge": "Priority Seller Showcased","seller_type": "dealer","featured": true,"image": "https://photos.classiccars.com/cc-temp/listing/212/3676/62073175-1969-ford-mustang-thumb.jpg","url": "https://classiccars.com/listings/view/2123676/1969-ford-mustang-for-sale-in-mesa-arizona-85210"},"… 28 more"],"cached": false,"credits_used": 1}