# NHTSA Recall Database: Vehicle Recall Campaigns (`plain-build/nhtsa-vehicle-recalls-scraper`) Actor

Gets US vehicle recall campaigns in NHTSA's recall data for all makes, newest report first and 10 recall campaigns by default. Each has recall number, manufacturer, components, vehicles, units affected, defect and remedy. Filters by make, model, year, component and date. No login, no key.

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

## Pricing

from $1.28 / 1,000 recall campaigns

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Recall Database: Vehicle Recall Campaigns

NHTSA Recall Database returns US vehicle, equipment, tire and child seat recall campaigns from the National Highway Traffic Safety Administration's recall file. A run returns the 10 newest campaigns across all makes unless you raise Maximum results, one row per campaign with its vehicles listed. Narrow it by make, model, model year, component or report date, or turn on Only new recalls (new_since_last_run) for a daily schedule that charges only campaigns you have not had. No login, no key. It costs USD 1.50 per 1,000 recall campaigns on Free and Bronze, so the prefilled run of 25 campaigns costs about USD 0.04.

### What NHTSA Recall Database returns

The data comes from NHTSA (U.S. National Highway Traffic Safety Administration) through its open data (https://static.nhtsa.gov/odi/ffdd/rcl/RCL.txt). This Actor is not affiliated with, endorsed by or sponsored by NHTSA (U.S. National Highway Traffic Safety Administration). It reads only that open data, one request at a time, and it checks robots.txt before the first request to each host.

### Who it is for

- Car dealers, fleet managers and rental companies who check new recalls against the makes and models they hold.
- Parts sellers, repair shops and insurers who follow recalls by component, such as air bags, brakes or fuel systems.
- Analysts and journalists who track recalls by manufacturer, units affected and Do Not Drive advisories.
- Developers who want NHTSA's recall campaigns as JSON or CSV without downloading and joining the flat file.

### Key features

- One row per recall campaign, with the recalled makes, models and years grouped into lists.
- Filters by recall type, manufacturer, make, model, model year, component and report dates.
- Do Not Drive and Park Outside advisories as true or false.
- Only new recalls (new_since_last_run) delivers and charges only campaigns you have not had from this Actor for the same filters.
- USD 1.50 per 1,000 recall campaigns; errors and empty results go to a separate errors dataset and are not charged.

### How it works

The Actor downloads NHTSA's official recall flat file from static.nhtsa.gov (FLAT_RCL_POST_2010.zip, about 15 MB, every recall with a report received since 2010), one request a run, and unzips it as a stream. The file has one row per recalled make, model, model year and component; the Actor groups them into one row per recall campaign, keeps the campaigns that match your filters and delivers them newest report date first. Each campaign has the NHTSA recall number, type, report and record dates, manufacturer and its campaign number, who started the recall, units potentially affected, owner notification date, FMVSS standard, components, the vehicles (make, model and year, at most 100 listed) with their count, makes, model years, manufacturing dates, the defect, consequence and remedy summaries, notes, the Do Not Drive and Park Outside advisories and a link to NHTSA's recall page. A manufacturer name that reads as a person's is left empty. Free text is cleaned of emails, phone numbers other than toll-free numbers, and names after words such as contact, except the campaign's own makes and manufacturers; texts written in capitals are not checked for a person's name; in the file of 22 Nov 2026 their names are those of firms and brands only.

### How to try it

1. Open the Input tab. The prefilled input returns the 25 newest recall campaigns of every type.
2. Click Start. A run downloads NHTSA's recall file of about 15 MB once and reads all of it, so every run takes about the same time. In a local test with the real file on 22 Nov 2026, a default run took 3 seconds and a run of all 15,424 campaigns 11 seconds, plus the platform's start.
3. Open the Output tab to see the results as a table, or export them as JSON, CSV or Excel.

NHTSA adds a campaign to its recall file a few days after a manufacturer's report arrives (at most 13 days in 2025 and 2026). To get new recalls every day, schedule a run with `new_since_last_run` on: each run delivers and charges only campaigns you have not had from this Actor for the same filters, and finds nothing new on some days.

- A campaign held back by `max_items` or your spending limit comes in a later run, after the newer ones. A daily run without a first report day reads at least the campaigns with a row added in the last 30 days; after 366 days held-back campaigns are no longer read, and the run says so in one uncharged error item (`held_back_dropped`).
- Each combination of filters has its own memory, a record in one key-value store named `nhtsa-vehicle-recalls-scraper-state` in your account. Deleting the store starts every combination again.
- Two runs at the same time can deliver and charge the same campaign, so leave a gap between scheduled runs.

The name check uses derived data, not official statistics: Statistics Norway (SSB) table 10501 and the Finnish Digital and Population Data Services Agency (DVV) first names, both CC BY 4.0, and Czech Statistical Office data, plus hand-written names.

Data from the National Highway Traffic Safety Administration (NHTSA), a work of the U.S. Government. This Actor is not provided, endorsed or approved by NHTSA.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `recall_type` | string | "all" | all, vehicle, equipment, tire or child_seat, as NHTSA files the recall. |
| `manufacturer` | string | "" | Part of the manufacturer's name as NHTSA writes it, for example Ford or Forest River; matches the filing manufacturer and the manufacturers of the recalled products, in any case. Letters, digits, spaces and & . , ' ( ) / : - only, at most 100 characters. Leave empty for every manufacturer. |
| `make` | string | "" | The vehicle or equipment make exactly as NHTSA writes it, in any case, for example FORD, TOYOTA or HARLEY-DAVIDSON. Leave empty for every make. |
| `model` | string | "" | Part of the model name, in any case, for example F-150 (also matches F-150 LIGHTNING). Use it with Make for one vehicle. Leave empty for every model. |
| `model_year` | integer | none | One model year from 1900 to 2100, for example 2024. Leave empty for every year. |
| `component` | string | "" | Part of NHTSA's component name, in any case, for example AIR BAGS, BRAKES or FUEL SYSTEM. Leave empty for every component. |
| `report_date_from` | string | "" | The first day NHTSA received the manufacturer's defect or noncompliance report, as YYYY-MM-DD, for example 2026-01-01. Leave empty for no start. With Only new recalls on, an empty value reads the campaigns with a row added in the last 30 days at least, and a date may be at most 366 days back. |
| `report_date_to` | string | "" | The last day of the report, as YYYY-MM-DD, for example 2026-06-30. Leave empty for no end. Not with Only new recalls, which always reads up to the newest campaign. |
| `new_since_last_run` | boolean | false | Deliver and charge only recall campaigns this Actor has not delivered to you before for the same recall type, manufacturer, make, model, model year and component (upper and lower case count as the same). Without a first report day, a run reads the campaigns with a row NHTSA added to its file in the last 30 days at least, each with all its vehicles, newest first; a campaign held back by Maximum results or your spending limit comes in a later run. Delivered campaigns are remembered in a key-value store named nhtsa-vehicle-recalls-scraper-state in your account. |
| `max_items` | integer | 10 | How many recall campaigns to return at most, from 1 to 20,000. The default is 10: raise it to get more; a run stops at this number. You pay per recall campaign delivered. |

### Output

Each result has these fields. Missing values are `null`, never a different type.

| Field | Type | Description |
|---|---|---|
| `item_type` | string | Always `recall_campaign` |
| `source_id` | string | nhtsa: and the NHTSA recall number, for example nhtsa:26V765000 |
| `nhtsa_id` | string | The NHTSA recall (campaign) number, for example 26V765000: year, type letter (V vehicle, E equipment, T tire, C child seat) and number |
| `recall_type` | string or null | Vehicle, Equipment, Tire or Child seat |
| `report_received_date` | string | The day NHTSA received the manufacturer's defect or noncompliance report, YYYY-MM-DD |
| `record_created_date` | string or null | NHTSA's record creation date, YYYY-MM-DD; a daily run reads it. It can be before the report date |
| `manufacturer` | string or null | The manufacturer that filed the report. Empty when the name reads as a person's |
| `manufacturer_campaign_number` | string or null | The manufacturer's own recall number or numbers |
| `recall_initiator` | string or null | Manufacturer, NHTSA defect investigation (ODI) or NHTSA compliance testing (OVSC) |
| `potentially_affected` | integer or null | Units potentially affected, as the manufacturer reported |
| `owner_notification_date` | string or null | The day the manufacturer notified owners, YYYY-MM-DD; often empty for new campaigns |
| `fmvss` | string or null | The Federal Motor Vehicle Safety Standard of a noncompliance, for example 108 |
| `components` | string or null | NHTSA's component names, separated by '; ', for example AIR BAGS:FRONTAL:DRIVER SIDE:INFLATOR MODULE |
| `vehicle_count` | integer | How many distinct make, model and model year entries the campaign has |
| `vehicles` | string or null | The recalled vehicles or products as make, model and year (the year left out when NHTSA gives none), separated by '; '; at most 100 |
| `makes` | string or null | The recalled makes, separated by '; ' |
| `model_year_from` | integer or null | The earliest model year recalled; empty when NHTSA gives none |
| `model_year_to` | integer or null | The latest model year recalled |
| `manufactured_from` | string or null | The first day of manufacture of the recalled units, YYYY-MM-DD |
| `manufactured_to` | string or null | The last day of manufacture of the recalled units, YYYY-MM-DD |
| `product_manufacturers` | string or null | The manufacturers of the recalled vehicles or equipment, separated by '; '; a name that reads as a person's is left out |
| `defect_summary` | string or null | The defect or noncompliance, as NHTSA summarises it |
| `consequence_summary` | string or null | What the defect can cause |
| `corrective_action` | string or null | The remedy and when owners are notified |
| `notes` | string or null | NHTSA's notes, mostly where owners can learn more |
| `do_not_drive` | boolean or null | True when NHTSA advises owners not to drive the vehicle until it is repaired |
| `park_outside` | boolean or null | True when NHTSA advises owners to park outside, away from buildings, because of a fire risk |
| `recall_url` | string | The campaign on NHTSA's recall page |
| `source_url` | string | The address of NHTSA's recall file the row comes from, the same for every row |
| `fetched_at` | string | When the record was fetched, ISO 8601 UTC |
| `actor_version` | string | The build that produced the record |

Example item:

```json
{
  "item_type": "recall_campaign",
  "source_id": "<source_id>",
  "nhtsa_id": "<nhtsa_id>",
  "recall_type": "<recall_type>",
  "report_received_date": "<report_received_date>",
  "record_created_date": "<record_created_date>",
  "manufacturer": "<manufacturer>",
  "manufacturer_campaign_number": "<manufacturer_campaign_number>",
  "recall_initiator": "<recall_initiator>",
  "potentially_affected": 0,
  "owner_notification_date": "<owner_notification_date>",
  "fmvss": "<fmvss>",
  "components": "<components>",
  "vehicle_count": 0,
  "vehicles": "<vehicles>",
  "makes": "<makes>",
  "model_year_from": 0,
  "model_year_to": 0,
  "manufactured_from": "<manufactured_from>",
  "manufactured_to": "<manufactured_to>",
  "product_manufacturers": "<product_manufacturers>",
  "defect_summary": "<defect_summary>",
  "consequence_summary": "<consequence_summary>",
  "corrective_action": "<corrective_action>",
  "notes": "<notes>",
  "do_not_drive": true,
  "park_outside": true,
  "recall_url": "<recall_url>",
  "source_url": "<source_url>",
  "fetched_at": "2026-11-04T09:30:00Z",
  "actor_version": "0.1.1"
}
```

Free-text fields are cleaned before delivery: email addresses, phone numbers, @handles and person names introduced by words such as "contact", "recruiter", "founder" or "manager" are replaced with `[removed]`. The cleaning follows fixed rules, so a name written elsewhere in the text, or in lower case, can remain.

### What it does not do

- Only recalls whose report NHTSA received from 2010 on (the file FLAT_RCL_POST_2010); older campaigns are in another file the Actor does not read.
- No complaints, investigations, crash ratings or VIN lookups, and no completion rates.
- NHTSA adds a campaign to its file a few days after the report arrives; the file read on 22 Nov 2026 was last changed on 21 Nov 2026.
- A campaign lists at most 100 vehicles (make, model and year); vehicle_count gives the full number. Components, makes and product manufacturers list at most 20 each.
- A manufacturer name that reads as a person's is left empty and the campaign is kept; the name is also removed from the campaign's free text, and one uncharged dropped item counts the names left out, once per campaign. A name with a vehicle trade word (Motor, Coach, Trailer, Manufacturing and others) is kept. Makes and models are brand names as NHTSA writes them and are not checked.
- Free text is cleaned: emails and phone numbers are removed, except toll-free numbers (800, 833, 844, 855, 866, 877, 888). A capitalised name after "contact" is removed unless it is one of the campaign's makes or manufacturers (a make or manufacturer that reads as a person's name is not kept), so a brand the campaign does not list (a parent company, a supplier) can go too. Model-year ranges are kept, and so are part numbers right after a code phrase (part number, kit, lot and the like) and the list that follows it; elsewhere a code that reads as a phone number is removed (34 of 15,424 defect summaries on 22 Nov 2026). Texts written in capitals (most of 2010 to 2012) are not checked for a person's name; in the file of 22 Nov 2026 their 3,483 phrases after "contact" name brands and firms only, and a check for a first name followed by a family name in its 6,885 summaries without a lower-case letter outside links and HTML tags found only firm and brand names.
- Every run downloads and reads the whole file of about 15 MB, also for a narrow filter.

### How much does the NHTSA Recall Database cost?

You pay per recall campaign delivered to the default dataset. Errors and empty results are written to a separate `errors` dataset and are never charged.

| Plan tier | Price per 1,000 recall campaigns |
|---|---|
| Free and Bronze | USD 1.50 |
| Silver and above | USD 1.28 |

Example: a run that delivers 1,000 recall campaigns costs USD 1.50 on the Free and Bronze tiers and USD 1.28 on Silver and above, plus the platform's start event of USD 0.00005. If you set a maximum cost per run, the Actor stops before it would go over it and delivers nothing it cannot charge for.

### Other Actors in this family

This Actor is part of a family of job and public-data scrapers built on the same core: one result per charge, a separate uncharged errors dataset, and no person fields. The others on Apify Store:

- [Greenhouse, Lever, Ashby & Workable Job Board API](https://apify.com/plain-build/ats-job-boards-scraper)
- [AusTender Government Contracts API: Australia](https://apify.com/plain-build/austender-contracts-scraper)
- [CKAN Open Data Portals: Government Datasets](https://apify.com/plain-build/ckan-open-data-scraper)
- [Federal Register and USAspending Contract Awards](https://apify.com/plain-build/federal-register-usaspending-scraper)
- [France INSEE Sirene Companies: Search by NAF Code](https://apify.com/plain-build/france-sirene-companies-scraper)
- [GitHub Repositories Search API: Org Repos](https://apify.com/plain-build/github-repositories-scraper)
- [LEI Records Scraper: New Entities (GLEIF Data)](https://apify.com/plain-build/gleif-lei-records-scraper)
- [Grants.gov Scraper: US Federal Grant Opportunities](https://apify.com/plain-build/grants-gov-opportunities-scraper)
- [Hacker News Who Is Hiring Scraper: Official HN API](https://apify.com/plain-build/hacker-news-hiring-scraper)
- [Hugging Face Hub Models and Datasets by Task](https://apify.com/plain-build/huggingface-hub-scraper)
- [Norway, Czech & Finland Company Register Scraper](https://apify.com/plain-build/nordic-czech-company-registers-scraper)
- [npm Package Search: Downloads and Dependents](https://apify.com/plain-build/npm-packages-scraper)
- [NVD CVE Vulnerabilities API with CISA KEV Flag](https://apify.com/plain-build/nvd-cve-vulnerabilities-scraper)
- [Open Data Portals Dataset Catalog (Socrata)](https://apify.com/plain-build/open-data-portals-scraper)
- [OpenVSX VSCode Extensions: Downloads, Ratings](https://apify.com/plain-build/open-vsx-extensions-scraper)
- [FDA Recall Database API: Food, Drug and Device](https://apify.com/plain-build/openfda-recalls-scraper)
- [Product Hunt Launches Feed Scraper: Website Links](https://apify.com/plain-build/product-hunt-launches-scraper)
- [Shopify & WooCommerce Store Data by Domain List](https://apify.com/plain-build/shopify-woocommerce-stores-scraper)
- [Tech Stack Detector for Bulk Domain Lists](https://apify.com/plain-build/tech-stack-detection-scraper)
- [TED Tenders and Awards Scraper: EU Notices by CPV](https://apify.com/plain-build/ted-eu-tenders-scraper)
- [UK Contracts Finder Scraper: Awards and Tenders](https://apify.com/plain-build/uk-contracts-finder-scraper)
- [Find a Tender Service Notices: UK Public Tenders](https://apify.com/plain-build/uk-public-tenders-scraper)
- [USGS Earthquake Catalog Data: Worldwide Events](https://apify.com/plain-build/usgs-earthquakes-scraper)
- [WeWorkRemotely Jobs Scraper: All 10 Categories](https://apify.com/plain-build/weworkremotely-jobs-scraper)
- [Procurement Notices Scraper (World Bank Data)](https://apify.com/plain-build/world-bank-procurement-scraper)

### NHTSA Recall Database FAQ

#### Is there personal data in the output?

No personal data by design. The output holds facts about recall campaigns, vehicles and manufacturers. A manufacturer name that reads as a person's (a small importer can be a sole trader) is left empty and also removed from the campaign's free text, the campaign is kept, and one uncharged dropped item counts the names left out per campaign, never the names. Makes, models and vehicles are brand names and are not checked, so a make that reads as a person's name stays there. Emails and phone numbers other than toll-free numbers are removed from the defect, consequence, remedy and notes texts, and so is a name after contact written in capital and small letters, unless it is the campaign's make or manufacturer. Texts written in capitals are not checked for a person's name; in NHTSA's file of 22 Nov 2026 their names are those of firms and brands only.

#### Is the data accurate?

The data comes from NHTSA's official recall flat file as NHTSA publishes it. Accuracy is not guaranteed. The summaries are NHTSA's free text. The cleaning removes ordinary phone numbers, and a brand after the word contact that is not the campaign's make or manufacturer; model-year ranges, toll-free numbers and part numbers right after a code phrase (part number, kit, lot) are kept, while a code elsewhere that reads as a phone number is removed.

#### Who runs this Actor?

It is not affiliated with NHTSA (U.S. National Highway Traffic Safety Administration).

#### How is the data collected?

The official API or open data is used where the source offers it. This Actor uses only NHTSA (U.S. National Highway Traffic Safety Administration)'s open data.

#### How do I download the NHTSA recall database?

Run this Actor. It downloads NHTSA's daily recall file (FLAT_RCL_POST_2010.zip) for you, groups its make, model and year rows into one row per recall campaign and gives them as JSON, CSV or Excel. Raise Maximum results to 20,000 to get every campaign whose report NHTSA received since 2010.

#### How do I get NHTSA recalls by manufacturer?

Set Manufacturer to words of its name, for example Ford or Forest River, raise Maximum results and run the Actor. It matches the manufacturer that filed the report and the manufacturers of the recalled products, newest campaign first.

#### Is there an NHTSA recall API with the newest recalls?

Not that this Actor uses. NHTSA's API (api.nhtsa.gov) looks up recalls by make, model and year or by recall number; its robots.txt answers 403, so it is not read. This Actor reads NHTSA's daily recall file instead, so one run returns the newest campaigns of every make, one row per campaign, with filters by component and manufacturer and, with Only new recalls on, only campaigns you have not had.

#### Can I get new vehicle recalls every day?

Yes. Schedule a daily run with Only new recalls on. Each run delivers and charges only campaigns you have not had for the same filters and, with the first report day empty, reads the campaigns with a row added in the last 30 days at least.

#### How do I get all recalls for one vehicle?

Set Make, Model and Model year, for example TOYOTA, CAMRY and 2020, raise Maximum results and run the Actor. Each campaign that recalls that vehicle comes once, with all its vehicles listed.

#### Why is a manufacturer empty?

Because its name reads as a person's, for example a sole trader; the campaign is kept and one uncharged dropped item counts the names left out. On 22 November 2026, 9 of the 1,950 manufacturer names in NHTSA's file were left out this way, in 12 of 15,424 campaigns, some of them companies whose names start with a given name.

#### Can I use NHTSA recall data commercially?

Yes, in our reading. NHTSA's recall data is a work of the U.S. Government, and the US DOT data portal lists the same data as Public Domain U.S. Government. This is an open reading, not a legal opinion. This Actor is not provided, endorsed or approved by NHTSA.

#### What may I do with the data?

You are responsible for complying with the law and with the source's terms when you use the data.

#### Something is broken?

Open an issue on the Issues tab with the run link and your input.

# Changelog

This Actor's version history is a separate document: https://apify.com/plain-build/nhtsa-vehicle-recalls-scraper/changelog.md

# Actor input Schema

## `recall_type` (type: `string`):

all, vehicle, equipment, tire or child_seat, as NHTSA files the recall.

## `manufacturer` (type: `string`):

Part of the manufacturer's name as NHTSA writes it, for example Ford or Forest River; matches the filing manufacturer and the manufacturers of the recalled products, in any case. Letters, digits, spaces and & . , ' ( ) / : - only, at most 100 characters. Leave empty for every manufacturer.

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

The vehicle or equipment make exactly as NHTSA writes it, in any case, for example FORD, TOYOTA or HARLEY-DAVIDSON. Leave empty for every make.

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

Part of the model name, in any case, for example F-150 (also matches F-150 LIGHTNING). Use it with Make for one vehicle. Leave empty for every model.

## `model_year` (type: `integer`):

One model year from 1900 to 2100, for example 2024. Leave empty for every year.

## `component` (type: `string`):

Part of NHTSA's component name, in any case, for example AIR BAGS, BRAKES or FUEL SYSTEM. Leave empty for every component.

## `report_date_from` (type: `string`):

The first day NHTSA received the manufacturer's defect or noncompliance report, as YYYY-MM-DD, for example 2026-01-01. Leave empty for no start. With Only new recalls on, an empty value reads the campaigns with a row added in the last 30 days at least, and a date may be at most 366 days back.

## `report_date_to` (type: `string`):

The last day of the report, as YYYY-MM-DD, for example 2026-06-30. Leave empty for no end. Not with Only new recalls, which always reads up to the newest campaign.

## `new_since_last_run` (type: `boolean`):

Deliver and charge only recall campaigns this Actor has not delivered to you before for the same recall type, manufacturer, make, model, model year and component (upper and lower case count as the same). Without a first report day, a run reads the campaigns with a row NHTSA added to its file in the last 30 days at least, each with all its vehicles, newest first; a campaign held back by Maximum results or your spending limit comes in a later run. Delivered campaigns are remembered in a key-value store named nhtsa-vehicle-recalls-scraper-state in your account.

## `max_items` (type: `integer`):

How many recall campaigns to return at most, from 1 to 20,000. The default is 10: raise it to get more; a run stops at this number. You pay per recall campaign delivered.

## Actor input object example

```json
{
  "recall_type": "all",
  "manufacturer": "",
  "make": "",
  "model": "",
  "component": "",
  "report_date_from": "",
  "report_date_to": "",
  "new_since_last_run": false,
  "max_items": 25
}
```

# Actor output Schema

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

One item per recall campaign.

## `errors` (type: `string`):

Records that could not be delivered, and queries with no results. Not charged.

# 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 = {
    "max_items": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("plain-build/nhtsa-vehicle-recalls-scraper").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 = { "max_items": 25 }

# Run the Actor and wait for it to finish
run = client.actor("plain-build/nhtsa-vehicle-recalls-scraper").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 '{
  "max_items": 25
}' |
apify call plain-build/nhtsa-vehicle-recalls-scraper --silent --output-dataset

```

## MCP server setup

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

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/ohRwyAK9Lj0CH6vxC/builds/j9EUgmP3TaJ1ltkdP/openapi.json
