+CarMax API
Search CarMax's used car inventory and pull car details, customer reviews, model research and store data as clean JSON.
The API.SH CarMax API turns CarMax's public site into structured JSON. Search the nationwide inventory by make, model, keyword, year, price, mileage, highway MPG, color, body type, drivetrain, fuel and features, near a ZIP or across the country, and sort by price, mileage, year or newest arrivals. Each car comes with its stock number, VIN, price and price drop, mileage, specs, features, customer rating, store and transfer details. Pull one car's full record with features by category, history (accidents, owners, prior use), warranties and the model's pros and cons, read CarMax customer reviews, open CarMax's research page for a model year, and list every store with address, phone numbers and hours.
- 7 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/carmax/v1/ search
{"total": 1252,"page": 1,"count": 24,"next_page": 2,"applied_filters": {"make": "toyota","model": "camry","zip": null,"radius": null,"local_only": false,"sort": "best_match"},"selected": [{"name": "make","value": "toyota","label": "Toyota"},{"name": "model","value": "camry","label": "Camry"}],"location": {"store_id": 7126,"store_name": "Burbank","distance_miles": 8.3},"cars": [{"stock_number": 28861525,"url": "https://www.carmax.com/car/28861525","vin": "4T1G11AK6LU351313","year": 2020,"make": "Toyota","model": "Camry","trim": "SE","body": "4D Sedan","price": 23998,"original_price": null,"price_drop": false,"mileage": 47076,"exterior_color": "White","interior_color": "Gray","transmission": "Automatic","drivetrain": "Front Wheel Drive","engine": {"type": "Gas","size": "2.5L","cylinders": 4,"horsepower": 203,"torque": 184},"mpg": {"city": 28,"highway": 39},"battery_range_miles": null,"features": ["Power Locks","Power Windows","… 19 more"],"highlights": ["lowMilesPerYear","fuelEfficient","… 1 more"],"rating": 4.769230769230769,"review_count": 39,"store": {"id": 7810,"name": "LAX","city": "Inglewood","state": "CA","distance_miles": 15.2},"transfer": {"fee": 0,"type": "test-drive","text": "Test drive today at","min_days": 3,"max_days": 3,"transferable": true},"new_arrival": false,"coming_soon": false,"reserved": false,"listed_at": "2026-10-28T17:40:06.148Z","image": "https://img2.carmax.com/assets/28861525/hero.jpg?width=800"},{"stock_number": 29120934,"url": "https://www.carmax.com/car/29120934","vin": "4T1G11AK3LU957524","year": 2020,"make": "Toyota","model": "Camry","trim": "SE","body": "4D Sedan","price": 23998,"original_price": null,"price_drop": false,"mileage": 42836,"exterior_color": "Gray","interior_color": "Black","transmission": "Automatic","drivetrain": "Front Wheel Drive","engine": {"type": "Gas","size": "2.5L","cylinders": 4,"horsepower": 203,"torque": 184},"mpg": {"city": 28,"highway": 39},"battery_range_miles": null,"features": ["SiriusXM Trial Available","Android Auto","… 19 more"],"highlights": ["singleOwner","lowMilesPerYear","… 2 more"],"rating": 4.769230769230769,"review_count": 39,"store": {"id": 7810,"name": "LAX","city": "Inglewood","state": "CA","distance_miles": 15.2},"transfer": {"fee": 0,"type": "test-drive","text": "Test drive today at","min_days": 3,"max_days": 3,"transferable": true},"new_arrival": false,"coming_soon": false,"reserved": false,"listed_at": "2026-10-10T21:31:49.06Z","image": "https://img2.carmax.com/assets/29120934/hero.jpg?width=800"},"… 22 more"],"filters": [{"name": "PriceDrop","label": "Price drops","type": "Flag"},{"name": "Distance","label": "Distance or Shipping","type": "Distance"},"… 17 more"],"cached": false,"credits_used": 1} What you can build with the CarMax API
Used car price tracking
Run the same make, model and year search every day and record each stock number's price and price drops to follow how CarMax prices a model over time.
Inventory and market analysis
Count cars by make, model, year, mileage band and store, and read the filter counts that come with every search to see what CarMax has in stock nationwide or near a ZIP.
Vehicle detail pages and comparisons
Pull one car's VIN, specs, features, history, warranties and pros and cons to build comparison tools or enrich a listing in your own app.
Owner sentiment research
Collect CarMax customer reviews of a model with ratings, likes, dislikes and the car's mileage and time owned, filtered by stars and sorted by newest or most helpful.
Store locator and local data
List CarMax stores by state and pull each store's address, coordinates, sales and service phone numbers, opening hours and holiday hours.
Search box suggestions
Use CarMax's own suggestions for typed text to map free text to makes, models and features before running a search.
CarMax data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
CarMax API endpoints and prices
Every CarMax endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| CarMax search suggestions /carmax/ | $1 · $2 PAYG 1 credit |
| CarMax model research /carmax/ | $1 · $2 PAYG 1 credit |
| CarMax car search /carmax/ | $1 · $2 PAYG 1 credit |
| CarMax customer reviews /carmax/ | $1 · $2 PAYG 1 credit |
| CarMax car details /carmax/ | $1 · $2 PAYG 1 credit |
| CarMax store details /carmax/ | $1 · $2 PAYG 1 credit |
| CarMax stores /carmax/ | $1 · $2 PAYG 1 credit |
Call the CarMax API
CarMax car search: GET https://api.api.sh/carmax/
curl "https://api.api.sh/carmax/v1/search?make=toyota&model=camry" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/carmax/v1/search",
params={"make": "toyota", "model": "camry"},
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/carmax/v1/search");
url.searchParams.set("make", "toyota");
url.searchParams.set("model", "camry");
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(); # Google Sheets (API.SH add-on)
=APISH("/carmax/v1/search", "make", "toyota", "model", "camry")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "CarMax" and "CarMax car search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 916 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for CarMax data
- Public data only: no CarMax login, cookies or account needed
- One key and one response shape for CarMax and 915 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- No rate limits: run as many calls in parallel as you need
- Live status for every endpoint
API.SH vs the official CarMax API
CarMax does not offer a public developer API for its inventory, reviews or store data; searches for a CarMax API lead to GitHub projects, Reddit threads and third-party car data vendors. API.SH reads CarMax's public pages and returns them as JSON with one key.
Instead of maintaining your own CarMax scraper or buying a generic car data feed, API.SH gives you CarMax's own inventory, reviews and store data in one JSON format at a fixed price per call.
CarMax API questions
What CarMax data can I get?+
Inventory search with filters and counts (/carmax/v1/search), one car's full details (/carmax/v1/car), customer reviews (/carmax/v1/reviews), model-year research with specs, trims and reliability (/carmax/v1/research), all stores (/carmax/v1/stores), one store's address, phones and hours (/carmax/v1/store) and search suggestions (/carmax/v1/autocomplete).
How much does the CarMax API cost?+
Every CarMax endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /carmax/v1/autocomplete at 1 credit each.
Is there an official CarMax API?+
No public one. CarMax does not publish a developer API for its inventory or reviews. API.SH returns the data CarMax shows on its public site as JSON.
Do I need a CarMax account or login?+
No. API.SH reads public CarMax pages only. No endpoint uses a login, cookies or anyone's account.
Can I export CarMax inventory to Excel or a spreadsheet?+
Yes. Call /carmax/v1/search page by page and save the cars as CSV, or use the Google Sheets add-on to pull results straight into a sheet. Each car has its stock number, VIN, price, mileage, specs and store.
How does pagination work?+
Search returns next_page; pass it back as page to get the next 24 cars (up to 48 with limit). It is null on the last page. Reviews page the same way, 10 at a time.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /carmax/v1/search with make and model, for example make=toyota&model=camry. Request examples and every parameter are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.
Is scraping CarMax legal?+
API.SH only reads data CarMax shows publicly to every visitor, such as listings, prices and reviews. How you use the data is up to you: follow CarMax's terms and the laws that apply to you.
Does the CarMax API have a rate limit?+
No. API.SH puts no rate limit on your key: send as many CarMax calls in parallel as you need and pay only for the calls that run. If CarMax itself slows down, the call returns 503 with a retry-after header and is not charged.