Free VIN decoder APIs, and what they won't tell you
The free VIN decoder API is NHTSA's vPIC from the US Department of Transportation: vpic.nhtsa.dot.gov/api/vehicles/DecodeVinValues/{VIN}?format=json returns make, model, year, body, engine and plant with no key, and a batch endpoint takes up to 50 VINs. It's fullest for vehicles sold in the US. Our VIN Decoder API checks the VIN first, then decodes it with vPIC and drops the empty fields for $0.002, with no charge for invalid VINs.
Try it free VIN Decoder API — make, model, year, engine, $0.002 · $0.002 / call
Calling vPIC
vPIC says it uses automated traffic rate control rather than a fixed published limit. For bulk work use DecodeVINValuesBatch (50 per request) or download the standalone database NHTSA offers.
import requests
vin = "1HGCM82633A004352"
r = requests.get(f"https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVinValues/{vin}",
params={"format": "json"}, timeout=15)
car = r.json()["Results"][0]
print(car["ModelYear"], car["Make"], car["Model"], car["BodyClass"], car["DisplacementL"])
# Most of the ~140 fields come back as "" or "Not Applicable"
Check the VIN before decoding
- 17 characters, letters and digits only.
- Never I, O or Q, which are too easy to confuse with 1 and 0.
- Position 9 is a check digit for North American vehicles (VINs starting 1 to 5): each character has a value, each position a weight, and the sum mod 11 gives the digit, with 10 written as X.
- Outside North America the check digit isn't required, so a mismatch on a European VIN isn't an error.
Free vs paid VIN data
| Source | Price | Covers |
|---|---|---|
| NHTSA vPIC | Free | Specs from manufacturer data; strongest for US-market vehicles |
| VIN Decoder (iamai.markets) | $0.002 per VIN | vPIC data, validated and cleaned |
| Commercial decoders | Paid plans | Often European specs, equipment, market values |
| History reports (Carfax and others) | Paid per report | Accidents, owners, mileage, title |
What our version adds
It enforces the check digit for North American VINs and refuses typos before calling NHTSA, so you're not charged for them. The answer groups fields into engine (cylinders, displacement_l, horsepower, fuel, electrification), transmission and plant, removes blanks and Not Applicable, and keeps NHTSA's decode warnings. A VIN whose manufacturer code NHTSA doesn't know is refused, also free.
curl -i -X POST https://iamai.markets/api/x402/services/rkcy1uFPDSTR \
-H "Content-Type: application/json" \
-d '{"vin": "1HGCM82633A004352"}'
# $0.002 via x402 (USDC on Base). result: make, model, year, trim, body, engine{}, plant{}, check_digit{}
The product
Questions
Can a free VIN API show accident history?
No. vPIC and our API decode specs only. Accident, theft and ownership history come from paid history services.
Does vPIC work for European cars?
Partly. It decodes many manufacturers worldwide, but fields are often missing for cars never sold in the US.
Is the NHTSA API really free for commercial use?
It's US government public data with no key. Keep request volume reasonable or use the batch endpoint and downloadable database.
Related
Updated 2026-12-02
