# CPSC Product Recall Monitor — US Consumer Safety Alerts (MCP) (`amygraphics/cpsc-recall-monitor`) Actor

US Consumer Product Safety Commission official feed: every consumer product recall with hazard, remedy, units, manufacturers, importers, retailers, UPCs & consumer contacts. Filter by keyword/type/hazard/origin/units. Monitor mode = daily digest the hour CPSC publishes. No API key. MCP-ready.

- **URL**: https://apify.com/amygraphics/cpsc-recall-monitor.md
- **Developed by:** [Zakaria el bouami](https://apify.com/amygraphics) (community)
- **Categories:** Lead generation, Automation, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

## 🛡️ CPSC Product Recall Monitor — US Consumer Safety Alerts (MCP)

> The full **US Consumer Product Safety Commission recall feed**: every consumer product recall — toys, e-bikes, furniture, electronics, chargers, ATVs — with **hazard, remedy, units affected, manufacturers, retailers, UPCs and consumer-contact info**. **Monitor mode = your daily "what just got recalled" digest.** Official SaferProducts.gov API. No key. MCP-ready.

***

### ✨ The 6 things ChatGPT can't do (built in)

| Ingredient | Here |
|---|---|
| 🔒 **Hard-to-get data** | Official CPSC `RestWebServices/Recall` API with date windows and title search — hazards, remedies, injuries, firms chain (manufacturer → importer → distributor → retailer), UPCs, unit counts. 100% the federal record. |
| 🛠️ **Hardest problems, solved** | CPSC quirks handled: units parsed from "About 1,150" into real integers, `Sold At:\n` prefixes stripped, empty `ManufacturerCountries` recovered from firm-name endings ("…of China"). |
| ⚙️ **Automation** | `monitor` + daily schedule = **"every product recall CPSC published yesterday"** — e-commerce sellers, importers, retailers, insurers and product-liability lawyers pay real money for this (selling a recalled product on Amazon = account suspension). |
| 🧠 **AI-agent cheap** | $0.001 start + $0.001 per recall. |

> 📅 **Intel:** CPSC recalls land in **weekly batches** (mostly Thursdays ~8–14 recalls). A daily monitor catches every batch the hour it lands — weekends and off-days return "nothing new", which the KV dedupe proves instead of guessing.

***

### 🚀 3 recipes that pay

#### #1 — Marketplace compliance watch (Amazon/shop sellers)

```json
{ "mode": "monitor", "daysBack": 1, "keywords": "battery" }
```

→ Schedule 07:00 → if anything lithium-battery got recalled overnight, you pull your listings before the CPSC or the marketplace does it for you.

#### #2 — Import-risk radar (sourcing teams)

```json
{ "mode": "search", "countryIncludes": "china", "hazardIncludes": "fire", "daysBack": 90, "maxResults": 200 }
```

→ Every fire-hazard recall from China-origin products in a quarter — the due-diligence list before you sign the next PO.

#### #3 — Product-liability intelligence (law firms / insurers)

```json
{ "mode": "search", "keywords": "tip-over", "daysBack": 365, "maxResults": 300 }
```

→ Tip-over furniture recalls for a year — units, firms, remedies, injuries, in one clean table.

**MCP**: `https://mcp.apify.com/?actors=amygraphics/cpsc-recall-monitor` — your agent answers *"any e-bike recalls this month?"* with the actual CPSC record, hazard and remedy included.

***

### 📦 What each row contains

`recallId` · `recallNumber` · `url` · `title` · `description` · `recallDateISO` / `lastPublishDateISO` · `products[]` (name, type, model, units) + `productTypes[]` + **`unitsTotal` (parsed integer)** · **`hazards[]`** · **`remedies[]`** + `remedyOptions[]` (Repair/Replace/Refund) · `injuries[]` · `inConjunctionWith[]` (Health Canada etc.) · firm's chain: `manufacturers[]` · `importers[]` · `distributors[]` · **`retailers[]`** (with price windows) · `manufacturerCountries[]` · `consumerContact` (phone/web for refunds) · `upcs[]` · `imageCount` · `isNew`/`firstSeenAt` (monitor).

***

### 🆚 Competition

| Actor | Users | Monitor | Units parsed | Firm chain |
|---|---|---|---|---|
| gabrielaxy/product-recall-aggregator | 6 | partial | ❌ | partial |
| blaidlink/cpsc-supplier-recall-monitor | 3 | ✅ | ❌ | ❌ |
| **us** | — | ✅ KV dedupe | ✅ integers | ✅ full 4-level |

***

### 🧪 Input reference

| Key | Default | What it does |
|---|---|---|
| `mode` | `search` | `monitor` = only recalls never returned before (KV `cpsc-seen`, keyed recall number) |
| `keywordQuery` | — | server-side title filter (`RecallTitle`) |
| `daysBack` | 14 | RecallDate window |
| `keywords` | — | client-side everything-match |
| `productTypeIncludes`, `hazardIncludes`, `countryIncludes` | — | client-side refinement |
| `minUnits` | 0 = off | keep only big recalls (units ≥ N) |
| `maxResults` | 60 | cap |

**Fair use** — The SaferProducts.gov REST endpoint is the CPSC's own documented public recall service (US federal public-domain data). One polite request per run with date-window filters.

***

### 💰 Pricing

- **$0.001** actor start · **$0.001** per recall — hazards, remedies, firms, UPCs FREE

| Rows | Cost (us) |
|---|---|
| 60 recalls (quarterly scan) | ~$0.06 |
| Daily all-CPSC digest (30 days) | ~$0.30–1/month |

**Part of the AmyGraphics data empire** — 28 public actors: recalls (FDA drugs/food/devices + **CPSC products**), tenders (EU/US/UK), registers (UK companies, US funding, federal grants, regulations, clinical trials), conferences, trade shows, jobs & real estate. Contact: morocco.uiux@gmail.com · apify.com/amygraphics

# Actor input Schema

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

search = window of recalls. monitor = only recalls never returned before (KV dedupe) — schedule daily.

## `keywordQuery` (type: `string`):

Server-side RecallTitle match: 'battery', 'bicycle', 'crib'…

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

RecallDate window. CPSC publishes in weekly batches (mostly Thursdays) — daily monitor catches each batch.

## `keywords` (type: `string`):

Client-side match on title + description + hazards + remedies + firms (e.g. 'fire', 'tip-over', 'IKEA').

## `productTypeIncludes` (type: `string`):

Client-side product type substring match: 'Bicycles', 'Toys', 'Furniture'…

## `hazardIncludes` (type: `string`):

Client-side hazard substring match: 'fire', 'shock', 'choking', 'fall', 'burn'…

## `countryIncludes` (type: `string`):

Client-side match on manufacturer countries + firm names (e.g. 'China', 'Vietnam').

## `minUnits` (type: `integer`):

Drop recalls smaller than this (parsed from e.g. 'About 1,150'). 0 = off.

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

Stop after this many recalls.

## `requestDelaySecs` (type: `number`):

Politeness pacing toward the official portal.

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

NOT needed — official API.

## Actor input object example

```json
{
  "mode": "search",
  "keywordQuery": "",
  "daysBack": 14,
  "keywords": "",
  "productTypeIncludes": "",
  "hazardIncludes": "",
  "countryIncludes": "",
  "minUnits": 0,
  "maxResults": 60,
  "requestDelaySecs": 0.3,
  "proxyConfiguration": {}
}
```

# Actor output Schema

## `results` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("amygraphics/cpsc-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("amygraphics/cpsc-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 '{}' |
apify call amygraphics/cpsc-recall-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,amygraphics/cpsc-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/vQnVD6Yck78wMFKfQ/builds/dAkzYl8mMjxg0XWxM/openapi.json
