The CarsXE Vehicle Plate Decoder API returns detailed vehicle information using a license or registration plate number and the corresponding region code (country or state). Through CarsXE integration, it provides essential attributes such as VIN, make, model, year, trim, body style, engine size, and more and other vehicle attributes through CarsXE integration.
GET https://api.marketcheck.com/v2/carsxe/plate-decoder/{plate}
Path Parameters:
plate
: Vehicle registration/license plate number to decode.The following example demonstrates a basic request to the CarsXE Vehicle Plate Decoder API:
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/carsxe/plate-decoder/7XER187',
params: {api_key: 'YOUR_API_KEY', country: 'US', state: 'CA'},
headers: {Accept: 'application/json'}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
The CarsXE Vehicle Plate Decoder API provides access to vehicle information using license plate lookup.
Available parameters for plate decoder requests:
Your MarketCheck API authentication key. Required for every request, unless OAuth is used.
Two-letter country code (as per ISO 3166-1 alpha-2). Default - us
.
Two-letter state/province code required for US and Canada plates. Must be exactly two characters (e.g., CA
, TX
, ON
).
The following parameters are required for plate decoder requests:
United States (US)
State | Abbreviation | State | Abbreviation |
---|---|---|---|
Alabama | AL | Montana | MT |
Alaska | AK | Nebraska | NE |
Arizona | AZ | Nevada | NV |
Arkansas | AR | New Hampshire | NH |
California | CA | New Jersey | NJ |
Colorado | CO | New Mexico | NM |
Connecticut | CT | New York | NY |
Delaware | DE | North Carolina | NC |
District of Columbia | DC | North Dakota | ND |
Florida | FL | Ohio | OH |
Georgia | GA | Oklahoma | OK |
Hawaii | HI | Oregon | OR |
Idaho | ID | Pennsylvania | PA |
Illinois | IL | Rhode Island | RI |
Indiana | IN | South Carolina | SC |
Iowa | IA | South Dakota | SD |
Kansas | KS | Tennessee | TN |
Kentucky | KY | Texas | TX |
Louisiana | LA | Utah | UT |
Maine | ME | Vermont | VT |
Maryland | MD | Virginia | VA |
Massachusetts | MA | Washington | WA |
Michigan | MI | West Virginia | WV |
Minnesota | MN | Wisconsin | WI |
Mississippi | MS | Wyoming | WY |
Canada (CA)
Province/Territory | Abbreviation | Province/Territory | Abbreviation |
---|---|---|---|
Alberta | AB | Northwest Territories | NT |
British Columbia | BC | Nova Scotia | NS |
Manitoba | MB | Nunavut | NU |
New Brunswick | NB | Ontario | ON |
Newfoundland and Labrador | NL | Prince Edward Island | PE |
Quebec | QC | Saskatchewan | SK |
Yukon | YT |
The CarsXE Vehicle Plate Decoder API returns vehicle identification information for the specified license plate in a structured JSON format.
interface Response {
success: boolean; // Indicates if the lookup was successful
input: {
plate: string; // Original license plate number
state: string; // State/province code used in lookup
country: string; // Country code used in lookup
};
description: string; // Vehicle description summary
make: string; // Vehicle manufacturer
model: string; // Vehicle model name
trim: string; // Trim level
vin: string; // Vehicle Identification Number
style: string; // Body style description
year: string; // Model year
registration_year: string; // Registration year
engine_size: string; // Engine size and configuration
assembly: string; // Country/location of assembly
fuel_type: string; // Fuel type
color: string; // Vehicle color
body_style: string; // Body style category
engine: string; // Engine description
drive_type: string; // Drivetrain type
transmission: string; // Transmission type
}
200 OK
- Returns a JSON object containing vehicle information for the license plate
Status Code | Description | Common Causes |
---|---|---|
400 | Bad Request | Invalid plate format or parameter values such as incorrect length of country or state codes |
401 | Unauthorized | Missing/invalid API key |
403 | Forbidden | API key does not have access to this endpoint |
422 | Unprocessable Entity | Plate not found or data unavailable |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Temporary server issues |
502 | Bad Gateway | Issues with upstream services |
503 | Service Unavailable | API maintenance or downtime |
Error Response Format
Most error responses follow this structure, except for 502 and 503 errors
{
"code": <HTTP status code>,
"message": "<Error message describing the issue>"
}
Use the CarsXE Vehicle Plate Decoder to identify vehicles using license plate information. This is useful for insurance claims, law enforcement, and vehicle identification purposes.
Example:
Here we're looking up a vehicle by license plate number:
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.marketcheck.com/v2/carsxe/plate-decoder/7XER187',
params: {api_key: 'YOUR_API_KEY', country: 'US', state: 'CA'},
headers: {Accept: 'application/json'}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}