VIN Decoder API
Decode vehicle identification numbers (VINs) into make, model, year, trim, body class, engine, fuel, electrification level, battery size, weight class, plant and manufacturer, from the US NHTSA vehicle database.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from vpic.nhtsa.dot.gov/api/
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/vin-decoder/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"vins": [
"5YJ3E1EA7KF317000",
"1HGCV1F34LA000000"
]
},
"max_items": 50
}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
19 fields: 18 here, 1 technical one under Technical details.
Basics
- VIN
The VIN as given.
Example 5YJ3E1EA7KF317000
- Vehicle make
Example TESLA
- Vehicle model
Example Model 3
- Trim level
Example Sport
- Body class
Body style, such as Sedan.
Example Sedan/Saloon
- Vehicle type
Vehicle type, such as Passenger Car.
Example PASSENGER CAR
- Doors
Number of doors.
Example 4
- Drive type
Drive type, such as AWD.
Example 4x2
- Engine cylinders
Number of engine cylinders.
Example 4
- Displacement l
Engine displacement in litres.
Example 1.5
- Fuel type primary
Example Electric
- Electrification level
Electrification level, such as BEV or HEV.
Example BEV (Battery Electric Vehicle)
- Gvwr
Gross vehicle weight rating class.
Example Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)
- Manufacturer name
Example TESLA, INC.
- Error text
NHTSA decode message.
Example 1 - Check Digit (9th position) does not calculate properly
Location
- Plant country
Country of the assembly plant.
Example UNITED STATES (USA)
- Plant city
City of the assembly plant.
Example FREMONT
Dates
- Model year
Example 2019
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- Error code
error_codeNHTSA decode code; 0 means clean.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
vin | text | VIN | 3 of 3 |
make | text | Vehicle make | 3 of 3 |
model | text | Vehicle model | 3 of 3 |
model_year | number | Model year | 3 of 3 |
trim | text | Trim level | 1 of 3 |
body_class | text | Body class | 3 of 3 |
vehicle_type | text | Vehicle type | 3 of 3 |
doors | number | Doors | 2 of 3 |
drive_type | text | Drive type | 2 of 3 |
engine_cylinders | number | Engine cylinders | 2 of 3 |
displacement_l | number | Displacement l | 2 of 3 |
fuel_type_primary | text | Fuel type primary | 3 of 3 |
electrification_level | text | Electrification level | 1 of 3 |
gvwr | text | Gvwr | 3 of 3 |
plant_country | text | Plant country | 3 of 3 |
plant_city | text | Plant city | 3 of 3 |
manufacturer | text | Manufacturer name | 3 of 3 |
error_code | text | Error code (hidden) | 3 of 3 |
error_text | text | Error text | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | VIN | Vehicle make | Vehicle model | Trim level | Body class | Vehicle type | Doors | Drive type | Engine cylinders | Displacement l | Fuel type primary | Electrification level | Gvwr | Manufacturer name | Error text | Plant country | Plant city | Model year |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 5YJ3E1EA7KF317000 | TESLA | Model 3 | — | Sedan/Saloon | PASSENGER CAR | 4 | — | — | — | Electric | BEV (Battery Electric Vehicle) | Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg) | TESLA, INC. | 1 - Check Digit (9th position) does not calculate properly | UNITED STATES (USA) | FREMONT | 2019 |
| 2 | 1HGCV1F34LA000000 | HONDA | Accord | Sport | Sedan/Saloon | PASSENGER CAR | 4 | 4x2 | 4 | 1.5 | Gasoline | — | Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg) | AMERICAN HONDA MOTOR CO., INC. | 1 - Check Digit (9th position) does not calculate properly | UNITED STATES (USA) | MARYSVILLE | 2020 |
| 3 | 1FTFW1ET5DFC10312 | FORD | F-150 | — | Pickup | TRUCK | — | 4WD/4-Wheel Drive/4x4 | 6 | 3.5 | Gasoline | — | Class 2F: 7,001 - 8,000 lb (3,175 - 3,629 kg) | FORD MOTOR COMPANY | 1 - Check Digit (9th position) does not calculate properly | UNITED STATES (USA) | DEARBORN | 2013 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- One record per VIN, up to 500 VINs per run; VINs are sent in batches of 50.
- Covers vehicles sold in the US market best; many non-US VINs decode only partly, and missing values mean NHTSA has no data, not that a feature is absent.
- A VIN that fails its check digit still returns a record, with the problem in error_code and error_text.
- Data comes from NHTSA vPIC (US public domain); NHTSA may slow automated traffic.
- Trim, series and battery size are often missing in NHTSA data, so they are not returned; electrification_level and fuel type tell you if a car is electric.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.