CarMax
CarMax Store Inventory API
The cars on one CarMax store's lot, with the same make, model, body type, facet, year, price, mileage and shipping filters, sorts and paging as search: total is that store's lot count for the filters, and zip prices each car's shipping. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonstore_idstring | integerrequiredA CarMax store id (stores[].id).
Example: 7115
zipstringrequiredA 5-digit US ZIP code. CarMax prices each car's shipping fee and dates to it.
Example: 75201
makestringA make by name or slug (Ford, land-rover; makes lists them).
Example: Ford
modelstringWith make: a model by name or slug (F-150 and F150 both work, RAV4, CX-5, Model 3; models lists a make's models).
Example: F-150
body_typestringA body type as CarMax writes it: the url_segment of a VehicleType facet value (suvs, sedans, trucks, coupes, hatchbacks, minivans-and-vans, convertibles, wagons).
Example: suvs
filtersstring[]Up to 8 facet values by url_segment (facets[].values[].url_segment with include_facets): drivetrain, colour, engine type, features, packages, cylinders, size, doors.
Example: ["all-wheel-drive", "black"]
year_minintegerEarliest model year (1980-2028, not above year_max).
Example: 2021
year_maxintegerLatest model year (1980-2028).
Example: 2023
price_minintegerLowest price, USD (0-1000000, not above price_max).
Example: 15000
price_maxintegerHighest price, USD.
Example: 30000
mileage_minintegerLowest mileage (0-1000000, not above mileage_max).
Example: 0
mileage_maxintegerHighest mileage.
Example: 60000
max_shipping_feeintegerCarMax's "Max shipping fee" filter, USD: 0, 99, 199, 299, 399, 499 or 999 (0 = free to home or store). No limit by default.
Example: 0
sortenum<string>default:best_matchCar order, as CarMax offers it.
Example: price_asc
best_match— CarMax's own order (default).distance— Nearest to the zip first.price_asc— Price, low to high.price_desc— Price, high to low.mileage_asc— Lowest mileage first.mileage_desc— Highest mileage first.year_desc— Newest model year first.year_asc— Oldest model year first.
pageintegerdefault:1Page, from 1 (1-1000); has_more says whether another page exists. page x page_size stays within the first 10,000 cars.
Example: 2
page_sizeintegerdefault:24Cars per page, 1 to 100. 100 cars can take CarMax 80 seconds.
Example: 24
include_facetsbooleandefault:falseAdd facets: every filter value with its url_segment and count (makes carry their models), and the year / price / mileage ranges with counts.
Example: true
Notes
CarMax. CarMax (carmax.com, the largest US used-car retailer, with 263 stores in 42 states and no-haggle prices): US only, prices in USD. Every car is CarMax's own inventory, sold by CarMax; there are no private sellers. CarMax publishes no public developer API or inventory feed. This endpoint costs 1 credit. No VIN is returned on any endpoint. Owner reviews carry the review text, ratings and the reviewer's car (year, make, model, mileage, time owned) and no reviewer name or any reviewer identity. Store addresses and phone numbers are CarMax's public business contact. On 2026-11-26 the Texas Stadium (Irving) store (7115) had 71 Toyotas on its lot (total 71, applied make Toyota and storeid 7115): page 1 held RAV4, RAV4 Hybrid, Corolla, Corolla Cross, Corolla Hatchback and Tacoma cars from $19,998 (a 2016 RAV4 XLE, 87,257 miles) to $40,998 (a 2024 Tacoma Limited, 41,192 miles). radius does not apply: the answer lists one store's lot. shipping on every search and store-inventory car is for the zip you send: fee (USD to that ZIP; null when CarMax shows none), text as CarMax words it (e.g. "Test drive today • Plano" or "$49 shipping • Nov 27-Dec 4"), type, transferable, arrival, min_days and max_days. distance_miles is from the zip. Around 75201 on 2026-11-26 all 10 Ford F150s on page 1 within 100 miles showed a $49 fee: 9 read Test drive today at a nearby store, the one in Tyler (97.9 miles) Nov 27-Dec 4; cars on the Texas Stadium (Irving) lot showed fee null and arrival today. The listing endpoint carries no shipping: use search with a zip.
| Endpoint | Credits |
|---|---|
search | 1 credit |
listing | 1 credit |
photos | 1 credit |
stores | 1 credit |
store | 1 credit |
store-inventory | 1 credit |
reviews | 1 credit |
review-summary | 1 credit |
suggestions | 1 credit |
makes | 1 credit |
models | 1 credit |
car-value | 1 credit |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=240)
# Every Toyota on the Texas Stadium (Irving) lot (1 credit a page).
d = client.carmax.store_inventory(store_id="7115", make="Toyota", zip="75201", page_size=10)["data"]
print(d["store_name"], d["total"], "Toyotas on the lot")
for c in d["cars"]:
print(c["year"], c["model"], c["trim"], c["price"], c["mileage"])Response