CarsXE Vehicle Plate Decoder

Retrieve detailed vehicle information using registration/license plate numbers and state codes via CarsXE integration.

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.

Users must accept the terms and conditions on the Universe Portal to access these endpoints. Check the Terms and Conditions for more information.

Base Path

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:

request.js
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);
}

Request

The CarsXE Vehicle Plate Decoder API provides access to vehicle information using license plate lookup.

Parameters

Available parameters for plate decoder requests:

3 Params
api_key
string required

Your MarketCheck API authentication key. Required for every request, unless OAuth is used.

country
string

Two-letter country code (as per ISO 3166-1 alpha-2). Default - us.

state
string

Two-letter state/province code required for US and Canada plates. Must be exactly two characters (e.g., CA, TX, ON).

Required Parameters

The following parameters are required for plate decoder requests:

  • plate - Vehicle registration/license plate number (provided in URL path)
    • Must be a valid license plate format
    • Case-insensitive string
  • country - Two-letter ISO 3166-1 alpha-2 country code
    • Must be exactly two characters (e.g., "US", "CA")
  • state - Two-letter state/province code
    • Required for US and Canada plates only
    • Must be exactly two characters (e.g., "CA", "TX", "ON")

State Codes Reference

United States (US)

StateAbbreviationStateAbbreviation
AlabamaALMontanaMT
AlaskaAKNebraskaNE
ArizonaAZNevadaNV
ArkansasARNew HampshireNH
CaliforniaCANew JerseyNJ
ColoradoCONew MexicoNM
ConnecticutCTNew YorkNY
DelawareDENorth CarolinaNC
District of ColumbiaDCNorth DakotaND
FloridaFLOhioOH
GeorgiaGAOklahomaOK
HawaiiHIOregonOR
IdahoIDPennsylvaniaPA
IllinoisILRhode IslandRI
IndianaINSouth CarolinaSC
IowaIASouth DakotaSD
KansasKSTennesseeTN
KentuckyKYTexasTX
LouisianaLAUtahUT
MaineMEVermontVT
MarylandMDVirginiaVA
MassachusettsMAWashingtonWA
MichiganMIWest VirginiaWV
MinnesotaMNWisconsinWI
MississippiMSWyomingWY

Canada (CA)

Province/TerritoryAbbreviationProvince/TerritoryAbbreviation
AlbertaABNorthwest TerritoriesNT
British ColumbiaBCNova ScotiaNS
ManitobaMBNunavutNU
New BrunswickNBOntarioON
Newfoundland and LabradorNLPrince Edward IslandPE
QuebecQCSaskatchewanSK
YukonYT

Response

The CarsXE Vehicle Plate Decoder API returns vehicle identification information for the specified license plate in a structured JSON format.

Schema

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
}

Success Response

  • 200 OK - Returns a JSON object containing vehicle information for the license plate
    • Includes success status and original input parameters
    • Contains comprehensive vehicle details including VIN, make, model, year, and specifications
    • Provides detailed vehicle attributes like engine, transmission, and assembly information

Error Response

Status CodeDescriptionCommon Causes
400Bad RequestInvalid plate format or parameter values such as incorrect length of country or state codes
401UnauthorizedMissing/invalid API key
403ForbiddenAPI key does not have access to this endpoint
422Unprocessable EntityPlate not found or data unavailable
429Too Many RequestsRate limit exceeded
500Internal Server ErrorTemporary server issues
502Bad GatewayIssues with upstream services
503Service UnavailableAPI 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 Cases & Examples

License Plate Lookup

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:

request.js
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);
}

See Also