# NHTSA Vehicle Recalls API: US Car Recall Data by Make Model (`jayraj0975/nhtsa-vehicle-recalls`) Actor

Get US vehicle recall records from the official NHTSA public API by make, model and year: campaign number, component, summary, remedy. Pay per result.

- **URL**: https://apify.com/jayraj0975/nhtsa-vehicle-recalls.md
- **Developed by:** [Jay Gaikwad](https://apify.com/jayraj0975) (community)
- **Categories:** Other, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## NHTSA Vehicle Recalls by Make, Model and Year

Look up U.S. National Highway Traffic Safety Administration (NHTSA) recall records for a list of vehicles, using NHTSA's public `recallsByVehicle` API. This Actor is an unofficial, independent tool that reads public data — it is not operated by, endorsed by, or affiliated with NHTSA or any vehicle manufacturer.

### What it does

For each vehicle (`make`, `model`, `modelYear`) provided in the input, this Actor queries the public NHTSA `recallsByVehicle` API and returns one dataset row per recall with normalized fields:

- `nhtsaCampaignNumber`
- `manufacturer`
- `component`
- `summary`
- `consequence`
- `remedy`
- `reportReceivedDate` (ISO `YYYY-MM-DD`)
- `parkIt`
- `parkOutSide`
- `overTheAirUpdate`

Vehicles with zero recalls produce a single **empty-result** row (`recallCount = 0`) so you can confirm the vehicle was queried.

The Actor is polite by design — it makes **one request per second** — and does not push empty or malformed items. If the NHTSA API layout changes, the Actor fails loudly with a clear `LayoutChangedError`.

### Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `vehicles` | array of objects | yes | Each entry: `{ "make": "toyota", "model": "camry", "modelYear": "2020" }`. |
| `maxItems` | integer | no | Maximum total recall rows to return. Default `1000`. |

Example:

```json
{
  "vehicles": [
    { "make": "toyota", "model": "camry", "modelYear": "2020" },
    { "make": "ford",   "model": "f-150", "modelYear": "2019" }
  ],
  "maxItems": 500
}
```

### Output sample

Example record (illustrative; values vary) — this is a representative shape based on a known NHTSA campaign, not a captured live run. Actual values depend on the live NHTSA record.

```json
{
  "make": "TOYOTA",
  "model": "CAMRY",
  "modelYear": "2020",
  "recallCount": 1,
  "nhtsaCampaignNumber": "20V682000",
  "manufacturer": "Toyota Motor Engineering & Manufacturing",
  "component": "FUEL SYSTEM, GASOLINE:DELIVERY:FUEL PUMP",
  "summary": "Toyota Motor Engineering & Manufacturing (Toyota) is recalling certain ...",
  "consequence": "If the fuel pump fails, the engine can stall while driving, increasing the risk of a crash.",
  "remedy": "Toyota will notify owners, and dealers will replace the fuel pump assembly ...",
  "reportReceivedDate": "2020-11-04",
  "parkIt": false,
  "parkOutSide": false,
  "overTheAirUpdate": false,
  "scrapedAt": "2025-01-01T00:00:00Z"
}
```

Example record (illustrative; values vary) — empty-result row for a vehicle with no recalls:

```json
{
  "make": "tesla",
  "model": "cybertruck",
  "modelYear": "2024",
  "recallCount": 0,
  "nhtsaCampaignNumber": null,
  "manufacturer": null,
  "component": null,
  "summary": null,
  "consequence": null,
  "remedy": null,
  "reportReceivedDate": null,
  "parkIt": null,
  "parkOutSide": null,
  "overTheAirUpdate": null,
  "scrapedAt": "2025-01-01T00:00:00Z"
}
```

### Pricing

**$3 per 1,000 results** — you only pay for dataset rows pushed (both recall rows and the single empty-result row per vehicle with zero recalls count as one result).

### Limits

- Exactly **1 request per second** to the NHTSA API.
- Intended for modest batches of vehicles (tens to hundreds per run).
- Total rows capped by `maxItems`.
- Dates are normalized to ISO 8601.
- Recall attributes (`parkIt`, `parkOutSide`, `overTheAirUpdate`) are passed through from the API as booleans.
- **Data source terms:** the NNHTSA `recallsByVehicle` API is public and free to query. Redistribution of NHTSA recall data is generally permitted, but terms can change — **check NHTSA's current terms before commercial redistribution**. This is not legal advice, and we make no representation about your right to redistribute the data; verify it yourself.

### Disclaimer

This is an **unofficial** community Actor. It is **not affiliated with the U.S. National Highway Traffic Safety Administration (NHTSA)** or any vehicle manufacturer. It only accesses **public data** from the NHTSA public API (`api.nhtsa.gov`). It does not log in, does not access personal data, and never attempts to bypass captchas. Results are provided **as-is with no guarantee of accuracy, completeness, or availability** — always verify critical safety information with the NHTSA and the vehicle manufacturer.

**This is not safety, legal, or vehicle-service advice.** It is not a substitute for the manufacturer's official safety recall notice or for NHTSA's own records.

# Actor input Schema

## `vehicles` (type: `array`):

List of vehicles to fetch NHTSA recalls for. Each entry requires make, model, and modelYear.

## `maxItems` (type: `integer`):

Maximum number of recall rows to return in total across all vehicles.

## Actor input object example

```json
{
  "vehicles": [
    {
      "make": "toyota",
      "model": "camry",
      "modelYear": "2020"
    }
  ],
  "maxItems": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "vehicles": [
        {
            "make": "toyota",
            "model": "camry",
            "modelYear": "2020"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jayraj0975/nhtsa-vehicle-recalls").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "vehicles": [{
            "make": "toyota",
            "model": "camry",
            "modelYear": "2020",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("jayraj0975/nhtsa-vehicle-recalls").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "vehicles": [
    {
      "make": "toyota",
      "model": "camry",
      "modelYear": "2020"
    }
  ]
}' |
apify call jayraj0975/nhtsa-vehicle-recalls --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jayraj0975/nhtsa-vehicle-recalls"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6Bxyp7oWO2uN7O5IZ/builds/kvXyf0bTTP3C5XiDb/openapi.json
