CarsXECarsXE

Look up vehicle data by year, make, and model, with an optional trim hint. This is useful when a VIN is unavailable but you still need structured specs, colors, features, pricing, or trim options.

Building cascading dropdown menus instead? See YMM Options.

Decoding a diagnostic trouble code instead? See OBD Codes Decoder.

Endpoint: /v1/ymm

Parameters

ParameterRequiredDescription
yearYesVehicle model year, numeric, between 1900 and the current model year plus one
makeYesManufacturer, for example Toyota, Ford, or BMW
modelYesVehicle model, for example Camry, F-150, or X5
trimNoTrim hint, for example XLE or Sport; fuzzy matched when possible
allTrimOptionsNoPass 1 to return all trim options for the year, make, and model

Example

Look up by year, make, and model

Code
curl -G https://api.carsxe.com/v1/ymm \
  -d key=YOUR_API_KEY \
  -d year=2023 \
  -d make=Toyota \
  -d model=Camry \
  -d trim=XLE

Response

Top-level shape

{
"success": true,// always true on 200
"timestamp": "2024-03-19T12:00:00.000Z"// ISO 8601 response time
}

Click any object or array to expand it and see sample data. For the full interactive reference, try it live in the API Reference.

All response fields are optional except success. Availability varies by vehicle, trim, and source coverage.

bestMatch

The bestMatch object contains the matched vehicle and trim data.

trimOptions

When allTrimOptions=1 is passed, trimOptions returns available trims for the requested year, make, and model. Use this when users need to choose a trim before requesting the best match.

color

Color data is grouped by exterior and interior. Each item uses the same shape:

features

Features are grouped into categories under features.standard.

Each feature item has:

input

The input object echoes the request values used for the lookup. It can include year, make, model, trim, and allTrimOptions.

If trim is omitted, the API returns the best/default trim match for the year, make, and model. If trim is provided but not exact, the API attempts a close match. Pass allTrimOptions=1 when you need the available trims instead of a single best match. Response fields vary by vehicle and source availability.

Errors

See the Errors guide for the full list.