Classify a vehicle from a plate image
Submit a publicly accessible HTTP or HTTPS image URL containing one US plate. The plate is read, decoded to a VIN, and the VIN's specifications supply the measurements. A photo without exactly one readable US plate returns 422 and is not charged. 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.
Submit a publicly accessible HTTP or HTTPS image URL containing one US plate. The plate is read, decoded to a VIN, and the VIN's specifications supply the measurements. A photo without exactly one readable US plate returns 422 and is not charged.
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
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
}
}