---
title: "NHTSA API: JSON data, 4 endpoints, 1 credit per call"
description: "NHTSA API to decode VINs and get vehicle recalls, owner complaints and 5-Star NCAP safety ratings by make, model and year as JSON. 1 credit per call."
url: https://perceptlayer.com/apis/nhtsa
---

[APIs](https://perceptlayer.com/apis) / [Cars](https://perceptlayer.com/verticals/cars) / NHTSA

1 credit per call 4 endpoints 

# NHTSA API

NHTSA API to decode VINs and get vehicle recalls, owner complaints and 5-Star NCAP safety ratings by make, model and year as JSON. 1 credit per call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

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.

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/nhtsa/vin-decode?vin=1HGCM82633A004352" \
  -H "X-API-Key: $API_KEY"
```

NHTSA · 4 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/nhtsa/complaints`](https://perceptlayer.com/apis/nhtsa/complaints) | `make` `model` `model_year` +2 optional | `odi_number` `manufacturer` `date_filed` `incident_date` `components` `summary` +6 more | 1 credit |
| [GET `/v1/nhtsa/recalls`](https://perceptlayer.com/apis/nhtsa/recalls) | `make` `model` `model_year` | `campaign_number` `report_received_date` `manufacturer` `make` `model` `model_year` +10 more | 1 credit |
| [GET `/v1/nhtsa/safety-ratings`](https://perceptlayer.com/apis/nhtsa/safety-ratings) | `make` `model` `model_year` | `vehicle_id` `description` `make` `model` `model_year` `overall_rating` +7 more | 1 credit |
| [GET `/v1/nhtsa/vin-decode`](https://perceptlayer.com/apis/nhtsa/vin-decode) | `vin` +1 optional | `vin` `decoded_clean` `error_code` `error_text` `make` `manufacturer` +14 more | 1 credit |

Overview

## About the NHTSA API

## What you can get

The NHTSA API returns U.S. National Highway Traffic Safety Administration vehicle data as JSON through 4 endpoints.

-   **VIN decode:** `vin-decode` takes a 17-character `vin` (no I, O or Q), with an optional `model_year` that helps decode VINs from before 1980.
-   **Recalls:** `recalls` takes a `make`, `model` and `model_year`.
-   **Complaints:** `complaints` takes a `make`, `model` and `model_year`, with `page` and `per_page` (1 to 100). Complaints come newest first.
-   **Safety ratings:** `safety-ratings` takes a `make`, `model` and `model_year`, and returns up to 10 variants.

The recorded `vin-decode` for 1HGCM82633A004352 returned a 2003 Honda Accord EX-V6 coupe with `decoded_clean` true, an `engine` block (6 cylinders, 3 litres, 240 horsepower, `fuel_type` Gasoline), a 5-speed automatic `transmission`, the assembly `plant` (Marysville, Ohio) and the `safety` airbag fields, plus vPIC's `error_code` and `error_text`. The recorded `safety-ratings` call for a 2022 Toyota Camry returned 2 variants, each with `overall_rating` 5, `frontal`, `side` and `rollover` stars, a rollover `risk` of 0.099, `safety_technology`, `complaints_count` and `recalls_count`.

## How a call works

Ask about a vehicle: `GET /v1/nhtsa/recalls?make=honda&model=accord&model_year=2003` with your key in the `X-API-Key` header returned 24 recall campaigns in the recording, each with `campaign_number`, `report_received_date`, `component`, `summary`, `consequence`, `remedy`, the `park_it`, `park_outside` and `over_the_air_update` flags and a `url`. A vehicle NHTSA doesn't know returns an empty list. Answers come from a cache for up to 6 hours. Every successful call costs 1 credit; failed calls cost nothing.

Cars JSON REST MCP

### More cars APIs

[Agriaffaires](https://perceptlayer.com/apis/agriaffaires) [Aramisauto](https://perceptlayer.com/apis/aramisauto) [Autohero](https://perceptlayer.com/apis/autohero) [Autoline](https://perceptlayer.com/apis/autoline) [AutoScout24](https://perceptlayer.com/apis/autoscout24) [AutoTempest](https://perceptlayer.com/apis/autotempest) [AutoTrack.nl](https://perceptlayer.com/apis/autotrack-nl) [Autotrader](https://perceptlayer.com/apis/autotrader) [AutoTrader UK](https://perceptlayer.com/apis/autotrader-uk) [AutoTrader.ca](https://perceptlayer.com/apis/autotrader-ca) [AutoUncle](https://perceptlayer.com/apis/autouncle) [Autovit](https://perceptlayer.com/apis/autovit)

Use cases

### Decode a VIN from a listing into make, model, trim, engine and plant

`Use the NHTSA API to decode a VIN from a listing into make, model, trim, engine and plant` 

### Show open recall campaigns on a used-car listing page

`Use the NHTSA API to show open recall campaigns on a used-car listing page` 

### Flag models with many crash, fire or injury complaints

`Use the NHTSA API to flag models with many crash, fire or injury complaints` 

### Compare 5-Star frontal, side and rollover ratings across variants

`Use the NHTSA API to compare 5-Star frontal, side and rollover ratings across variants` 

FAQ

## Questions

**Is this the official NHTSA API?**

No. Perceptlayer is an independent service and is not affiliated with NHTSA. NHTSA's vPIC and recalls APIs are free and need no key, and they hold callers to an automated rate control. This API calls them on your behalf and adds one key for every source on Perceptlayer, one response shape with dates as YYYY-MM-DD and empty fields as null, local paging of complaints, a cache of up to 6 hours, and no charge for failed calls.

**Where does the data come from?**

From the U.S. National Highway Traffic Safety Administration (NHTSA): vPIC for VIN decoding, and its recalls, complaints and NCAP ratings data for the rest.

**What does a complaint include?**

Its \`odi\_number\`, \`date\_filed\`, \`incident\_date\`, \`components\`, \`summary\`, the \`crash\` and \`fire\` flags, \`injuries\`, \`deaths\` and the \`vin\_prefix\`. The recorded call for a 2003 Honda Accord found 2,013 complaints, paged 10 at a time.

**How much does the NHTSA API cost?**

Each successful call costs one credit, and each page of complaints is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.

**Should I build a NHTSA scraper instead?**

You can, but a NHTSA scraper is code you maintain: page changes break it, requests get blocked, and NHTSA's terms govern how you collect data. The NHTSA API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the NHTSA API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
