South Star

VIN Decoder WMI Model Year Check Digit API

Free tier included · Data
Decode VIN structure (ISO 3779), check digit, model year, manufacturer, plus NHTSA specs and batch decode - offline, stateless, no storage.

VIN Structure Decoder API decodes 17-character VINs per ISO 3779: WMI/VDS/VIS split, North American check digit (position 9), model-year code (position 10, 30-year cycle with candidate years), plant code, and sequential number. Manufacturer is resolved from a bundled WMI dataset derived from vininfo/NHTSA vPIC; unknown manufacturers return null. Country is derived from the public ISO 3780 WMI geographic chart.

This API covers structure decoding, check digit validation, manufacturer lookup, model year, and full NHTSA vPIC vehicle specifications. The `/decode/full` endpoint returns both offline structure and the real vehicle spec profile (make, model, trim, engine, transmission, drive type, fuel type, body class, airbags, plant details) from the free public NHTSA vPIC database. `/specs` returns only the vPIC profile. `/makes` and `/models` expose the vPIC reference data, cached in-process.

It validates the check digit in code and resolves manufacturer via longest-prefix lookup over bundled constants. Some endpoints call the official host (`vpic.nhtsa.dot.gov`); endpoints like `/decode` and `/batch` operate fully offline, while vPIC-dependent endpoints (`/decode/full`, `/specs`, `/models`) call the official public NHTSA API and answer HTTP 503 `upstream_unavailable` if it is unreachable; `/makes` uses a build-time snapshot and answers 503 `data_unavailable` if absent.

Honest limits: this is a structure decoder only — it does not provide vehicle history, ownership records, recalls, or accident data. The bundled WMI dataset is a snapshot; very recent manufacturers may resolve to null. vPIC specs are a live lookup and may be incomplete for some markets. VINs are normalized (case-insensitive, surrounding whitespace trimmed) and must be exactly 17 characters from the set A-H, J-N, P-R, Z, 0-9 (no I, O, Q).

Endpoints

MethodPathWhat it does
GET/API metadata: name, version, and paths to the interactive docs and health endpoint.
GET/healthLiveness probe; returns status "ok" while the process is up.
GET/decodeDecode one VIN: ISO 3779 structure (WMI/VDS/VIS), North American check digit validation, model-year code with candidate years, plant code, sequential number, manufacturer from the bundled WMI dataset, and country from the ISO 3780 chart. vin is a required query parameter. A structurally invalid VIN (wrong length or forbidden characters) returns HTTP 422.
GET/year-codesResolve a single model-year code character (position 10) to its candidate years using the standard 30-year cycle. code is a required query parameter (A-H, J-N, P, R-Y, 1-9; no I, O, Q, 0).
GET/decode/fullFull VIN decode: complete offline ISO 3779 structure (WMI/VDS/VIS, region, country, manufacturer, model-year candidates, check-digit validation, plant, serial) PLUS the real vehicle specification profile from the free NHTSA vPIC database (make, model, trim, model year, series, vehicle type, body class, drive type, fuel type, engine details, transmission, doors, GVWR, brake system, steering, seat belts, airbags, plant country/city/company, manufacturer). vin is a required query parameter. Returns HTTP 503 upstream_unavailable if the NHTSA vPIC service is unreachable.
GET/specsVehicle specifications for a VIN from the NHTSA vPIC database only (make, model, trim, model year, series, vehicle type, body class, drive type, fuel type, engine details, transmission, doors, GVWR, brake system, steering, seat belts, airbags, plant country/city/company, manufacturer). Blank vPIC values are returned as null. vin is a required query parameter. Returns HTTP 503 upstream_unavailable if the NHTSA vPIC service is unreachable.
GET/makesAlphabetical list of vehicle makes from the bundled NHTSA vPIC reference. Optional case-insensitive substring filter q and limit (default 200, max 5000). Each entry has id (vPIC Make_ID) and name. Answers HTTP 503 data_unavailable if the dataset was not built.
GET/modelsVehicle models for a given make from the NHTSA vPIC database (e.g. make='HONDA' -> Accord, Civic, ...). Result is cached in-process with LRU. Each entry has id (vPIC Model_ID), name, and make_id. make is a required query parameter (1-40 characters). Returns HTTP 503 upstream_unavailable if the NHTSA vPIC service is unreachable.
POST/batchDecode up to 100 VINs per call (structure, fully offline). Accepts a JSON body {"vins": [...]} with 1 to 100 VINs and returns the full offline structure decode for every valid VIN in results, plus per-index errors for invalid ones. The whole call stays HTTP 200 — one bad VIN never fails the batch. VINs exceeding 100 items or an empty list are rejected with HTTP 422.

Quick start

curl -X GET "https://vindecoder.p.rapidapi.com/decode?vin=1HGCM82633A004352" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: vindecoder.p.rapidapi.com"

FAQ

Does this API provide vehicle history, recalls, or ownership records?

No. This is a structure decoder only — it parses the VIN per ISO 3779, validates the North American check digit, resolves the manufacturer from a bundled dataset, and optionally fetches the NHTSA vPIC specification profile. It does not access vehicle history, title, recall, or ownership data.

Which endpoints are fully offline?

`/decode`, `/year-codes`, `/makes`, and `/batch` are completely offline — no external calls, no databases, no logs. `/decode/full`, `/specs`, and `/models` call the free public NHTSA vPIC API and return HTTP 503 `upstream_unavailable` if it is unreachable.

How many VINs can I decode in one batch request?

Up to 100 VINs per `POST /batch` call. Invalid VINs are reported per-index in the `errors` array rather than failing the whole batch. The call always returns HTTP 200.

What VIN formats are accepted?

VINs must be exactly 17 characters from A-H, J-N, P-R, Z, 0-9 (no I, O, Q). Case and surrounding whitespace are normalized by the server. VINs with wrong length or forbidden characters return HTTP 422.

Try VIN Decoder WMI Model Year Check Digit free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs