# US Product Recalls Monitor (FDA + CPSC + NHTSA) (`bisketapis/us-product-recalls-monitor`) Actor

One normalized feed of US product recalls from FDA (food, drug, device), CPSC consumer products and NHTSA vehicles. Search by keyword, brand or UPC, filter by date and class, and get only new recalls on each daily run.

- **URL**: https://apify.com/bisketapis/us-product-recalls-monitor.md
- **Developed by:** [Chris Lucas](https://apify.com/bisketapis) (community)
- **Categories:** E-commerce, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.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/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

## US Product Recalls Monitor: FDA + CPSC + NHTSA in one feed

Pulls recalls from three official US agencies and returns them as one flat, consistently named table: FDA food, drug and medical device enforcement reports, CPSC consumer product recalls, and NHTSA vehicle recalls. Search by keyword, brand, company or UPC, filter by date and FDA class, and turn on **Only new recalls** to get just the ones you have not seen on each daily run.

Data comes from the agencies' public JSON APIs (openFDA, saferproducts.gov, api.nhtsa.gov). No login, no browser, no scraping of protected pages.

### What you get

One row per recall (FDA rows are per recalled product). Fields: `agency`, `recallId`, `title`, `product`, `brand`, `company`, `classification`, `hazard`, `reason`, `remedy`, `distribution`, `states`, `upc`, `recallDate`, `status`, `units`, `url`, `matchedOn`, `scrapedAt`.

```json
{
  "type": "recall",
  "agency": "FDA-food",
  "recallId": "H-0130-2027",
  "title": "Jovy Gummy Worms Neon; packaged in 1lb plastic units. UPC 712199083411",
  "company": "El Ruisenor De Mexico, Inc.",
  "classification": "Class II",
  "reason": "undeclared allergen ingredient (Red#40, Yellow#5, Yellow#6, Blue#1)",
  "distribution": "Recalling firm distributes primarily to California customers ...",
  "states": ["California", "Hawaii", "Illinois", "Kansas", "Nevada", "Oregon", "Washington"],
  "upc": ["712199083411"],
  "recallDate": "2026-10-28",
  "status": "Ongoing",
  "units": "521 pounds",
  "url": "https://www.accessdata.fda.gov/scripts/ires/index.cfm?Event=99727"
}
```

### Input

| Field | Meaning |
|---|---|
| `keywords` | Products, brands or companies. A recall matches if any keyword appears in it. Empty = everything in the window. |
| `upcs` | UPC/GTIN codes (CPSC lists UPCs; FDA UPCs are read from the product text). |
| `agencies` | `fda`, `cpsc`, `nhtsa`. Default fda + cpsc. |
| `fdaTypes` | `food`, `drug`, `device`. |
| `vehicles` | NHTSA only: `Make, Model, Year`, one per line. |
| `classifications` | FDA class I, II, III. |
| `daysBack` / `dateFrom` / `dateTo` | Date window (default 90 days). |
| `maxItems` | Cap on rows and cost. |
| `onlyNew`, `stateStoreName` | Skip recalls returned by an earlier run with the same store name. |

### Pricing

Pay per event: **$0.001 per recall row**. 1,000 recalls = $1.00. Already-seen rows skipped by `onlyNew`, empty results and failed requests are not charged.

### Use cases

- Marketplace sellers: check your catalog brands and UPCs against new CPSC and FDA recalls before a listing gets pulled.
- Retail and compliance teams: a daily alert feed per brand or supplier.
- Newsrooms and researchers: one normalized dataset across agencies.

### FAQ

**How do I run a daily alert?** Schedule the actor daily with `onlyNew: true`. The first run returns the whole window; later runs return only new recalls.

**Is USDA FSIS (meat and poultry) included?** No. Its API blocks plain HTTP requests, and this actor does not work around bot protection. FDA covers most other food recalls.

**Why does NHTSA need a vehicle?** The NHTSA API answers per make, model and year; it has no date or keyword search.

**Is the data complete?** It is what the agencies publish, as of their last update (openFDA refreshes weekly). Check the agency page in `url` before acting.

### Limits

- openFDA allows about 1,000 requests per day per IP without a key; add a free key in `openFdaApiKey` for heavy use. Each FDA page holds 100 rows, up to 5,000 per feed per run.
- CPSC keyword matching is local, on title, product, company and description text.
- FDA `states` is parsed from free text and may be incomplete; `distribution` has the original wording.
- Not legal or safety advice.

# Actor input Schema

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

Product terms, brands or companies, one per line. A recall matches if any keyword appears in its title, product, company or reason. Leave empty to get every recall in the date window.

## `upcs` (type: `array`):

Optional. Matches UPCs listed by CPSC and UPCs written in FDA product descriptions.

## `agencies` (type: `array`):

Which agencies to query.

## `fdaTypes` (type: `array`):

Which FDA enforcement feeds to search.

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

One per line as Make, Model, Year. NHTSA only answers per vehicle, so it is skipped when this is empty.

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

Only keep FDA recalls of these classes. Class I is the most serious. Empty = all.

## `daysBack` (type: `integer`):

Look back this many days from today. Ignored when 'Date from' is set.

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

YYYY-MM-DD. Overrides 'Days back'.

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

YYYY-MM-DD. Default today.

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

Hard cap on rows (and on cost).

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

Skip recalls already returned by an earlier run that used the same state store name. Skipped rows are not charged. Use this on a daily schedule.

## `stateStoreName` (type: `string`):

Named key-value store that remembers returned recall IDs. Use a different name per alert list.

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

Free key from open.fda.gov raises the daily limit. Not needed for normal use.

## `proxyConfiguration` (type: `object`):

Datacenter proxy (default). Official APIs do not need anything else.

## Actor input object example

```json
{
  "keywords": [
    "peanut",
    "battery"
  ],
  "agencies": [
    "fda",
    "cpsc"
  ],
  "fdaTypes": [
    "food",
    "drug",
    "device"
  ],
  "vehicles": [
    "Ford, F-150, 2020"
  ],
  "classifications": [],
  "daysBack": 90,
  "maxItems": 50,
  "onlyNew": false,
  "stateStoreName": "us-recalls-seen",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per recalled product or recall notice.

## `runSummary` (type: `string`):

Per-agency status, row counts and HTTP stats.

# 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 = {
    "keywords": [
        "peanut",
        "battery"
    ],
    "vehicles": [
        "Ford, F-150, 2020"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("bisketapis/us-product-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 = {
    "keywords": [
        "peanut",
        "battery",
    ],
    "vehicles": ["Ford, F-150, 2020"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("bisketapis/us-product-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 '{
  "keywords": [
    "peanut",
    "battery"
  ],
  "vehicles": [
    "Ford, F-150, 2020"
  ],
  "maxItems": 50
}' |
apify call bisketapis/us-product-recalls-monitor --silent --output-dataset

```

## MCP server setup

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