Look up vehicle dimensions
Supply exactly one of VIN, US plate and state, or year, make, model and trim. If a short trim matches several catalog styles that agree on length, width, height, parking category and weight class, the shared values are returned. Otherwise the request returns 409 with the full style names to retry with, and is not charged. When combined MPG is unavailable it is estimated from city and highway MPG. Gasoline range uses tank capacity times combined MPG. Each step bills at its own endpoint price on your plan. See https://carsxe.com/pricing for current prices. | Request | Steps charged | | --- | --- | | Dimensions by VIN | Specifications | | Dimensions by year, make, model and trim | YMM | | Dimensions by US plate and state | US Plate Decoder + Specifications | | Classify (plate photo) | Plate Recognition + US Plate Decoder + Specifications | A request is charged only when it returns 200 with dimensions. A 404, 409, 422 or 503 charges no step. For credit-billed accounts, a plate or photo request first checks that the wallet covers the sum of its steps and returns 402 without charging if it does not. A retry with the same `Idempotency-Key` replays steps that were already charged.
Supply exactly one of VIN, US plate and state, or year, make, model and trim. If a short trim matches several catalog styles that agree on length, width, height, parking category and weight class, the shared values are returned. Otherwise the request returns 409 with the full style names to retry with, and is not charged. When combined MPG is unavailable it is estimated from city and highway MPG. Gasoline range uses tank capacity times combined MPG.
Each step bills at its own endpoint price on your plan. See https://carsxe.com/pricing for current prices.
| Request | Steps charged |
|---|---|
| Dimensions by VIN | Specifications |
| Dimensions by year, make, model and trim | YMM |
| Dimensions by US plate and state | US Plate Decoder + Specifications |
| Classify (plate photo) | Plate Recognition + US Plate Decoder + Specifications |
A request is charged only when it returns 200 with dimensions. A 404, 409,
422 or 503 charges no step. For credit-billed accounts, a plate or photo
request first checks that the wallet covers the sum of its steps and returns
402 without charging if it does not. A retry with the same Idempotency-Key
replays steps that were already charged.
Authorization
ApiKeyQuery Your CarsXE API key, passed as the key query parameter.
In: query
Query Parameters
Response Body
application/json
application/json
{
"success": true,
"vehicle": {
"year": 0,
"make": "string",
"model": "string",
"trim": "string"
},
"dimensions": {
"length_in": 0,
"width_in": 0,
"height_in": 0,
"wheelbase_in": 0,
"curb_weight_lbs": 0,
"gvwr_lbs": 0,
"bed_length_in": 0,
"cargo_volume_cuft": 0,
"ground_clearance_in": 0
},
"classification": {
"body_style": "string",
"size_class": "string",
"parking_category": "compact",
"weight_class": "class_1",
"is_commercial": true,
"passenger_capacity": 0
},
"fuel_and_energy": {
"fuel_type": "string",
"mpg_city": 0,
"mpg_highway": 0,
"mpg_combined": 0,
"tank_size_gal": 0,
"range_miles": 0,
"ev_specs": {
"battery_capacity_kwh": 0,
"range_miles": 0,
"max_dc_charge_kw": 0,
"charge_time_l2_hours": 0,
"charge_time_dc_10_80_min": 0,
"charge_port_type": "string"
}
},
"towing_and_hauling": {
"max_towing_lbs": 0,
"max_payload_lbs": 0,
"has_trailer_hitch": true
}
}{
"success": false,
"message": "string",
"trim_options": [
"string"
]
}