# VIN Decoder API

> VIN Decoder turns a 17-character Vehicle Identification Number into the vehicle it identifies. Returns make, model, year, trim, body class and manufacturer, plus engine specifications, plant of manufacture, and the safety equipment fitted to that specific build. Optionally adds every safety recall issued for that vehicle and its NHTSA 5-star crash-test rating.

**Endpoint:** `GET https://api.apiverve.com/v1/vindecoder`  
**Category:** Transportation  
**Cost:** 10 credits per call  
**Canonical page:** https://apiverve.com/marketplace/vindecoder

## Overview

An NHTSA VIN decoder API and VIN lookup API in one. Data is sourced from the NHTSA vPIC database, the official US vehicle identification record, and is refreshed with each monthly release. Recalls come from NHTSA's recall records, refreshed daily, and crash-test ratings from the NHTSA New Car Assessment Program. Covers vehicles manufactured for sale in the United States.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/vindecoder?vin=1HGCM82633A004352&recalls=true&safetyRating=true&fuelEconomy=true" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `vin` | string | Yes | The Vehicle Identification Number to decode. Partial VINs are accepted and decode as far as the available characters allow.. length 1-25 |
| `recalls` | boolean | No | Add the safety recalls NHTSA has issued for this vehicle's make, model and year. |
| `safetyRating` | boolean | No | Add the NHTSA 5-star crash-test rating for the closest tested version of this vehicle. |
| `fuelEconomy` | boolean | No | Add EPA fuel economy (city, highway and combined MPG, or MPGe for electric) for the matching versions of this vehicle. |

## Response fields

- `vin` — string · The VIN that was decoded, normalized to uppercase
- `valid` — boolean · Whether the VIN passes all NHTSA checks, including the check digit
- `decoded` — boolean · Whether the VIN resolved to an identifiable vehicle
- `vehicleDescriptor` — string · The portion of the VIN that identifies the vehicle build, with variable positions masked
- `make` — string · Vehicle manufacturer or brand name
- `model` — string · Vehicle model name
- `year` — number · Model year of the vehicle
- `trim` — string · Trim level or variant of the model · (premium)
- `trim2` — object · Secondary trim designation where the manufacturer provides one · (premium)
- `series` — object · Series designation of the vehicle · (premium)
- `series2` — object · Secondary series designation where the manufacturer provides one · (premium)
- `manufacturer` — string · Full legal name of the manufacturing company
- `vehicleType` — string · Broad vehicle classification, such as passenger car or truck
- `bodyClass` — string · Body style of the vehicle, such as coupe or sedan
- `plant` — object · Manufacturing plant that built the vehicle, including city, state, country and company · (premium)
  - `plant.state` — string · (premium)
  - `plant.country` — string · (premium)
  - `plant.city` — string · (premium)
- `engine` — object · Engine specifications, including displacement, cylinder count, configuration, horsepower, fuel type and electrification level · (premium)
  - `engine.displacementL` — string · (premium)
  - `engine.displacementCc` — string · (premium)
  - `engine.engineNumberOfCylinders` — string · (premium)
  - `engine.engineModel` — string · (premium)
  - `engine.engineConfiguration` — string · (premium)
  - `engine.engineBrakeHpFrom` — string · (premium)
  - `engine.displacementCi` — string · (premium)
  - `engine.fuelTypePrimary` — string · (premium)
  - `engine.valveTrainDesign` — string · (premium)
- `features` — object · Equipment fitted to this build, grouped by area
  - `features.passiveSafetySystem` — object · Passive safety equipment including air bag locations and seat belt type · (premium)
    - `features.passiveSafetySystem.otherRestraintSystemInfo` — string · (premium)
    - `features.passiveSafetySystem.seatBeltType` — string · (premium)
    - `features.passiveSafetySystem.sideAirBagLocations` — string · (premium)
    - `features.passiveSafetySystem.curtainAirBagLocations` — string · (premium)
    - `features.passiveSafetySystem.frontAirBagLocations` — string · (premium)
  - `features.exterior` — object · Exterior attributes including body, doors, dimensions, weight rating, wheels, and truck, bus, trailer or motorcycle specifics · (premium)
    - `features.exterior.grossVehicleWeightRatingFrom` — string · (premium)
    - `features.exterior.grossVehicleWeightRatingTo` — string · (premium)
    - `features.exterior.doors` — string · (premium)
  - `features.mechanical` — object · Mechanical attributes including transmission, drivetrain, brakes and battery · (premium)
    - `features.mechanical.transmissionStyle` — string · (premium)
    - `features.mechanical.transmissionSpeeds` — string · (premium)
- `validation` — object · Decode diagnostics reported by NHTSA
  - `validation.errorText` — string · Human-readable explanation of each error code returned
  - `validation.errorCode` — string · NHTSA error code or codes for the decode, as a comma-separated string
  - `validation.errorCodes` — array · The same NHTSA error codes split into an array for programmatic handling
- `recalls` — object · Safety recalls issued for this vehicle, present when recalls is true
  - `recalls.count` — number · Number of recalls issued for this vehicle
  - `recalls.doNotDrive` — boolean · Whether any recall tells owners not to drive the vehicle until it is repaired
  - `recalls.parkOutside` — boolean · Whether any recall tells owners to park outside and away from buildings because of fire risk
  - `recalls.bySeverity` — object · Recall count at each severity level: critical, high, medium and low
    - `recalls.bySeverity.critical` — number
    - `recalls.bySeverity.high` — number
    - `recalls.bySeverity.medium` — number
    - `recalls.bySeverity.low` — number
  - `recalls.latestReportedOn` — string · Date the most recent recall was reported, as YYYY-MM-DD
    - `recalls.items.0.id` — string · (premium)
    - `recalls.items.0.manufacturerRecallId` — string · (premium)
    - `recalls.items.0.manufacturer` — string · Full legal name of the manufacturing company · (premium)
    - `recalls.items.0.reportedOn` — string · (premium)
    - `recalls.items.0.ownersNotifiedOn` — string · (premium)
    - `recalls.items.0.initiatedBy` — string · (premium)
      - `recalls.items.0.components.0.system` — string · (premium)
      - `recalls.items.0.components.0.detail` — string · (premium)
    - `recalls.items.0.summary` — string · (premium)
    - `recalls.items.0.consequence` — string · (premium)
    - `recalls.items.0.hazards` — array · (premium)
    - `recalls.items.0.doNotDrive` — boolean · (premium)
    - `recalls.items.0.parkOutside` — boolean · (premium)
    - `recalls.items.0.remedy` — object · (premium)
      - `recalls.items.0.remedy.description` — string · (premium)
      - `recalls.items.0.remedy.status` — string · (premium)
      - `recalls.items.0.remedy.overTheAir` — boolean · (premium)
      - `recalls.items.0.remedy.freeOfCharge` — boolean · (premium)
    - `recalls.items.0.unitsAffected` — number · (premium)
    - `recalls.items.0.manufactured` — object · (premium)
      - `recalls.items.0.manufactured.from` — string · (premium)
      - `recalls.items.0.manufactured.to` — string · (premium)

## Sample response

```json
{
  "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": {
      "state": "OHIO",
      "country": "UNITED STATES (USA)",
      "city": "MARYSVILLE"
    },
    "engine": {
      "displacementL": "2.998832712",
      "displacementCc": "2998.832712",
      "engineNumberOfCylinders": "6",
      "engineModel": "J30A4",
      "engineConfiguration": "V-Shaped",
      "engineBrakeHpFrom": "240",
      "displacementCi": "183",
      "fuelTypePrimary": "Gasoline",
      "valveTrainDesign": "Single Overhead Cam (SOHC)"
    },
    "features": {
      "passiveSafetySystem": {
        "otherRestraintSystemInfo": "Seat Belt (Rr center position)",
        "seatBeltType": "Manual",
        "sideAirBagLocations": "1st Row (Driver and Passenger)",
        "curtainAirBagLocations": "1st and 2nd Rows",
        "frontAirBagLocations": "1st Row (Driver and Passenger)"
      },
      "exterior": {
        "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)",
        "doors": "2"
      },
      "mechanical": {
        "transmissionStyle": "Automatic",
        "transmissionSpeeds": "5"
      }
    },
    "validation": {
      "errorText": "0 - VIN decoded clean. Check Digit (9th position) is correct",
      "errorCode": "0",
      "errorCodes": [
        "0"
      ]
    },
    "recalls": {
      "count": 13,
      "doNotDrive": false,
      "parkOutside": false,
      "bySeverity": {
        "critical": 0,
        "high": 10,
        "medium": 3,
        "low": 0
      },
      "latestReportedOn": "2019-06-27",
      "items": [
        {
          "id": "19V499000",
          "manufacturerRecallId": "Q5A, Y58",
          "manufacturer": "Honda (American Honda Motor Co.)",
          "reportedOn": "2019-06-27",
          "ownersNotifiedOn": "2019-08-12",
          "initiatedBy": "nhtsa",
          "components": [
            {
              "system": "Air Bags",
              "detail": "Frontal › Driver Side › Inflator Module"
            }
          ],
          "summary": "Honda (American Honda Motor Co.) is recalling certain 2003 Acura 3.2CL, 2002-2003 3.2TL, 2003-2006 MDX, 2001-2007 Honda Accord, 2001-2005 Civic, 2003-2005 Civic Hybrid, 2001-2005 Civic GX NGV, 2002-2006 CR-V, 2003-2011 Element, 2002-2004 Odyssey, 2003-2008 Pilot and 2006 Ridgeline vehicles. These vehicles are equipped with driver frontal air bag inflators assembled as a recall remedy part or replacement service part, that may explode due to propellant degradation occurring after long-term exposure to high absolute humidity, temperature and temperature cycling.",
          "consequence": "An inflator explosion may result in sharp metal fragments striking the driver or other occupants resulting in serious injury or death.",
          "hazards": [
            "injury",
            "death"
          ],
          "doNotDrive": false,
          "parkOutside": false,
          "remedy": {
            "description": "Honda will notify owners, and dealers will replace the driver frontal air bag inflator, free of charge. The recall began August 12, 2019. Owners may contact Honda customer service at 1-888-234-2138. Honda's numbers for this recall are Q5A and Y58.",
            "status": "available",
            "overTheAir": false,
            "freeOfCharge": true
          },
          "unitsAffected": 3947,
          "manufactured": {
            "from": "2000-07-10",
            "to": "2011-02-22"
          },
          "scope": {
            "makes": 2,
            "models": 12,
            "modelYears": {
              "from": 2001,
              "to": 2011
            }
          },
          "url": "https://www.nhtsa.gov/recalls?nhtsaId=19V499000",
          "severity": "high",
          "match": "exact",
          "listedAs": "ACCORD"
        },
        {
          "id": "19V501000",
          "manufacturerRecallId": "E5D, X5C",
          "manufacturer": "Honda (American Honda Motor Co.)",
          "reportedOn": "2019-06-27",
          "ownersNotifiedOn": "2019-08-12",
          "initiatedBy": "nhtsa",
          "components": [
            {
              "system": "Air Bags",
              "detail": "Frontal › Passenger Side › Inflator Module"
            }
          ],
          "summary": "Honda (American Honda Motor Co.) is recalling certain 2003-2006 Acura MDX, 2005-2012 RL, 2003-2007 Honda Accord, 2001-2005 Civic, 2003-2005 Civic Hybrid, 2001-2005 Civic GX NGV, 2002-2006 CR-V, 2003-2011 Element, 2007-2008 Fit, 2002-2004 Odyssey, 2003-2008 Pilot, and 2006-2014 Ridgeline vehicles. The vehicles are equipped with passenger frontal air bag inflators assembled as a recall remedy part or replacement service part, that may explode due to propellant degradation occurring after long-term exposure to high absolute humidity, temperature and temperature cycling.",
          "consequence": "An inflator explosion may result in sharp metal fragments striking the driver or other occupants resulting in serious injury or death.",
          "hazards": [
            "injury",
            "death"
          ],
          "doNotDrive": false,
          "parkOutside": false,
          "remedy": {
            "description": "Honda will notify owners, and dealers will replace the passenger frontal airbag inflator, free of charge. The recall began August 12, 2019. Owners may contact Honda customer service at 1-888-234-2138. Honda's numbers for this recall are E5D and X5C.",
            "status": "available",
            "overTheAir": false,
            "freeOfCharge": true
          },
          "unitsAffected": 1657752,
          "manufactured": {
            "from": "2000-04-25",
            "to": "2014-06-02"
          },
          "scope": {
            "makes": 2,
            "models": 12,
            "modelYears": {
              "from": 2001,
              "to": 2014
            }
          },
          "url": "https://www.nhtsa.gov/recalls?nhtsaId=19V501000",
          "severity": "high",
          "match": "exact",
          "listedAs": "ACCORD"
        }
      ]
    },
    "safetyRating": {
      "testedVehicle": "2003 Honda Accord 2-DR. w/SAB",
      "match": "exact",
      "variantsTested": 4,
      "overall": null,
      "frontal": {
        "overall": null,
        "driver": 5,
        "passenger": 5
      },
      "side": {
        "overall": null,
        "driver": null,
        "passenger": null,
        "barrier": null,
        "pole": null,
        "frontSeat": null,
        "rearSeat": null
      },
      "rollover": {
        "rating": 4,
        "riskPercent": null,
        "tipped": null
      },
      "driverAssist": {
        "electronicStabilityControl": "notAvailable",
        "forwardCollisionWarning": "notAvailable",
        "laneDepartureWarning": "notAvailable"
      }
    },
    "fuelEconomy": {
      "unit": "MPG",
      "city": {
        "min": 19,
        "max": 19,
        "value": 19
      },
      "highway": {
        "min": 27,
        "max": 27,
        "value": 27
      },
      "combined": {
        "min": 22,
        "max": 22,
        "value": 22
      },
      "exact": true,
      "variantsMatched": 1,
      "electricRangeMiles": null,
      "co2GramsPerMile": {
        "min": 404,
        "max": 404,
        "value": 404
      },
      "annualFuelCostUsd": {
        "min": 3050,
        "max": 3050,
        "value": 3050
      },
      "variants": [
        {
          "epaId": 18657,
          "model": "Accord",
          "vehicleClass": "Midsize Cars",
          "powertrain": "Gasoline",
          "fuelType": "Regular",
          "displacementL": 3,
          "cylinders": 6,
          "drive": "Front-Wheel Drive",
          "transmission": "Automatic 5-spd",
          "cityMpg": 19,
          "highwayMpg": 27,
          "combinedMpg": 22,
          "electricRangeMiles": null
        }
      ]
    }
  }
}
```

## Use cases

- **Insurance Policy Intake** — When a driver enters their VIN during checkout, quote flows populate vehicle make, model, and body class to price policies accurately without typos.
- **Used Car Listings** — To speed up seller listings, automotive marketplaces fill vehicle brand, year, and model from user-submitted VINs while catching transcription errors instantly.
- **Fleet Inventory Intake** — Validate vehicle identification numbers and verify vehicle types across newly acquired commercial vans before registering them into maintenance management systems.
- **Repair Shop Diagnostics** — Mechanics confirm incoming customer cars by decoding the VIN to check manufacturer build records and resolve mistyped registration paperwork.

## SDKs

- **npm** — `npm install @apiverve/vindecoder` (https://www.npmjs.com/package/@apiverve/vindecoder)
- **PyPI** — `pip install apiverve-vindecoder` (https://pypi.org/project/apiverve-vindecoder/)
- **NuGet** — `dotnet add package APIVerve.API.VINDecoder` (https://www.nuget.org/packages/APIVerve.API.VINDecoder)

## More

- Full reference: https://docs.apiverve.com/ref/vindecoder
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
