APIs / CarMax / Search

CarMax: Search

Search from CarMax as JSON. 1 credit per successful call.

GET /v1/carmax/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
makestringOptionalUp to 64 characters
modelstringOptionalUp to 64 characters
yearstringOptionalUp to 16 characters
mileagestringOptionalUp to 16 characters
pricestringOptionalUp to 16 characters
sortstringOptionalbestmatch, distance-asc, price-asc, price-desc, mileage-asc, mileage-desc, year-desc, year-asc, newarrival
zipstringOptionalAny

Example request

CarMax
GET/v1/carmax/search
{
  "success": true,
  "data": {
    "total_count": 93755,
    "items": [
      {
        "stock_number": 29064611,
        "vin": "1C4RDJDG7PC631748",
        "year": 2023,
        "make": "Dodge",
        "model": "Durango",
        "body": "4D Sport Utility",
        "trim": "GT Plus",
        "base_price": 30998,
        "price_currency": "USD",
        "has_price_drop": false,
        "mileage": 41412,
        "mileage_unit": "mi",
        "store_id": 7173,
        "store_name": "Kansas City",
        "store_city": "Merriam",
        "state": "Kansas",
        "state_abbreviation": "KS",
        "average_rating": 4.5,
        "number_of_reviews": 10,
        "is_new_arrival": false,
        "is_transferable": false,
        "features": [
          "Tow Hitch",
          "Full Roof Rack",
          "Alloy Wheels"
        ],
        "highlighted_features": "4WD/AWD,Leather Seats,Satellite Radio Ready,Parking Sensors,Rear View Camera,Fold-Away Third Row",
        "highlights": [
          "singleOwner",
          "advancedFeatures"
        ],
        "last_made_saleable_date": "2026-10-06T06:38:27.064Z",
        "transfer_tags": [
          "SameLocation"
        ],
        "transfer_text": "Test drive today at",
        "transfer_type": "test-drive",
        "exterior_color": "White",
        "interior_color": "Black",
        "transmission": "Automatic",
        "mpg_city": 18,
        "mpg_highway": 25,
        "cylinders": 6,
        "drive_train": "All Wheel Drive",
        "engine_type": "Gas",
        "engine_size": "3.6L",
        "horsepower": 295,
        "engine_torque": 260,
        "is_saleable": true,
        "is_coming_soon": false,
        "is_reserved": false,
        "feature_score": 9,
        "vehicle_size": "Large",
        "vehicle_types": [
          "SUVs"
        ],
        "hero_image_url": "https://img2.carmax.com/assets/29064611/hero.jpg?width=800"
      },
      {
        "stock_number": 70052571,
        "vin": "5FNYF6H01KB021355",
        "year": 2019,
        "make": "Honda",
        "model": "Pilot",
        "body": "4D Sport Utility",
        "trim": "Elite",
        "base_price": 23998,
        "price_currency": "USD",
        "has_price_drop": false,
        "mileage": 107758,
        "mileage_unit": "mi",
        "store_id": 7173,
        "store_name": "Kansas City",
        "store_city": "Merriam",
        "state": "Kansas",
        "state_abbreviation": "KS",
        "average_rating": 4.764705882352941,
        "number_of_reviews": 17,
        "is_new_arrival": false,
        "is_transferable": false,
        "features": [
          "Apple CarPlay",
          "Memory Seat(s)",
          "Power Locks"
        ],
        "highlighted_features": "4WD/AWD,Leather Seats,Satellite Radio Ready,Parking Sensors,Rear View Camera,Fold-Away Third Row",
        "highlights": [
          "advancedFeatures"
        ],
        "last_made_saleable_date": "2026-09-10T22:43:36.068Z",
        "transfer_tags": [
          "SameLocation"
        ],
        "transfer_text": "Test drive today at",
        "transfer_type": "test-drive",
        "exterior_color": "White",
        "interior_color": "Black",
        "transmission": "Automatic",
        "mpg_city": 19,
        "mpg_highway": 26,
        "cylinders": 6,
        "drive_train": "All Wheel Drive",
        "engine_type": "Gas",
        "engine_size": "3.5L",
        "horsepower": 280,
        "engine_torque": 262,
        "is_saleable": true,
        "is_coming_soon": false,
        "is_reserved": false,
        "feature_score": 10,
        "vehicle_size": "Large",
        "vehicle_types": [
          "SUVs"
        ],
        "hero_image_url": "https://img2.carmax.com/assets/70052571/hero.jpg?width=800"
      },
      {
        "stock_number": 70266208,
        "vin": "1FATP8UH9P5113570",
        "year": 2023,
        "make": "Ford",
        "model": "Mustang",
        "body": "2D Convertible",
        "trim": "Ecoboost Premium",
        "base_price": 31998,
        "price_currency": "USD",
        "has_price_drop": false,
        "mileage": 11380,
        "mileage_unit": "mi",
        "store_id": 7173,
        "store_name": "Kansas City",
        "store_city": "Merriam",
        "state": "Kansas",
        "state_abbreviation": "KS",
        "average_rating": 4.9,
        "number_of_reviews": 10,
        "is_new_arrival": false,
        "is_transferable": false,
        "features": [
          "Power Windows",
          "Automated Cruise Control",
          "Power Locks"
        ],
        "highlighted_features": "Soft Top,Turbo Charged Engine,Leather Seats,Rear View Camera,Parking Sensors,Front Seat Heaters",
        "highlights": [
          "singleOwner",
          "lowMiles",
          "warranty"
        ],
        "last_made_saleable_date": "2026-09-24T13:29:18.233Z",
        "transfer_tags": [
          "SameLocation"
        ],
        "transfer_text": "Test drive today at",
        "transfer_type": "test-drive",
        "exterior_color": "White",
        "interior_color": "Black",
        "transmission": "Automatic",
        "mpg_city": 22,
        "mpg_highway": 32,
        "cylinders": 4,
        "drive_train": "Rear Wheel Drive",
        "engine_type": "Gas",
        "engine_size": "2.3L",
        "horsepower": 310,
        "engine_torque": 350,
        "is_saleable": true,
        "is_coming_soon": false,
        "is_reserved": false,
        "feature_score": 10,
        "vehicle_size": "Midsize",
        "vehicle_types": [
          "Convertibles",
          "Sports Cars"
        ],
        "hero_image_url": "https://img2.carmax.com/assets/70266208/hero.jpg?width=800"
      }
    ]
  },
  "meta": {
    "endpoint_family": "search",
    "duration_ms": 7294,
    "attempts": 2
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.items has these 46 fields, read from a recorded call that returned 48 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
stock_numberinteger
vinstring
yearinteger
makestring
modelstring
bodystring
trimstring
base_priceinteger
price_currencystring
has_price_dropboolean
mileageinteger
mileage_unitstring
store_idinteger
store_namestring
store_citystring
statestring
state_abbreviationstring
average_ratingnumber
number_of_reviewsinteger
is_new_arrivalboolean
is_transferableboolean
featuresstring[]
highlighted_featuresstring
highlightsstring[]
last_made_saleable_datestring
transfer_tagsstring[]
transfer_textstring
transfer_typestring
exterior_colorstring
interior_colorstring
transmissionstring
mpg_cityinteger
mpg_highwayinteger
cylindersinteger
drive_trainstring
engine_typestring
engine_sizestring
horsepowerinteger
engine_torqueinteger
is_saleableboolean
is_coming_soonboolean
is_reservedboolean
feature_scoreinteger
vehicle_sizestring
vehicle_typesstring[]
hero_image_urlurl