Discover/carmax.com API
live

carmax.com APIcarmax.com

Search CarMax used car inventory, retrieve full vehicle specs and images, and get store locations and hours via a structured JSON API.

Endpoints
5
Updated
3mo ago
Try it
Filter path for cars (e.g. /cars, /cars/toyota, /cars/toyota/camry, /cars/suv).
Number of results to skip for pagination.
Sort order. Accepted values: bestmatch, price-asc, price-desc, mileage-asc, year-desc, dis
Number of results to return per page.
5-digit US ZIP code for location-based results and shipping estimates.
api.parse.bot/scraper/ac3c0c60-727b-4ee5-bf80-9bab762f7082/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/ac3c0c60-727b-4ee5-bf80-9bab762f7082/search_cars?uri=%2Fcars%2Ftoyota&skip=0&sort=bestmatch&take=3&zip_code=90001' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Search for used cars on CarMax with filters and pagination. The uri parameter filters by make, model, or body type. Returns vehicle listings with pricing, mileage, and availability info.

Input
ParamTypeDescription
uristringFilter path for cars (e.g. /cars, /cars/toyota, /cars/toyota/camry, /cars/suv).
skipintegerNumber of results to skip for pagination.
sortstringSort order. Accepted values: bestmatch, price-asc, price-desc, mileage-asc, year-desc, distance-asc.
takeintegerNumber of results to return per page.
zip_codestring5-digit US ZIP code for location-based results and shipping estimates.
Response
{
  "type": "object",
  "fields": {
    "items": "array of vehicle objects with stockNumber, make, model, year, basePrice, mileage, exteriorColor, storeId, distance, and more",
    "totalCount": "integer total number of matching vehicles"
  },
  "sample": {
    "data": {
      "items": [
        {
          "make": "Toyota",
          "trim": "SE",
          "year": 2019,
          "model": "Corolla",
          "mileage": 97325,
          "storeId": 7124,
          "distance": 26.2,
          "basePrice": 16998,
          "storeName": "Canoga Park",
          "engineType": "Gas",
          "stockNumber": 27928239,
          "heroImageUrl": "https://img2.carmax.com/assets/27928239/hero.jpg?width=400&height=300",
          "transmission": "Automatic",
          "exteriorColor": "Blue",
          "stateAbbreviation": "CA"
        }
      ],
      "totalCount": 6565
    },
    "status": "success"
  }
}

About the carmax.com API

The CarMax API covers 5 endpoints that expose used car inventory, vehicle details, and store data from CarMax.com. The search_cars endpoint returns paginated vehicle listings with pricing, mileage, and availability across the full national inventory, while get_vehicle_details delivers per-vehicle specs, feature lists, images, and customer review summaries — all in structured JSON.

Inventory Search and Vehicle Details

The search_cars endpoint accepts a uri parameter that scopes results to a make, model, or body type — for example /cars/toyota/camry or /cars/suv. Combine it with sort (accepted values: bestmatch, price-asc, price-desc, mileage-asc, year-desc, distance-asc), a zip_code for distance-sorted results, and skip/take for pagination. Each item in the response includes stockNumber, make, model, year, basePrice, mileage, exteriorColor, storeId, and distance.

Once you have a stockNumber, pass it to get_vehicle_details to retrieve the full record: a base object with VIN and color data, a specs array organized by category, a features array with category and feature names, highlights with titled descriptions, an images object with direct URLs, and a reviews object containing customerReviews, average rating, topPros, and topCons for that make/model.

Store Locations and Store Inventory

get_stores returns the full list of CarMax locations with name, structured address fields (addressLocality, addressRegion, addressCountry), and geo coordinates — no inputs required. For a specific location, get_store_details takes a store_id and returns operating hours, holiday hours, service hours, phone numbers, real-time open/closed status, and store capabilities. To browse the cars available near a specific store, pass the same store_id to get_store_inventory, which returns paginated vehicle listings in the same format as search_cars.

Common use cases
  • Build a used car price tracker that monitors basePrice changes across a specific make and model using search_cars.
  • Populate a vehicle comparison tool with specs, features, and images pulled from get_vehicle_details.
  • Display a store locator map using latitude/longitude coordinates from get_stores.
  • Show real-time store open/closed status and hours in a dealership finder app via get_store_details.
  • Filter local inventory for a specific store by pairing get_store_inventory with store_id and zip_code.
  • Aggregate customer review sentiment (average rating, topPros, topCons) across vehicle models using get_vehicle_details.
  • Generate mileage-sorted shortlists of available SUVs using search_cars with uri=/cars/suv and sort=mileage-asc.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does CarMax offer an official public developer API?+
CarMax does not publish a public developer API or API documentation for third-party access to its inventory or store data.
What does `get_vehicle_details` return beyond basic listing data?+
It returns a base object (VIN, year, price, colors), a specs array grouped by category, a features array with category and feature names, highlights with title and description pairs, an images object with direct URLs, and a reviews object with individual customer reviews, average rating, topPros, and topCons for the make/model.
Can I filter `search_cars` results by price range or mileage range?+
The endpoint supports sorting by price or mileage (price-asc, price-desc, mileage-asc) and scoping by make, model, or body type via the uri parameter, but min/max price or mileage range filters are not currently exposed as inputs. You can fork this API on Parse and revise it to add those filter parameters.
Does the API expose CarMax financing or monthly payment estimates?+
Not currently. The vehicle endpoints return basePrice and listing metadata, but financing terms, APR estimates, or monthly payment calculations are not included in the response fields. You can fork the API on Parse and revise it to add a financing-details endpoint.
How does pagination work across `search_cars` and `get_store_inventory`?+
Both endpoints use skip and take integer parameters. totalCount in the response tells you the full number of matching records, so you can calculate how many pages exist and increment skip by take to walk through results.
Page content last updated . Spec covers 5 endpoints from carmax.com.
Related APIs in AutomotiveSee all →
car-part.com API
Search for recycled auto parts across thousands of vehicles and get detailed information on pricing, availability, and specifications from car-part.com. Find the exact parts you need with comprehensive search metadata and individual part details to compare options and locate the best deals.
honda.ca API
Get current Honda Canada vehicle pricing, lease and finance payment options, APR rates, and available incentives across all Canadian provinces to compare deals in real-time. Calculate custom payment scenarios and browse all Honda models with their latest promotional offers directly from Honda Canada's official pricing data.
autodoc.co.uk API
Find auto parts and check compatibility with your vehicle by browsing makes, models, and engines, then search for parts with detailed specifications and discover equivalent alternatives. Get everything you need to identify the right replacement parts for any car in the Autodoc catalog.
leboncoin.fr API
Search and retrieve detailed listings from Leboncoin across cars, real estate, jobs, and other categories with advanced filtering options. Access seller profiles, pricing analytics, and comprehensive listing details to find exactly what you're looking for on France's leading classifieds platform.
auctiontime.com API
Search and browse equipment and truck auction listings from AuctionTime.com, view detailed information about specific auctions, filter by category and auctioneer, and track auction results by date. Access comprehensive auction data including listings, categories, and auctioneer information all in one place.
yad2.co.il API
Search for apartments and cars on Yad2's marketplace and access detailed listing information including photos, prices, and specifications. Instantly reveal seller contact information to connect directly with real estate agents and car dealers.
turo.com API
Search for peer-to-peer car rentals across Turo by location and dates to browse available vehicles with pricing, specifications, and real-time availability. Get detailed information on specific cars to compare features and make rental decisions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.