CarMax car details

GET https://api.api.sh/carmax/v1/car
1 credit / call automotive try it in the playground →

One CarMax car: price and price drop, VIN, year, make, model, trim, mileage, colors, engine, transmission, drivetrain, MPG, fuel tank, every feature by category, packages, highlights, history (accidents, owners, prior use), warranties, generation, store and lot, the model's pros and cons, and listing dates. Sold cars answer 404.

Every response includes credits_used: the credits this call cost.

Part of the CarMax API: 7 endpoints with prices, use cases and example responses.

Parameters

nametypedescription
stock_number string CarMax stock number (stock_number in search), or a carmax.com/car/<number> link in url. Required unless latest=true.
url string A carmax.com/car/<number> link.
latest true | false true = the first car of a search with the make/model/filters params below, instead of a stock number. Example: true
make string With latest=true: make. Example: toyota
model string With latest=true: model. Example: camry

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/carmax/v1/car?latest=true&make=toyota&model=camry" \
  -H "x-api-key: $APISH_KEY"

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)

{"stock_number": "28861525","url": "https://www.carmax.com/car/28861525","status": "VALUMAX","vin": "4T1G11AK6LU351313","year": 2020,"make": "Toyota","model": "Camry","trim": "SE","body_style": "4D Sedan","price": 23998,"previous_price": null,"price_reduced": false,"price_drop_date": null,"fees": 0,"mileage": 47076,"exterior_color": "White","interior_color": "Gray","engine": "4-cyl, Gas, 2.5L","transmission": "Automatic","drivetrain": "Front Wheel Drive","fuel": {"type": "Gas","capacityInGallons": 16},"mpg": {"mpgHighway": 39,"mpgCity": 28,"mpgCombined": 32,"isMpgEquivalent": false,"batteryRangeInMiles": null},"vehicle_type": ["Sedans"],"feature_score": 6,"feature_summary": "Well-Equipped","features": [{"name": "Power Seat(s)","category": "Comfort & Convenience","description": "Set and adjust your seats to the perfect setting.","installed_option": false},{"name": "Air Conditioning","category": "Comfort & Convenience","description": null,"installed_option": false},"… 26 more"],"packages": [],"highlights": [{"title": "Low Miles Per Year","description": "Less than 9,000 miles per year"},{"title": "Fuel Efficient","description": "28 City / 39 Hwy"}],"history": {"accidents": 0,"owners": 2,"prior_uses": ["Personal Use"]},"warranty": {"basicWarrantyStatement": null,"warranties": [{"type": "Basic","years": 3,"miles": 36000},{"type": "Corrosion","years": 5,"miles": null},"… 3 more"]},"generation": {"startYear": 2018,"endYear": 2024,"displayName": "Sixth generation"},"status_details": {"isNewArrival": false,"isComingSoon": false,"isSaleable": true,"isAvailableToTransact": true,"isTransferable": true,"isReserved": false,"isSold": false},"store": {"id": 7810,"name": "LAX","state": "CA","latitude": 33.95845,"longitude": -118.37018,"remote_lot": false},"pros": ["Available AWD paired with four-cylinder","Thrifty performance for the size","… 1 more"],"cons": ["AWD not available with V6","Driver-assistance tech is sensitive","… 1 more"],"first_listed_at": "2026-10-09T03:33:28.6097777Z","listed_at": "2026-10-28T17:40:06.1481142Z","updated_at": "2026-11-04T22:48:57.1271368Z","images": {"hero": "https://img2.carmax.com/assets/28861525/hero.jpg?width=800"},"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.