Docs/APIs/VIN Decoder

VIN Decoder

Decode a VIN into vehicle details

OperationalCredits 5 per callp50 331msTransportationStar

Overview

Data is sourced from the NHTSA vPIC database, the official US vehicle identification record, and is refreshed with each monthly release. Covers vehicles manufactured for sale in the United States.

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

GEThttps://api.apiverve.com/v1/vindecoder
curl "https://api.apiverve.com/v1/vindecoder?vin=1HGCM82633A004352" \
  -H "x-api-key: your_api_key_here"
const res = await fetch('https://api.apiverve.com/v1/vindecoder?vin=1HGCM82633A004352', {
  headers: { 'x-api-key': 'your_api_key_here' },
});

if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);

const { data } = await res.json();
console.log(data);
import requests

res = requests.get(
    "https://api.apiverve.com/v1/vindecoder?vin=1HGCM82633A004352",
    headers={"x-api-key": "your_api_key_here"},
    timeout=15,
)
res.raise_for_status()

print(res.json()["data"])
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/vindecoder?vin=1HGCM82633A004352", nil)
	req.Header.Set("x-api-key", "your_api_key_here")

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()

	out, _ := io.ReadAll(res.Body)
	fmt.Println(string(out))
}

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
vinRequiredstringThe Vehicle Identification Number to decode. Partial VINs are accepted and decode as far as the available characters allow.
length 1–17

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "status": "ok",
  "error": null,
  "data": {
    "vin": "1HGCM82633A004352",
    "valid": true,
    "decoded": true,
    "vehicleDescriptor": "1HGCM826*3A",
    "make": "HONDA",
    "model": "Accord",
    "year": 2003,
    "trim": "EX-V6",
    "trim2": null,
    "series": null,
    "series2": null,
    "manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
    "vehicleType": "PASSENGER CAR",
    "bodyClass": "Coupe",
    "plant": {
      "country": "UNITED STATES (USA)",
      "city": "MARYSVILLE",
      "state": "OHIO"
    },
    "engine": {
      "displacementL": "2.998832712",
      "displacementCc": "2998.832712",
      "displacementCi": "183",
      "engineNumberOfCylinders": "6",
      "engineBrakeHpFrom": "240",
      "engineConfiguration": "V-Shaped",
      "engineModel": "J30A4",
      "valveTrainDesign": "Single Overhead Cam (SOHC)",
      "fuelTypePrimary": "Gasoline"
    },
    "features": {
      "exterior": {
        "doors": "2",
        "grossVehicleWeightRatingFrom": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
        "grossVehicleWeightRatingTo": "Class 1: 6,000 lb or less (2,722 kg or less)"
      },
      "mechanical": {
        "transmissionStyle": "Automatic",
        "transmissionSpeeds": "5"
      },
      "passiveSafetySystem": {
        "seatBeltType": "Manual",
        "otherRestraintSystemInfo": "Seat Belt (Rr center position)",
        "frontAirBagLocations": "1st Row (Driver and Passenger)",
        "sideAirBagLocations": "1st Row (Driver and Passenger)",
        "curtainAirBagLocations": "1st and 2nd Rows"
      }
    },
    "validation": {
      "errorCode": "0",
      "errorCodes": [
        "0"
      ],
      "errorText": "0 - VIN decoded clean. Check Digit (9th position) is correct"
    }
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
vinstring"1HGCM82633A004352"The VIN that was decoded, normalized to uppercase
validbooleantrueWhether the VIN passes all NHTSA checks, including the check digit
True only when the decode is completely clean (error code 0). A VIN with a mistyped check digit returns false here but may still decode to a real vehicle — read `decoded` for that.
decodedbooleantrueWhether the VIN resolved to an identifiable vehicle
True when a make was identified. Independent of `valid`: an imperfect VIN can still decode.
vehicleDescriptorstring"1HGCM826*3A"The portion of the VIN that identifies the vehicle build, with variable positions masked
makestring"HONDA"Vehicle manufacturer or brand name
modelstring"Accord"Vehicle model name
yearnumber2003Model year of the vehicle
trimPremiumstring"EX-V6"Trim level or variant of the model
trim2PremiumobjectnullSecondary trim designation where the manufacturer provides one
seriesPremiumobjectnullSeries designation of the vehicle
series2PremiumobjectnullSecondary series designation where the manufacturer provides one
manufacturerstring"AMERICAN HONDA MOTOR CO., INC."Full legal name of the manufacturing company
vehicleTypestring"PASSENGER CAR"Broad vehicle classification, such as passenger car or truck
bodyClassstring"Coupe"Body style of the vehicle, such as coupe or sedan
plantPremiumobject{...}Manufacturing plant that built the vehicle, including city, state, country and company
countryPremiumstring"UNITED STATES (USA)"
cityPremiumstring"MARYSVILLE"
statePremiumstring"OHIO"
enginePremiumobject{...}Engine specifications, including displacement, cylinder count, configuration, horsepower, fuel type and electrification level
Fields present vary by vehicle. Electric vehicles report electrification level and motor detail in place of displacement and cylinders.
displacementLPremiumstring"2.998832712"
displacementCcPremiumstring"2998.832712"
displacementCiPremiumstring"183"
engineNumberOfCylindersPremiumstring"6"
engineBrakeHpFromPremiumstring"240"
engineConfigurationPremiumstring"V-Shaped"
engineModelPremiumstring"J30A4"
valveTrainDesignPremiumstring"Single Overhead Cam (SOHC)"
fuelTypePrimaryPremiumstring"Gasoline"
featuresobject{...}Equipment fitted to this build, grouped by area
A container. The grouped objects inside it are premium. Fields absent from NHTSA's record for a given vehicle are omitted rather than returned empty.
exteriorPremiumobject{...}Exterior attributes including body, doors, dimensions, weight rating, wheels, and truck, bus, trailer or motorcycle specifics
doorsPremiumstring"2"
grossVehicleWeightRatingFromPremiumstring"Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)"
grossVehicleWeightRatingToPremiumstring"Class 1: 6,000 lb or less (2,722 kg or less)"
mechanicalPremiumobject{...}Mechanical attributes including transmission, drivetrain, brakes and battery
transmissionStylePremiumstring"Automatic"
transmissionSpeedsPremiumstring"5"
passiveSafetySystemPremiumobject{...}Passive safety equipment including air bag locations and seat belt type
seatBeltTypePremiumstring"Manual"
otherRestraintSystemInfoPremiumstring"Seat Belt (Rr center position)"
frontAirBagLocationsPremiumstring"1st Row (Driver and Passenger)"
sideAirBagLocationsPremiumstring"1st Row (Driver and Passenger)"
curtainAirBagLocationsPremiumstring"1st and 2nd Rows"
validationobject{...}Decode diagnostics reported by NHTSA
errorCodestring"0"NHTSA error code or codes for the decode, as a comma-separated string
"0" means the VIN decoded clean. Multiple codes are returned together, for example "1,7,11".
errorCodesarray[0]The same NHTSA error codes split into an array for programmatic handling
errorTextstring"0 - VIN decoded clean. Check Digit (9th position) is correct"Human-readable explanation of each error code returned

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

Other ways to use VIN Decoder

Set up VIN Decoder on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKitReference →
Use it in Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheetsReference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContextReference →

More in Transportation:

Was this page helpful?