# NHTSA Vehicle Recalls Monitor — Make / Model / Campaign (`reverential_haw/nhtsa-vehicle-recalls-monitor`) Actor

Pull U.S. NHTSA vehicle safety recalls from the official api.nhtsa.gov API. Filter by make/model/year or campaign number. Built for fleets, insurers, dealerships, and VIN ops.

- **URL**: https://apify.com/reverential_haw/nhtsa-vehicle-recalls-monitor.md
- **Developed by:** [Finn McDonough](https://apify.com/reverential_haw) (community)
- **Categories:** Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 recall rows

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 Monitor — Make / Model / Campaign

**Pull U.S. NHTSA vehicle safety recalls by make/model/year, campaign number, or date window — structured JSON for fleets, insurers, dealerships, and VIN operations.**

Built on the **official `api.nhtsa.gov` recalls API**. No login, no HTML scraping, no proxies required for typical volumes.

***

### Who this is for

- **Fleet & leasing risk desks** watching recurring make/model campaigns
- **Auto insurers** enriching underwriting with recall history
- **Dealerships / OEM ops** verifying campaign coverage by year
- **Journalists & researchers** building vehicle-safety datasets without parsers

### What you get

Each dataset item is one NHTSA recall row:

| Field | Example |
| --- | --- |
| `nhtsaCampaignNumber` | `21V215000` |
| `manufacturer` | Honda (American Honda Motor Co.) |
| `make` / `model` / `modelYear` | HONDA / CIVIC / 2020 |
| `component` | FUEL SYSTEM, GASOLINE:DELIVERY:FUEL PUMP |
| `summary` / `consequence` / `remedy` | Narrative fields |
| `reportReceivedDate` | `25/03/2021` |
| `parkIt` / `overTheAirUpdate` | Boolean flags |
| `potentialNumberOfUnitsAffected` | When present (campaign mode) |

#### Sample output

```json
{
  "nhtsaCampaignNumber": "21V215000",
  "manufacturer": "Honda (American Honda Motor Co.)",
  "make": "HONDA",
  "model": "CIVIC",
  "modelYear": "2020",
  "component": "FUEL SYSTEM, GASOLINE:DELIVERY:FUEL PUMP",
  "summary": "…The low-pressure fuel pump inside the fuel tank may fail.",
  "parkIt": false,
  "overTheAirUpdate": false,
  "source": "nhtsa"
}
```

### How to run

#### Modes

| Mode | Required inputs | Endpoint |
| --- | --- | --- |
| `byVehicle` (default) | `make`, `model`, `modelYear` | `/recalls/recallsByVehicle` |
| `byCampaign` | `campaignNumber` | `/recalls/campaignNumber` |
| `byDate` | `dateStart`, `dateEnd` (YYYY-MM-DD) | `/safetyIssues/byDate?issueType=recall` |

#### Example inputs

**2020 Honda Civic**

```json
{
  "mode": "byVehicle",
  "make": "honda",
  "model": "civic",
  "modelYear": "2020",
  "maxItems": 50
}
```

**Known campaign**

```json
{
  "mode": "byCampaign",
  "campaignNumber": "21V215000",
  "maxItems": 100
}
```

### Pricing (PPE recommendation)

Use **pay-per-event** with synthetic `apify-default-dataset-item` (one charge per recall row) plus default `apify-actor-start`.

| Event | Suggested FREE-tier price | Notes |
| --- | --- | --- |
| `apify-actor-start` | $0.00005 (platform default) | Keep default |
| `apify-default-dataset-item` | **$0.002 / recall** ($2 / 1,000) | Primary event |

Aligned with the CPSC and openFDA recall Actors for a consistent **US Recall Suite**.

### Why NHTSA (legal / ToS)

- Data is published by NHTSA via [api.nhtsa.gov](https://www.nhtsa.gov/nhtsa-datasets-and-apis).
- This Actor calls documented JSON endpoints only.
- Make/model strings should match NHTSA naming (use vPIC if decoding from VIN upstream).

### Limits & honesty

- NHTSA recall completion for a specific VIN is not always real-time; this Actor returns campaign data, not per-VIN remedy status.
- `byDate` uses the safetyIssues aggregate feed and may differ slightly from vehicle-endpoint field richness.
- Fixture mode (`useFixture: true`) is for local/CI validation only.

### Related Actors (catalog)

- **CPSC Product Recalls Monitor** — consumer product recalls
- **FDA Recalls Monitor (openFDA)** — food, drug & device enforcement
- **SAM.gov Exclusions Screener** — federal debarment screening

### Support

Open an issue on the Actor page. Target response: same business day.

# Actor input Schema

## `mode` (type: `string`):

byVehicle = make/model/year; byCampaign = NHTSA campaign number; byDate = safetyIssues/byDate recall feed (YYYY-MM-DD).

## `make` (type: `string`):

Vehicle make (required for byVehicle). Use NHTSA naming (e.g. honda, toyota).

## `model` (type: `string`):

Vehicle model (required for byVehicle).

## `modelYear` (type: `string`):

Four-digit model year (required for byVehicle).

## `campaignNumber` (type: `string`):

Campaign number for byCampaign mode (e.g. 21V215000).

## `dateStart` (type: `string`):

Start date for byDate mode (safetyIssues/byDate).

## `dateEnd` (type: `string`):

End date for byDate mode.

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

Maximum recall records to return.

## `useFixture` (type: `boolean`):

When true, read fixtures/sample-nhtsa-response.json instead of calling NHTSA. For local validation only.

## `fixturePath` (type: `string`):

Path to a fixture JSON file (relative to the Actor root).

## Actor input object example

```json
{
  "mode": "byVehicle",
  "make": "honda",
  "model": "civic",
  "modelYear": "2020",
  "campaignNumber": "",
  "dateStart": "",
  "dateEnd": "",
  "maxItems": 100,
  "useFixture": false,
  "fixturePath": "fixtures/sample-nhtsa-response.json"
}
```

# Actor output Schema

## `overview` (type: `string`):

Tabular overview of the most useful dataset fields.

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

All normalized NHTSA recall records in the default dataset.

## `summary` (type: `string`):

JSON summary of items pushed and run metadata, stored in the default key-value store as OUTPUT_SUMMARY.

# 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 = {
    "make": "honda",
    "model": "civic",
    "modelYear": "2020",
    "campaignNumber": "",
    "dateStart": "",
    "dateEnd": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("reverential_haw/nhtsa-vehicle-recalls-monitor").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 = {
    "make": "honda",
    "model": "civic",
    "modelYear": "2020",
    "campaignNumber": "",
    "dateStart": "",
    "dateEnd": "",
}

# Run the Actor and wait for it to finish
run = client.actor("reverential_haw/nhtsa-vehicle-recalls-monitor").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 '{
  "make": "honda",
  "model": "civic",
  "modelYear": "2020",
  "campaignNumber": "",
  "dateStart": "",
  "dateEnd": ""
}' |
apify call reverential_haw/nhtsa-vehicle-recalls-monitor --silent --output-dataset

```

## MCP server setup

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

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/ZiMGn4FsRoTiAEzy6/builds/KBUB4giwot9pZkqkn/openapi.json
