> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# NHTSA vPIC

> The US National Highway Traffic Safety Administration's vPIC vehicle API: decode a VIN into make, model, year, body, engine and plant details, decode WMIs, and list makes and models.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/nhtsa.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=061c6012b5766e745fe9ecb706f34858)

[Web Catalog · Government](https://docs.webrouter.net/data-apis.md?category=government)

No key needed

Endpoints

6

Auth

None

[Vendor docs](https://vpic.nhtsa.dot.gov/api/)

## Notes

* Free and keyless. Traffic is throttled by an automated rate control; heavy users can download the standalone vPIC database instead.
* Every call returns XML unless format=json (or csv) is passed; each endpoint here takes format.
* Answers wrap rows in Results, with Count and Message.

## Endpoints

GET

Decode a VIN

One flat record of every decoded attribute of a VIN: make, model, model year, body class, engine, plant, safety equipment and error codes.

[Open](#nhtsa-vin-decode)

GET

Decode a WMI

The manufacturer, vehicle type and country behind a World Manufacturer Identifier.

[Open](#nhtsa-wmi-decode)

GET

List all makes

Every make in the vPIC dataset, with its id.

[Open](#nhtsa-makes-list)

GET

List models of a make

Models whose make name is like the given name.

[Open](#nhtsa-models-for-make)

GET

List models of a make in a model year

Models of a make for one model year.

[Open](#nhtsa-models-for-make-year)

GET

Get Canadian vehicle specifications

Original vehicle dimensions from Transport Canada's Canadian Vehicle Specifications, by year and make.

[Open](#nhtsa-canada-specs)

### Decode a VIN

GET

`/vehicles/DecodeVinValues/{vin}`

`nhtsa.vin.decode`

One flat record of every decoded attribute of a VIN: make, model, model year, body class, engine, plant, safety equipment and error codes.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`vin` required</td><td>string</td><td>path</td><td>VIN; partial VINs are allowed, with \* for unknown characters. Example `5UXWX7C5*BA`</td></tr>
    <tr><td>`modelyear`</td><td>integer</td><td>query</td><td>Model year; recommended, it selects the right decoding range. Example `2011`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Response format; xml by default. One of `json`, `xml`, `csv` Example `json`</td></tr>
  </tbody>
</table>

[Vendor docs](https://vpic.nhtsa.dot.gov/api/) · Same job: [CarsXE](https://docs.webrouter.net/data-apis/carsxe.md#carsxe-vin-specs)

```python Python theme={null}
router.call_data_api("nhtsa.vin.decode", {'vin': '5UXWX7C5*BA', 'modelyear': 2011, 'format': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="nhtsa.vin.decode", params={"vin": "5UXWX7C5*BA", "modelyear": 2011, "format": "json"})
```

> [!NOTE]
>
> * DecodeVin (key-value rows with variable and value ids) and the Extended variants with extra NCSA variables exist on the same pattern.

### Decode a WMI

GET

`/vehicles/DecodeWMI/{wmi}`

`nhtsa.wmi.decode`

The manufacturer, vehicle type and country behind a World Manufacturer Identifier.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`wmi` required</td><td>string</td><td>path</td><td>3 characters (VIN positions 1-3) or 6 (positions 1-3 and 12-14). Example `1FD`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Response format; xml by default. One of `json`, `xml`, `csv` Example `json`</td></tr>
  </tbody>
</table>

[Vendor docs](https://vpic.nhtsa.dot.gov/api/) · Same job: [CarsXE](https://docs.webrouter.net/data-apis/carsxe.md#carsxe-vin-specs)

```python Python theme={null}
router.call_data_api("nhtsa.wmi.decode", {'wmi': '1FD', 'format': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="nhtsa.wmi.decode", params={"wmi": "1FD", "format": "json"})
```

### List all makes

GET

`/vehicles/GetAllMakes`

`nhtsa.makes.list`

Every make in the vPIC dataset, with its id.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Response format; xml by default. One of `json`, `xml`, `csv` Example `json`</td></tr>
  </tbody>
</table>

[Vendor docs](https://vpic.nhtsa.dot.gov/api/)

```python Python theme={null}
router.call_data_api("nhtsa.makes.list", {'format': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="nhtsa.makes.list", params={"format": "json"})
```

### List models of a make

GET

`/vehicles/GetModelsForMake/{make}`

`nhtsa.models.for_make`

Models whose make name is like the given name.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`make` required</td><td>string</td><td>path</td><td>Full or partial make name; \* returns models of all makes (slow). Example `honda`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Response format; xml by default. One of `json`, `xml`, `csv` Example `json`</td></tr>
  </tbody>
</table>

[Vendor docs](https://vpic.nhtsa.dot.gov/api/)

```python Python theme={null}
router.call_data_api("nhtsa.models.for_make", {'make': 'honda', 'format': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="nhtsa.models.for_make", params={"make": "honda", "format": "json"})
```

### List models of a make in a model year

GET

`/vehicles/GetModelsForMakeYear/make/{make}/modelyear/{modelyear}`

`nhtsa.models.for_make_year`

Models of a make for one model year.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`make` required</td><td>string</td><td>path</td><td>Make name. Example `honda`</td></tr>
    <tr><td>`modelyear` required</td><td>integer</td><td>path</td><td>Model year. Example `2015`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Response format; xml by default. One of `json`, `xml`, `csv` Example `json`</td></tr>
  </tbody>
</table>

[Vendor docs](https://vpic.nhtsa.dot.gov/api/)

```python Python theme={null}
router.call_data_api("nhtsa.models.for_make_year", {'make': 'honda', 'modelyear': 2015, 'format': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="nhtsa.models.for_make_year", params={"make": "honda", "modelyear": 2015, "format": "json"})
```

> [!NOTE]
>
> * Variants add /vehicletype/\{type} after the year, or replace the year with it.

### Get Canadian vehicle specifications

GET

`/vehicles/GetCanadianVehicleSpecifications/`

`nhtsa.canada.specs`

Original vehicle dimensions from Transport Canada's Canadian Vehicle Specifications, by year and make.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`year` required</td><td>integer</td><td>query</td><td>Model year, 1971 or later. Example `2011`</td></tr>
    <tr><td>`make` required</td><td>string</td><td>query</td><td>Make, e.g. Honda. Example `Acura`</td></tr>

    <tr>
      <td>
        `model`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Model, optionally with body type or engine.
      </td>
    </tr>

    <tr><td>`units`</td><td>string</td><td>query</td><td>Metric (default) or US. One of `Metric`, `US`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Response format; xml by default. One of `json`, `xml`, `csv` Example `json`</td></tr>
  </tbody>
</table>

[Vendor docs](https://vpic.nhtsa.dot.gov/api/)

```python Python theme={null}
router.call_data_api("nhtsa.canada.specs", {'year': 2011, 'make': 'Acura', 'format': 'json'})
```

```text MCP theme={null}
call_data_api(endpoint="nhtsa.canada.specs", params={"year": 2011, "make": "Acura", "format": "json"})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.