Skip to main content
GET
VIN Lookup
Decode Vehicle Identification Numbers (VINs) and query vehicle data from the NHTSA vPIC API. Supports single/batch VIN decode, WMI decode, makes & models, manufacturers, vehicle variables, and Canadian vehicle specifications.

Headers

X-API-KEY
string
required
Your API key

Parameters

All requests require a type parameter. Other parameters depend on the operation. Use the fields below in the Try it panel; the tables describe which apply to each type.
type
string
required
Operation type
query
string
VIN (decode/batch), WMI code (wmi), or search term (makes, manufacturers, variables). Not used for canadian.
model_year
number
Model year 1981+. For type=decode only. Recommended for partial VINs.
extended
boolean
default:"false"
If true, include extended NHTSA variables. For type=decode only.
search_type
string
Sub-operation. Required for type=makes, manufacturers, variables.
year
number
Model year. For type=makes (manufacturer, models) and type=canadian (required).
vehicle_type
string
e.g. Passenger Car, Truck. For type=makes (models) and type=manufacturers (wmis).
mfr_type
string
Manufacturer type filter. For type=manufacturers, search_type=all.
from_date
string
Start date. Required for type=manufacturers, search_type=parts.
to_date
string
End date. Required for type=manufacturers, search_type=parts.
parts_type
string
default:"565"
Parts doc type. For type=manufacturers, search_type=parts. Default: 565.
page
number
default:"1"
Page number. For type=manufacturers. Default: 1.
make
string
Make. Required for type=canadian.
model
string
Model name. For type=canadian.
units
string
default:"Metric"
Units for type=canadian. Metric or Imperial (Imperial is sent as US to the API). Default: Metric.

type: decode

Decode a 17-digit VIN or partial VIN (use * for missing characters).

type: batch

Decode up to 50 VINs at once. One per line; optional format: VIN, model_year.

type: wmi

Decode a World Manufacturer Identifier (3 or 6 characters).

type: makes

Search makes, models, and vehicle types.

type: manufacturers

Search manufacturers, WMIs, and parts documentation.

type: variables

Get the list of vehicle variables or values for a specific variable.

type: canadian

Get Canadian Vehicle Specifications (1971+). Uses year and make; query is not used.

Response

Returns JSON. Structure depends on type (object for decode/wmi, array for makes/manufacturers/variables/list, etc.).

Example: Decode VIN

Example: WMI Decode

Example: Get All Makes

Or with a dummy query (some clients omit empty query):

Example: Models by Make

Example: Variable List

Example: Variable Values

Example: Canadian Vehicle Specifications

Example: Batch Decode

For batch, query can also be sent in the request body as form data or in a POST with a JSON body if your client supports it; the backend reads query from request.args.

Error Responses

Errors return JSON, e.g. {"error": "query parameter is required"}.