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.

Try it
Ready-made, maintained by usRecords, 19 fieldsv1.0

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

Vins
17-character VINs to decode (partial VINs with * also work). One per line, or separated by commas.
Example: 5YJ3E1EA7KF317000, 1HGCV1F34LA000000
Model yearoptional
Model year hint for older or partial VINs.
Example: 2019

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
Endpoint
POSThttps://pullrow.dev/v1/apis/vin-decoder/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

vinslistrequired
17-character VINs to decode (partial VINs with * also work).
example: 5YJ3E1EA7KF317000, 1HGCV1F34LA000000
model_yearnumber
Model year hint for older or partial VINs.
example: 2019

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 nameTypeShown on this page asFilled
vintextVIN3 of 3
maketextVehicle make3 of 3
modeltextVehicle model3 of 3
model_yearnumberModel year3 of 3
trimtextTrim level1 of 3
body_classtextBody class3 of 3
vehicle_typetextVehicle type3 of 3
doorsnumberDoors2 of 3
drive_typetextDrive type2 of 3
engine_cylindersnumberEngine cylinders2 of 3
displacement_lnumberDisplacement l2 of 3
fuel_type_primarytextFuel type primary3 of 3
electrification_leveltextElectrification level1 of 3
gvwrtextGvwr3 of 3
plant_countrytextPlant country3 of 3
plant_citytextPlant city3 of 3
manufacturertextManufacturer name3 of 3
error_codetextError code (hidden)3 of 3
error_texttextError text3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordVINVehicle makeVehicle modelTrim levelBody classVehicle typeDoorsDrive typeEngine cylindersDisplacement lFuel type primaryElectrification levelGvwrManufacturer nameError textPlant countryPlant cityModel year
15YJ3E1EA7KF317000TESLAModel 3—Sedan/SaloonPASSENGER CAR4———ElectricBEV (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 properlyUNITED STATES (USA)FREMONT2019
21HGCV1F34LA000000HONDAAccordSportSedan/SaloonPASSENGER CAR44x241.5Gasoline—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 properlyUNITED STATES (USA)MARYSVILLE2020
31FTFW1ET5DFC10312FORDF-150—PickupTRUCK—4WD/4-Wheel Drive/4x463.5Gasoline—Class 2F: 7,001 - 8,000 lb (3,175 - 3,629 kg)FORD MOTOR COMPANY1 - Check Digit (9th position) does not calculate properlyUNITED STATES (USA)DEARBORN2013

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.
Known limits
  • 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.