# US Product, Vehicle, Food & Drug Recalls Scraper (CPSC, FDA) (`desastreger/cpsc-consumer-product-recall-monitor`) Actor

Unified US Federal Recall Monitor across CPSC SaferProducts, NHTSA Vehicles, and openFDA Food & Drug Enforcements. Extracts UPCs, retailers (Amazon/Walmart/Target), hazards, injuries, park-outside flags, remedies & 0-100 recall severity scores. Early-bird $0.50/1k. +MCP.

- **URL**: https://apify.com/desastreger/cpsc-consumer-product-recall-monitor.md
- **Developed by:** [Ignacio De Saeger](https://apify.com/desastreger) (community)
- **Categories:** Lead generation, Agents, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 us federal recall alerts (cpsc / nhtsa / fda)

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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, Vehicle, Food & Drug Recalls Scraper (CPSC, FDA)

The **US Product, Vehicle, Food & Drug Recalls Scraper (CPSC, FDA)** unifies three official zero-API-key US Federal Recall feeds into a single normalized schema with deterministic `0–100` `recallSeverityScore` and `severityTier` (`CRITICAL`, `HIGH`, `MODERATE`, `LOW`):

1. **US CPSC SaferProducts Recall API (`saferproducts.gov`):** Consumer products, UPCs, model numbers, retailers (Amazon, Walmart, Target, Costco), manufacturers/importers, injuries, hazards, and consumer remedies.
2. **US NHTSA Vehicle & Equipment Recalls API (`api.nhtsa.gov`):** Automotive and equipment recalls by `make`/`model`/`modelYear` or `campaignNumber`, including `DO_NOT_DRIVE` (`parkIt`) and `PARK_OUTSIDE` (`parkOutSide`) life-safety flags.
3. **US FDA Food & Drug Enforcement API (`api.fda.gov`):** Class I / II / III food and pharmaceutical recalls, recalling firms, lot/NDC/UPC codes, distribution patterns, and recall reasons.

Built for e-commerce marketplace trust & safety teams (Amazon/Shopify/Walmart sellers), retail supply-chain compliance, fleet & automotive safety teams, product liability law firms, and insurance underwriters. **Zero external API keys or proxies required.**

### Use cases

- **Marketplace Trust & Safety (Amazon, Walmart, Target, Shopify):** Screen CPSC recalls by `retailer` and extract `upcsOrCodes` / model numbers to delist hazardous SKUs before regulatory penalties.
- **Food, Beverage & Pharma Supply Chain Compliance:** Monitor openFDA `FDA_FOOD` and `FDA_DRUG` Class I / II recalls by keyword (`salmonella`, `listeria`, `undeclared`, lot code) and distribution pattern.
- **Automotive Fleet & Underwriting Risk:** Check NHTSA vehicle/equipment recalls for `DO_NOT_DRIVE` and `PARK_OUTSIDE` fire/crash advisories via make/model/year or campaign number.
- **AI Compliance & Legal Agents (MCP):** Connect Claude, Cursor, Windsurf, or VS Code via 1-Click OAuth MCP or Standby `/mcp` for real-time federal recall lookups.

***

### Transparent Pay-Per-Event Launch Pricing

> \[!IMPORTANT]
> **Early-Adopter Launch Rate (`$0.50 / 1,000 records`):** Promotional launch pricing for early Apify Store adopters & MCP integrations.

Pay only per normalized federal recall alert returned—no monthly subscriptions:

| Plan Tier | Event (`product-recall-alert`) | Effective Rate |
| :--- | :--- | :--- |
| **Early-Bird Launch / Free** | `$0.00050` per record | **$0.50 per 1,000 records** |
| **Bronze** | `$0.00045` per record | **$0.45 per 1,000 records** |
| **Silver** | `$0.00040` per record | **$0.40 per 1,000 records** |
| **Gold** | `$0.00035` per record | **$0.35 per 1,000 records** |

***

### 1-Click JSON Input Example

```json
{
  "query": "",
  "sources": ["cpsc", "fda_food"],
  "retailer": "",
  "daysBack": 30,
  "minSeverityScore": 0,
  "maxResults": 3
}
```

#### Multi-Agency with NHTSA Vehicle Lookup Example

```json
{
  "sources": ["cpsc", "fda_food", "nhtsa"],
  "vehicleMake": "Toyota",
  "vehicleModel": "Camry",
  "vehicleYear": 2023,
  "daysBack": 30,
  "maxResults": 10
}
```

***

### Sample Unified Output Record

```json
{
  "agency": "CPSC",
  "recallId": "27096",
  "recallDate": "2026-11-19",
  "title": "CHE-US Recalls Magnetic Robot Toys Due to Risk of Serious Injury or Death from Magnet Ingestion; Violate Mandatory Standard for Toys",
  "productSummary": "This recall involves CHE-US magnetic stick figure toys. The robot-shaped toys were sold in sets of five or 10 purple, blue, yellow, red and green stick figures.",
  "recallingFirmOrManufacturer": "CHE-US",
  "retailersSoldAt": ["Amazon.com", "Amazon", "Guangzhou Shian Trading Co., Ltd., dba CHE-US/CHESLICR, of China."],
  "upcsOrCodes": [],
  "hazardSummary": "The recalled magnetic stick figures violate the mandatory standard for toys because when pulled apart, the figures' arms and legs liberate high-powered magnets posing an ingestion hazard to children.",
  "injuriesOrIncidents": "None reported.",
  "classificationOrParkOutside": "MANDATORY_STANDARD_VIOLATION",
  "remedySummary": "Consumers should stop using the stick figures immediately, take them away from children and contact CHE-US for a full refund.",
  "unitsAffected": "About 101,282",
  "status": "Active",
  "imageUrls": ["https://www.cpsc.gov/s3fs-public/CHE-US1_0.png"],
  "sourceUrl": "https://cpsc.gov/Recalls/2027/CHE-US-Recalls-Magnetic-Robot-Toys-Due-to-Risk-of-Serious-Injury-or-Death-from-Magnet-Ingestion-Violate-Mandatory-Standard-for-Toys",
  "recallSeverityScore": 80,
  "severityTier": "CRITICAL"
}
```

***

### Model Context Protocol (MCP) Integration

#### Option 1: 1-Click OAuth MCP (Zero API Key Setup — Recommended)

Sign in with your Apify account directly in the browser—no manual `APIFY_TOKEN` copying required:

- **1-Click OAuth MCP Endpoint:** `https://mcp.apify.com/?tools=desastreger/cpsc-consumer-product-recall-monitor`

**Claude Code CLI:**

```bash
claude mcp add --transport http cpsc-consumer-product-recall-monitor "https://mcp.apify.com/?tools=desastreger/cpsc-consumer-product-recall-monitor"
```

**Cursor / Windsurf / VS Code (`mcp.json`):**

```json
{
  "mcpServers": {
    "cpsc-consumer-product-recall-monitor": {
      "url": "https://mcp.apify.com/?tools=desastreger/cpsc-consumer-product-recall-monitor"
    }
  }
}
```

#### Option 2: Direct Standby MCP (Bearer Token for Headless / CI Agents)

- **Direct Standby Streamable HTTP Endpoint:** `https://desastreger--cpsc-consumer-product-recall-monitor.apify.actor/mcp`

```json
{
  "mcpServers": {
    "cpsc-consumer-product-recall-monitor": {
      "url": "https://desastreger--cpsc-consumer-product-recall-monitor.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

**Exposed Read-Only MCP Tools (`readOnlyHint: true`):**

- `search_cpsc_product_recalls`: Search CPSC SaferProducts consumer product recalls by `query`, `retailer`, `daysBack`, `minSeverityScore`, and `maxResults`.
- `check_nhtsa_vehicle_recalls`: Check NHTSA vehicle & equipment recalls by (`make`, `model`, `modelYear`) or `campaignNumber`, including `DO_NOT_DRIVE` / `PARK_OUTSIDE` flags.
- `search_fda_enforcement_recalls`: Search openFDA Food & Drug Enforcement recalls (`productType`: `"food" | "drug" | "both"`), `query`, `retailer`, `classification`, and `daysBack`.

***

### API Quickstart (cURL, Node.js & Python)

#### cURL (Synchronous Run + Dataset Items)

```bash
curl -X POST "https://api.apify.com/v2/acts/desastreger~cpsc-consumer-product-recall-monitor/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "sources": ["cpsc", "fda_food"],
    "daysBack": 30,
    "maxResults": 10
  }'
```

#### Node.js (`apify-client`)

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('desastreger/cpsc-consumer-product-recall-monitor').call({
  sources: ['cpsc', 'fda_food', 'fda_drug'],
  retailer: 'Amazon',
  daysBack: 30,
  maxResults: 25,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python (`apify-client`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("desastreger/cpsc-consumer-product-recall-monitor").call(run_input={
    "sources": ["cpsc", "nhtsa"],
    "vehicleMake": "Toyota",
    "vehicleModel": "Camry",
    "vehicleYear": 2023,
    "daysBack": 30,
    "maxResults": 10,
})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[:3])
```

***

### Data Legality & Provenance

100% of data is retrieved live from official US Government public APIs (`www.saferproducts.gov/RestWebServices/Recall`, `api.nhtsa.gov/recalls/*`, and `api.fda.gov/{food,drug}/enforcement.json`) and is in the **US public domain (`17 U.S.C. § 105`)**.

# Actor input Schema

## `query` (type: `string`):

Optional keyword filter across product descriptions, titles, hazards, recalling firms, or reasons for recall (e.g., 'lithium', 'magnet', 'salmonella', 'airbag').

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

Recall feeds to query: 'cpsc' (Consumer Products), 'fda_food' (openFDA Food Enforcement), 'fda_drug' (openFDA Drug Enforcement), 'nhtsa' (NHTSA Vehicle/Equipment — requires vehicle make/model/year or campaign number).

## `retailer` (type: `string`):

Optional retailer or sales channel filter (e.g., 'Amazon', 'Walmart', 'Target', 'Costco'). Matches CPSC retailersSoldAt and FDA distribution patterns.

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

Optional vehicle make for NHTSA recalls (e.g., 'Toyota', 'Ford', 'Tesla'). Pair with vehicleModel and vehicleYear.

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

Optional vehicle model for NHTSA recalls (e.g., 'Camry', 'F-150', 'Model Y').

## `vehicleYear` (type: `integer`):

Optional vehicle model year (1940–2030) for NHTSA recalls (e.g., 2023).

## `nhtsaCampaignNumber` (type: `string`):

Optional NHTSA recall campaign number lookup (e.g., '23V432000', '24V854000').

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

Number of past days of recall dates to scan for CPSC and openFDA feeds (1 to 3650). Defaults to 30 days so payloads stay fast and compact.

## `minSeverityScore` (type: `integer`):

Optional minimum deterministic recallSeverityScore (0–100) filter.

## `maxResults` (type: `integer`):

Maximum normalized recall alerts to return (1 to 500).

## Actor input object example

```json
{
  "query": "",
  "sources": [
    "cpsc",
    "fda_food"
  ],
  "retailer": "",
  "vehicleMake": "",
  "vehicleModel": "",
  "nhtsaCampaignNumber": "",
  "daysBack": 30,
  "minSeverityScore": 0,
  "maxResults": 3
}
```

# Actor output Schema

## `recalls` (type: `string`):

No description

## `runSummary` (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": [
        "cpsc",
        "fda_food"
    ],
    "daysBack": 30,
    "minSeverityScore": 0,
    "maxResults": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("desastreger/cpsc-consumer-product-recall-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 = {
    "sources": [
        "cpsc",
        "fda_food",
    ],
    "daysBack": 30,
    "minSeverityScore": 0,
    "maxResults": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("desastreger/cpsc-consumer-product-recall-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 '{
  "sources": [
    "cpsc",
    "fda_food"
  ],
  "daysBack": 30,
  "minSeverityScore": 0,
  "maxResults": 3
}' |
apify call desastreger/cpsc-consumer-product-recall-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,desastreger/cpsc-consumer-product-recall-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/xz4Fztk2v9rOZoYyl/builds/Q3fxfRPZLGYlWVszA/openapi.json
