---
title: "NHTSA API: Decode a VIN | Perceptlayer"
description: "Decodes a 17-character VIN with NHTSA vPIC: make, model, year, trim, body, engine, transmission, plant, safety equipment and vPIC's error code."
url: https://perceptlayer.com/apis/nhtsa/vin-decode
---

[APIs](https://perceptlayer.com/apis) / [NHTSA](https://perceptlayer.com/apis/nhtsa) / Decode a VIN

# NHTSA: Decode a VIN

Decodes a 17-character VIN with NHTSA vPIC: make, model, year, trim, body, engine, transmission, plant, safety equipment and vPIC's error code.

GET `/v1/nhtsa/vin-decode`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `vin` | string | Required | Up to 17 characters A 17-character vehicle identification number (no I, O or Q). |
| `model_year` | integer | Optional | Any Model year, which helps vPIC decode VINs from before 1980 and ambiguous ones. |

## Example request

NHTSA

GET /v1/nhtsa/vin-decode?vin=1HGCM82633A004352 

```
{
  "success": true,
  "data": {
    "vin": "1HGCM82633A004352",
    "decoded_clean": true,
    "error_code": "0",
    "error_text": "0 - VIN decoded clean. Check Digit (9th position) is correct",
    "make": "HONDA",
    "manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
    "model": "Accord",
    "model_year": 2003,
    "trim": "EX-V6",
    "body_class": "Coupe",
    "vehicle_type": "PASSENGER CAR",
    "doors": 2,
    "engine": {
      "cylinders": 6,
      "displacement_l": 3,
      "horsepower": 240,
      "configuration": "V-Shaped",
      "model": "J30A4",
      "fuel_type": "Gasoline"
    },
    "transmission": {
      "style": "Automatic",
      "speeds": 5
    },
    "gvwr": "Class 1C: 4,001 - 5,000 lb (1,814 - 2,268 kg)",
    "plant": {
      "city": "MARYSVILLE",
      "state": "OHIO",
      "country": "UNITED STATES (USA)"
    },
    "safety": {
      "airbags_front": "1st Row (Driver and Passenger)",
      "airbags_side": "1st Row (Driver and Passenger)",
      "airbags_curtain": "1st and 2nd Rows"
    },
    "manufacturer_id": 988,
    "make_id": 474,
    "model_id": 1861
  },
  "meta": {
    "request_id": "req_54089e5fe0884078ac579d9949d6bc10",
    "credits_charged": 1,
    "credits_remaining": 198
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/nhtsa?try=vin-decode#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

`data` has these 20 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `vin` | string |
| `decoded_clean` | boolean |
| `error_code` | string |
| `error_text` | string |
| `make` | string |
| `manufacturer` | string |
| `model` | string |
| `model_year` | integer |
| `trim` | string |
| `body_class` | string |
| `vehicle_type` | string |
| `doors` | integer |
| `engine` | object |
| `transmission` | object |
| `gvwr` | string |
| `plant` | object |
| `safety` | object |
| `manufacturer_id` | integer |
| `make_id` | integer |
| `model_id` | integer |
