CarMax

Get CarMax "similar vehicles" recommendations for a listing

Returns CarMax's own similar-vehicle recommendations for a listing: stock number, description, display mileage/price, store location, and image, for vehicles CarMax considers comparable. An empty list is a normal result, not an error.

get/carmax/vehicle/{stock_number}/recommendations

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/carmax/vehicle/{stock_number}/recommendations
  • Auth: API key in header x-api-key

Path parameters

stock_numberstring required

CarMax stock number to find similar vehicles for, the numeric path segment of a /car/{stock_number} URL

Query parameters

store_idstring required

CarMax store id used as the recommendation's location context. See any search/vehicle/store response's store id field

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "recommendations": [
      {
        "description": "2022 Honda Civic Sport",
        "location": "San Gabriel Valley/Duarte",
        "mileage_display": "78K",
        "price_display": "$22,998",
        "stock_number": 70078825,
        "url": "https://www.carmax.com/car/70078825",
        "vehicle_caption": "Only available at CarMax San Gabriel Valley/Duarte, CA"
      }
    ],
    "stock_number": 28187774
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.