CarMax
CarMax Search API
Search the used-car inventory of CarMax (carmax.com, the largest US used-car retailer, with no-haggle prices) around a US ZIP code: by make and model, body type, keyword, facet filters, year, price and mileage ranges and max shipping fee, within a radius or nationwide, 8 sorts, up to 100 cars a page. Each car carries CarMax's price, mileage, store, distance and the shipping fee and dates to your ZIP. 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/jsonzipstringrequiredA 5-digit US ZIP code. CarMax prices each car's shipping fee and dates to it, and the radius is measured from 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
keywordstringFree text CarMax searches across every make (e.g. rav4 hybrid), 1-120 characters. Not combined with make / model.
Example: rav4 hybrid
radiusstringMiles from zip: 5, 25, 50, 75, 100, 250, 500 or nationwide (default: every CarMax car, with the shipping fee to zip).
Example: 100
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 Ford F-150 within 100 miles of 75201, lowest mileage first, read total 49 (applied: make Ford, model F150), nearest store Texas Stadium (Irving) at 7 miles; page 1 ran from a 2026 F150 STX with 1,971 miles at $44,998 (Plano, 14 miles) to a 2025 F150 Lariat with 20,806 miles at $49,998 (Denton). radius is 5, 25, 50, 75, 100, 250, 500 or nationwide (default: every CarMax car, with the shipping fee to zip). keyword searches free text across every make (e.g. rav4 hybrid) and is not combined with make or model. price is CarMax's no-haggle price in USD, as CarMax shows it. It excludes taxes, title, registration and fees: the store endpoint's fee_disclaimer gives CarMax's own wording for that store's state. A price drop shows on listing as price_reduced, previous_price, price_drop_date, price_drop_expires and price_drop_text in CarMax's words (stock 29242747, a 2026 Ford F150 STX, read 44,998 after a $1,000 drop on November 20, 2026). Search tiles carry original_price and price_drop as CarMax gives them in its search, and these can be empty for a car whose page shows a drop (the same car's tile read original_price null, price_drop false): read listing for the drop. There is no price history beyond the previous price and drop date. 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. make and model by name or slug (F-150 and F150 both work; makes and models list them), body_type (a VehicleType url_segment: suvs, sedans, trucks, coupes, hatchbacks, minivans-and-vans, convertibles, wagons), filters (up to 8 facet url_segments from facets[].values[].url_segment with include_facets: drivetrain, colour, engine type, features, packages, cylinders, size, doors), year_min / year_max, price_min / price_max (USD), mileage_min / mileage_max, max_shipping_fee (0, 99, 199, 299, 399, 499 or 999 USD; 0 = free to home or store), 8 sorts and page / page_size (1-100, default 24; page x page_size stays within the first 10,000 cars). There is no trim filter: trims show on each car.
| 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)
# Ford F-150 within 100 miles of Dallas, lowest mileage first (1 credit).
d = client.carmax.search(make="Ford", model="F-150", zip="75201", radius="100",
sort="mileage_asc", page_size=10)["data"]
print(d["total"], "cars; nearest store", d["nearest_store"]["name"])
for c in d["cars"]:
print(c["year"], c["trim"], c["price"], c["mileage"], c["store"]["name"],
c["distance_miles"], c["shipping"]["fee"], c["shipping"]["text"])Response