Year Make Model
Look up vehicle data by year, make and model (and optionally trim) without a VIN.
Look up vehicle data by year, make and model (and optionally trim) without a VIN.
Your CarsXE API key, passed as the key query parameter.
In: query
Query Parameters
The manufacturing year of the vehicle (numeric, between 1900 and the current model year plus one).
The manufacturer of the vehicle (e.g., Toyota, Ford, BMW).
The specific model of the vehicle (e.g., Camry, F-150, X5).
The vehicle trim (e.g., XLE, XSE).
Accepts true/1 or false/0, case-insensitively; defaults to false. Other values, arrays and objects return HTTP 400. Strict mode requires exact make/model and supplied trim, ignoring case and extra whitespace but preserving punctuation. Trim must equal the complete short trim or complete style string. Without trim, selects the most popular eligible style, otherwise the first in stable name/ID order. No eligible match returns the existing HTTP 404. Fuzzy mode retains substring-filtered selection without an unrestricted most-popular fallback.
falseReturn all trim options available for the year, make and model. Set to 1 to use. In strict mode, returns only eligible styles.
"1"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -G https://api.carsxe.com/v1/ymm \ -d key=CARSXE_API_KEY \ -d year=string \ -d make=string \ -d model=string{
"bestMatch": {
"trim_id": "ymm_style_v1_31ec8f9ad439d778b2dcb4dc8c0cfdafdf4ddf869d03d377de63684a02ab2eab",
"make": "Toyota",
"model": "Camry",
"year": "2023",
"name": "XLE 4dr Sedan (3.5L 6cyl 8A)"
},
"trimOptions": [
{
"trim_id": "ymm_style_v1_31ec8f9ad439d778b2dcb4dc8c0cfdafdf4ddf869d03d377de63684a02ab2eab",
"make": "Toyota",
"model": "Camry",
"year": "2023",
"name": "XLE 4dr Sedan (3.5L 6cyl 8A)"
}
],
"success": true,
"match_exact": true,
"input": {
"year": "2023",
"make": "Toyota",
"model": "Camry",
"trim": "XLE",
"exact_match": false,
"allTrimOptions": "1"
},
"timestamp": "2024-03-19T12:00:00.000Z"
}{
"success": false,
"message": "Missing year, make, or model"
}{
"success": false,
"message": "Missing API key"
}{
"success": false,
"message": "No vehicle found matching the specified year, make, and model. Try case-sensitive search such as \"2023 Toyota Camry\""
}{
"success": false,
"message": "API usage limit exceeded",
"usage": {
"current": 1000,
"limit": 1000,
"remaining": 0
}
}{
"success": false,
"message": "Could not fetch data"
}