Decode a VIN using the NHTSA vPIC API

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

Steps

  1. Construct a GET request to the vPIC decode endpoint: https://vpic.nhtsa.dot.gov/api/vehicles/decodevin/{VIN}?format=json
  2. Send the request without any API key — the vPIC API is public and requires no authentication
  3. Parse the Results array in the JSON response; each element has a Variable and Value field representing one decoded attribute (make, model, model year, body class, etc.)
  4. Filter for the variables most relevant to your use case (e.g., Make, Model, ModelYear, BodyClass, EngineHP, FuelTypePrimary) by matching on the Variable field
  5. Handle partial VINs by using the decodevinvalues endpoint and supplying modelyear as an optional query parameter to improve accuracy when the VIN's 10th character is ambiguous

Known gotchas

Related routes

Decode VINs with the NHTSA vPIC API
vpic.nhtsa.dot.gov · 6 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