Return the hero image URL and content type for one CarMax vehicle by stock number. The endpoint verifies the image exists on the CDN and returns the public URL; it does not proxy the image bytes. The CDN serves webp despite the .jpg extension.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
integer
Required
8-digit CarMax stock number.
10
Errors
Handle these documented responses before retrying or showing customer-facing failures.
HTTP 422
A public parameter is invalid. This response is not billable.
HTTP 503
CarMax did not return usable data for this request. This response is not billable.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.