Decode VINs with the NHTSA vPIC API

domain: vpic.nhtsa.dot.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Send a GET request to https://vpic.nhtsa.dot.gov/api/vehicles/decodevin/{VIN}?format=json, replacing {VIN} with the 17-character vehicle identification number.
  2. To improve accuracy, append the model year: https://vpic.nhtsa.dot.gov/api/vehicles/decodevin/{VIN}?format=json&modelyear={year}; NHTSA strongly recommends including the model year because some WMI codes were reassigned across years.
  3. Parse the Results array in the JSON response; each element contains a Variable (field name) and a Value (decoded value). Key fields include Make, Model, ModelYear, VehicleType, BodyClass, EngineModel, FuelTypePrimary, DriveType, TransmissionStyle, and GVWR.
  4. Check the ErrorCode and ErrorText fields in the response; an error code of 0 indicates a clean decode, while codes 1-11 indicate partial or failed decodes.
  5. For batch decoding, use POST https://vpic.nhtsa.dot.gov/api/vehicles/decodevinbatch/ with a form body of DATA={VIN1,year1;VIN2,year2}&format=json to decode up to 50 VINs per request.
  6. The API is free and does not require authentication or API keys; rate limits are not publicly documented, so implement polite polling with delays between bulk requests.

Known gotchas

Related routes

Decode a VIN using the NHTSA vPIC API
vpic.nhtsa.dot.gov · 5 steps · unrated
Decode a Vehicle Identification Number (VIN) using the NHTSA vPIC API to populate an auto insurance quote
vpic.nhtsa.dot.gov · 5 steps · unrated
Decode a VIN's full flat variable list, including error codes and suggested corrections, using NHTSA vPIC's DecodeVinValuesExtended
vpic.nhtsa.dot.gov · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans