# US Product Recalls API - FDA, CPSC & NHTSA in One Feed (`onomatopoeia_dev/us-product-recalls`) Actor

FDA food, drug and device recalls, CPSC consumer-product recalls and NHTSA vehicle recalls in one normalized feed. Filter by date, hazard, company, class and state; only-new mode for alerts.

- **URL**: https://apify.com/onomatopoeia_dev/us-product-recalls.md
- **Developed by:** [onomatopoeia](https://apify.com/onomatopoeia_dev) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 recalls

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/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

## US Product Recalls API - FDA, CPSC & NHTSA in One Feed

**Get US food, drug, medical device, consumer product and vehicle recalls from FDA, CPSC and NHTSA in one clean table: recall ID, date, product, company, reason or hazard, risk class, distribution, remedy and a link to the agency page. Download it as JSON, CSV or Excel.**

This **product recall scraper** reads only **official US government APIs**: openFDA enforcement reports (food, drugs, devices), the CPSC SaferProducts.gov recall API and the NHTSA recalls API. It needs **no login, no API key and no proxies**. It **honors robots.txt**, stays inside openFDA's keyless rate limit, and never adds personal contact details (phone numbers and e-mail addresses are stripped).

> Not affiliated with or endorsed by the FDA, CPSC, NHTSA or any other agency. Data comes from the public records each agency publishes. Do not use it as the only source for medical or safety decisions.

### What can you do with it?

- **Recall monitoring and alerts.** Schedule a run with **Only new recalls since the last run** turned on and send the results to Slack, e-mail or a webhook.
- **Retail and e-commerce compliance.** Check your catalog against new CPSC and FDA recalls by brand, keyword, UPC or model number.
- **Food and pharma quality teams.** Watch Class I recalls, undeclared allergens, Salmonella or Listeria, filtered to the states you ship to.
- **Insurance, legal and risk research.** One schema across agencies, with hazard tags, units affected and remedy text.
- **Automotive and fleet.** Recent NHTSA campaigns by make or model, with the do-not-drive flag, or the full recall history of one vehicle.
- **Journalists and consumer sites.** A daily feed of what was recalled, why and what to do.

### Why this Actor

| | |
|---|---|
| **Five feeds, one schema** | FDA food, FDA drugs, FDA devices, CPSC consumer products and NHTSA vehicles. Every row has the same columns, whichever agency it came from. |
| **Newest first, last 30 days by default** | Pick any date range, absolute (`2026-11-01`) or relative (`7 days`, `3 months`). |
| **Filters before you pay** | Agencies, keywords, excluded words, company or brand, FDA class, hazard type, distribution state, vehicle make. Only matching recalls are stored and billed. |
| **Hazard tags** | Each recall is tagged from its text, for example `fire`, `choking`, `laceration`, `undeclared-allergen`, `salmonella`, `listeria`, `contamination`, `crash`, `airbag`. Filter on them directly. |
| **Only-new mode for monitoring** | Remembers what it delivered (per saved search) and re-checks the last 14 days, because agencies add and reclassify records late. You are never billed twice for the same recall. |
| **Product identifiers** | UPCs, model numbers, lot and code information where the agency publishes them, so you can match recalls to inventory. |
| **Official sources only** | Government JSON APIs. No HTML scraping, no browser, no proxies. |
| **Clear reporting** | A per-agency report shows records read, matched and stored, plus any API problems. Problems are never billed rows. |
| **Spend control** | Respects your **maximum cost per run**, stops cleanly, and resumes after Apify platform migrations without duplicate rows. |

### Sources

| Key | Agency and feed | Official endpoint | Date used |
|---|---|---|---|
| `fda-food` | FDA food enforcement reports | api.fda.gov/food/enforcement.json | enforcement report date |
| `fda-drug` | FDA drug enforcement reports | api.fda.gov/drug/enforcement.json | enforcement report date |
| `fda-device` | FDA medical device enforcement reports | api.fda.gov/device/enforcement.json | enforcement report date |
| `cpsc` | CPSC consumer product recalls | saferproducts.gov/RestWebServices/Recall | recall date |
| `nhtsa` | NHTSA vehicle recalls | api.nhtsa.gov/recalls | report-received date |

FDA data is updated weekly by the agency. CPSC and NHTSA update as recalls are published.

### Input

| Field | Type | Description |
|---|---|---|
| `sources` | array | Feeds from the table above. Default: all five. |
| `dateFrom` | string | Published on or after: `2026-11-01` or relative, such as `7 days`, `2 weeks`, `3 months`. Empty = last 30 days. |
| `dateTo` | string | Published on or before (same formats). Empty = today. |
| `keywords` | array | Keep recalls whose title, product, firm, reason, risk or remedy contains any of these words. |
| `excludeKeywords` | array | Drop recalls that contain any of these words. |
| `firms` | array | Keep recalls whose firm, brand or title contains any of these names. |
| `classifications` | array | FDA risk class: `Class I`, `Class II`, `Class III`. Only FDA recalls have a class, so CPSC and NHTSA recalls are left out when this is set. |
| `hazards` | array | Hazard tags: `fire`, `burn`, `electric-shock`, `laceration`, `choking`, `strangulation`, `suffocation`, `fall`, `drowning`, `poisoning`, `chemical`, `undeclared-allergen`, `salmonella`, `listeria`, `e-coli`, `contamination`, `sterility`, `mislabeling`, `potency`, `crash`, `vehicle-fire`, `airbag`, `injury`, `software`. |
| `states` | array | US states (`CA`, `NY`, ...). Keeps recalls whose distribution text names one of them. |
| `includeNationwide` | boolean | With `states`, also keep recalls distributed nationwide (default true). NHTSA recalls count as nationwide. |
| `vehicleMake` / `vehicleModel` | string | NHTSA only. Make alone (or with model) filters recent recalls by text and limits the run to NHTSA. |
| `vehicleModelYear` | integer | With make **and** model, the Actor asks NHTSA for that exact vehicle's recalls, for all time unless you set dates. |
| `onlyNew` | boolean | Only recalls not delivered by an earlier run with the same `stateKey`. |
| `stateKey` | string | Name of the saved search for `onlyNew` (default `default`). Use one per schedule. |
| `maxItems` | integer | Total recalls across all feeds (default 100). Every recall row is one billed item. |
| `maxItemsPerSource` | integer | Optional cap per feed, so one busy feed does not use the whole budget. |
| `maxScannedPerSource` | integer | Safety limit on records scanned per feed (default 5,000). For NHTSA it caps requests. |
| `openFdaApiKey` | string | Optional. Not needed. A free key from open.fda.gov raises openFDA's limit from 40 to 240 requests per minute. |
| `includeRawRecord` | boolean | Add the agency's original record as `raw` (contact fields removed; e-mails and phone numbers masked). |

#### Example inputs

**Everything recalled in the last 7 days**

```json
{ "dateFrom": "7 days", "maxItems": 500 }
```

**Class I food recalls with Salmonella or Listeria that reached Texas or California**

```json
{ "sources": ["fda-food"], "dateFrom": "90 days", "classifications": ["Class I"], "hazards": ["salmonella", "listeria"], "states": ["TX", "CA"] }
```

**Daily alert: new fire and burn hazards in consumer products**

```json
{ "sources": ["cpsc"], "hazards": ["fire", "burn"], "onlyNew": true, "stateKey": "fire-alerts", "maxItems": 200 }
```

**Brand check: recalls that mention Bose, Walmart or Kraft**

```json
{ "dateFrom": "12 months", "firms": ["bose", "walmart", "kraft"], "maxItems": 300 }
```

**All recalls for a 2022 Ford F-150**

```json
{ "vehicleMake": "Ford", "vehicleModel": "F-150", "vehicleModelYear": 2022 }
```

### Output

Every row has the same columns:

```json
{
  "agency": "FDA",
  "source": "fda-food",
  "category": "food",
  "recallId": "H-0203-2027",
  "eventId": "100258",
  "date": "2026-11-18",
  "initiatedDate": "2026-10-28",
  "title": "Breath of Fresh Air PDX LLC: Ground Up Nut Butter Cups ...",
  "product": "Ground Up Nut Butter Cups filled with Almond & Cashew Butter ...",
  "firm": "Breath of Fresh Air PDX LLC",
  "firmLocation": "Portland, OR, United States",
  "reason": "Foreign material: plastic fiber",
  "risk": null,
  "hazardTags": ["contamination"],
  "classification": "Class II",
  "status": "Ongoing",
  "distribution": "Product was distributed in Oregon and sold nationwide through online orders.",
  "distributionStates": ["OR"],
  "nationwide": true,
  "remedy": null,
  "remedyOptions": [],
  "quantity": "242 boxes",
  "unitsAffected": 242,
  "upcs": ["850017637221"],
  "models": [],
  "lotInfo": "Lot code: 10/2027 Best By: 10/2027",
  "url": "https://www.accessdata.fda.gov/scripts/ires/index.cfm?Event=100258",
  "details": { "productType": "Food", "voluntaryMandated": "Voluntary: Firm initiated" },
  "apiUrl": "https://api.fda.gov/food/enforcement.json?...",
  "scrapedAt": "2026-11-29T01:34:29.809Z"
}
```

- `recallId` and `eventId`: the agency's identifiers. NHTSA rows use the campaign number (`26V700000`) and one row covers all vehicles of the campaign (`product` shows make, model and year ranges; `details.vehicles` lists them).
- `reason` is what is wrong, `risk` the consequence or reported injuries, `remedy` what to do (CPSC and NHTSA).
- `classification` (`Class I` is the most serious) and `status` come from FDA. FDA recalls that are not classified yet have the class `Not Yet Classified` and a provisional `recallId` starting with `event-`.
- `distributionStates` and `nationwide` are read from the distribution text (best effort). `unitsAffected` is the first number in the published quantity.
- `details` holds agency extras: FDA voluntary or mandated and notification method; CPSC images, manufacturers, importers and retailers; NHTSA component, `doNotDrive`, `parkOutside` and `overTheAirUpdate` flags.

The dataset has three views: **Overview**, **Hazard & remedy** and **Product identifiers** (UPCs, models, lot codes, quantities).

#### Feed report and run summary

Agency problems never show up as dataset rows, so you are never billed for them. Open the **Output** tab or the key-value store:

- `SOURCE_REPORT`: one entry per feed with `status` (`ok`, `partial`, `error`, `skipped`), records read, matched, already delivered and stored, the newest recall date, and plain-language `messages`.
- `RUN_SUMMARY`: totals, recalls per feed, stop reason and the charged item count.

### Pricing

**Pay per event: $0.003 per recall** ($3 per 1,000 recalls), plus Apify's small automatic per-run start fee.

- You pay only for recall rows stored in the dataset. Filtered-out recalls, recalls already delivered in only-new mode, errors and the reports are free.
- Platform usage is included in the event price. No proxy costs.
- Set **Maximum cost per run** when starting the Actor; it stops cleanly when the budget is used.
- A typical month of all five feeds is about 400 recalls (about $1.20).

### Politeness, robots.txt and legal notes

- The Actor reads `robots.txt` of every API host once and skips any feed whose API path is disallowed. api.fda.gov and api.nhtsa.gov publish no robots rules. saferproducts.gov answers its robots.txt request with an access-denied page, which counts as "no rules" under RFC 9309; its public JSON API works with the Actor's clear User-Agent.
- Requests are paced per host (openFDA: at most 40 per minute without a key, as the agency requires), identify as `UsProductRecallsApifyActor/0.1`, and back off on HTTP 429 and 5xx errors.
- Recalls are public records published by the agencies. openFDA's [terms](https://open.fda.gov/terms/) and each agency's own terms apply. openFDA states that its data is unvalidated: do not rely on it for medical decisions.
- **Personal data:** the Actor never includes consumer contact text, phone numbers or e-mail addresses. CPSC's consumer-contact field is dropped, and e-mail addresses and US phone numbers are masked in every text field and in `raw`. Firm names and agency-published business details are kept. You are responsible for how you use the data under GDPR, CCPA and other rules.

### Limitations

- **NHTSA has no "list recent recalls" API.** The Actor finds the newest campaign number of the year and reads campaigns backwards until it passes your start date, one request per campaign (about 0.5 s each). A 30-day window takes about a minute. Very long NHTSA date ranges take proportionally longer; `maxScannedPerSource` caps the requests.
- openFDA lets a query read at most 25,000 records; narrow the date range if a feed reports `partial`.
- Hazard tags, distribution states and units affected are derived from free text and are best effort. Check the agency page (`url`) before acting on a single recall.
- Only US government feeds are covered. USDA FSIS meat and poultry recalls, state recalls and non-US agencies are not included.
- FDA enforcement reports are published weekly, so the newest FDA records can be several days behind the firm's announcement.

### Tips

- Start with a small `maxItems` (for example 20) to preview the columns, then scale up.
- For alerts, schedule a daily run with `onlyNew: true` and a unique `stateKey` per search.
- Combine `states` with `classifications` or `hazards` to cover your distribution area.
- Use `maxItemsPerSource` when reading all feeds so the large FDA device feed does not use the whole budget.

### FAQ

**Do I need an API key or login?** No. These are the public APIs each agency provides. An optional openFDA key only raises the rate limit.

**Can you add another agency or country?** Probably. Open an issue with the link to its public recall API or feed.

**Why did a feed return no rows?** Open the feed report. It says whether nothing was published in your date range, nothing matched your filters, or the API had a problem.

**Is a recall ever billed twice?** Not within a run, and not across runs when you use `onlyNew` with the same `stateKey`.

**Something looks wrong or a field is missing.** Open an issue from the Actor's *Issues* tab with your input and the run link.

# Actor input Schema

## `sources` (type: `array`):

Which recall feeds to read. All of them come out in the same normalized columns.

## `dateFrom` (type: `string`):

Absolute date (2026-11-01) or relative (`7 days`, `2 weeks`, `3 months`). Empty means the last 30 days. FDA uses the enforcement report date, CPSC the recall date and NHTSA the report-received date.

## `dateTo` (type: `string`):

Absolute or relative date. Empty means today.

## `keywords` (type: `array`):

Keep recalls whose title, product, firm, reason, risk or remedy contains any of these words (for example `peanut`, `lithium`, `airbag`).

## `excludeKeywords` (type: `array`):

Drop recalls that contain any of these words.

## `firms` (type: `array`):

Keep recalls where the recalling firm, brand or title contains any of these names (for example `Walmart`, `Ford`, `Kraft`).

## `classifications` (type: `array`):

Class I is the most serious. Only FDA recalls have a class, so CPSC and NHTSA recalls are left out when this is set.

## `hazards` (type: `array`):

Keep recalls tagged with any of these hazards. Tags are derived from the recall text (see the `hazardTags` column).

## `states` (type: `array`):

Keep recalls distributed in any of these US states, using each recall's distribution text. NHTSA recalls count as nationwide.

## `includeNationwide` (type: `boolean`):

Recalls that say they were distributed nationwide are kept even when the state is not named.

## `vehicleMake` (type: `string`):

For NHTSA recalls, for example `Ford`. With make, model and model year all set, the recalls of that exact vehicle are looked up directly (all of time unless you set dates). With make (and optionally model) only, recent recalls are filtered by text.

## `vehicleModel` (type: `string`):

For example `F-150`.

## `vehicleModelYear` (type: `integer`):

For example 2022. Needed, with make and model, for the direct vehicle lookup.

## `onlyNew` (type: `boolean`):

Delivers only recalls you have not received in an earlier run with the same memory name. Re-checks the last 14 days because agencies add records late. You are never billed twice for the same recall.

## `stateKey` (type: `string`):

Name of this saved search. Use a different name for each schedule.

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

Total recalls to store. Every recall is one billed item.

## `maxItemsPerSource` (type: `integer`):

Optional cap per feed (FDA food, FDA drug, FDA device, CPSC, NHTSA), so one busy feed does not use the whole budget.

## `maxScannedPerSource` (type: `integer`):

Safety limit on how many records are scanned per feed when filters are narrow. For NHTSA it caps the number of requests.

## `openFdaApiKey` (type: `string`):

Not needed. Without a key the Actor stays within openFDA's limit of 40 requests per minute. A free key from open.fda.gov allows 240 per minute.

## `includeRawRecord` (type: `boolean`):

Adds the agency's original record as `raw` (contact fields removed; e-mail addresses and phone numbers masked).

## Actor input object example

```json
{
  "sources": [
    "fda-food",
    "fda-drug",
    "fda-device",
    "cpsc",
    "nhtsa"
  ],
  "dateFrom": "30 days",
  "includeNationwide": true,
  "onlyNew": false,
  "stateKey": "default",
  "maxItems": 100,
  "maxScannedPerSource": 5000,
  "includeRawRecord": false
}
```

# Actor output Schema

## `items` (type: `string`):

No description

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

No description

## `safety` (type: `string`):

No description

## `identifiers` (type: `string`):

No description

## `sourceReport` (type: `string`):

No description

## `summary` (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 = {
    "sources": [
        "fda-food",
        "fda-drug",
        "fda-device",
        "cpsc",
        "nhtsa"
    ],
    "dateFrom": "30 days",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("onomatopoeia_dev/us-product-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 = {
    "sources": [
        "fda-food",
        "fda-drug",
        "fda-device",
        "cpsc",
        "nhtsa",
    ],
    "dateFrom": "30 days",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("onomatopoeia_dev/us-product-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 '{
  "sources": [
    "fda-food",
    "fda-drug",
    "fda-device",
    "cpsc",
    "nhtsa"
  ],
  "dateFrom": "30 days",
  "maxItems": 100
}' |
apify call onomatopoeia_dev/us-product-recalls --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,onomatopoeia_dev/us-product-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/oZTI46wG8EIa6ZMre/builds/MeliBp8059PbkSvFN/openapi.json
