# Recall Radar (CPSC Product Recalls + Catalog Match) (`rawtojson/recall-radar`) Actor

Product recalls from the US Consumer Product Safety Commission official API as clean JSON: hazards, remedies, units, manufacturers and retailers. Optionally cross-check recalls against your own product catalog so you stop selling recalled items.

- **URL**: https://apify.com/rawtojson/recall-radar.md
- **Developed by:** [Juan Francisco](https://apify.com/rawtojson) (community)
- **Categories:** E-commerce, Other
- **Features:** Limited permissions
- **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/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

## Recall Radar — US product recalls as clean JSON, with catalog matching

The US Consumer Product Safety Commission (CPSC) publishes every product recall: toys, chargers, furniture, strollers, appliances. This Actor reads the **official CPSC recalls API** and returns one clean JSON item per recall: hazards, remedies, units sold, manufacturers, importers, retailers, country of manufacture and a link to the official notice.

It can also **cross-check recalls against your own catalog**, so a seller on Amazon or Shopify finds out when something they list has been recalled.

### What you can do with it

- **Marketplace sellers and importers:** get a weekly list of new recalls before an account suspension or a fine finds you.
- **Catalog matching:** paste your product names, brands or model numbers; every recall that mentions one as a full phrase is flagged and returned as an extra `catalog-match` item.
- **Compliance and insurance:** monitor recalls by keyword (charger, toy, stroller, battery).
- **Journalists and researchers:** build a history of recalls with hazards and units affected.

### Input

| Field | Description |
|---|---|
| `daysBack` | Days of recalls to read, counting back from today. Default 14. |
| `keywords` | Optional. Keep recalls mentioning at least one keyword. |
| `catalog` | Optional. Your product names, brands or models. Matches are flagged and returned as extra items. |
| `onlyNew` | Incremental mode: skip recalls delivered in your previous run. |
| `maxItems` | Cap on recalls returned. Default 500. |

Example: last 30 days, with a small catalog.

```json
{
  "daysBack": 30,
  "catalog": ["magnetic robot toys", "baby stroller", "power bank"],
  "onlyNew": true
}
```

### Output

```json
{
  "type": "recall",
  "recallId": 11068,
  "recallNumber": "27096",
  "recallDate": "2026-11-19",
  "title": "CHE-US Recalls Magnetic Robot Toys Due to Risk of Serious Injury or Death from Magnet Ingestion",
  "products": [{ "name": "CHE-US Magnetic Robot Toys", "type": "Toy Figures", "units": "About 101,282" }],
  "hazards": ["The recalled magnetic stick figures violate the mandatory standard for toys…"],
  "remedyOptions": ["Refund"],
  "manufacturedIn": ["China"],
  "catalogMatches": ["magnetic robot toys"],
  "url": "https://cpsc.gov/Recalls/…"
}
```

### Pricing

**Pay per event.** You pay for each recall returned (`recall`) and for each match with your catalog (`catalog-match`). Recalls filtered out are free. You can set a maximum cost per run.

### Source and limits

- Data comes from the public CPSC recalls web service (`saferproducts.gov`), which needs no key. Only US CPSC recalls are covered: the EU Safety Gate is not included.
- Matching is textual (full-phrase, accent-insensitive). It helps you detect candidates; always read the official notice before acting. This is not legal advice.
- Not affiliated with or endorsed by the CPSC.

# Actor input Schema

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

How many days of recalls to read, counting back from today.

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

Optional. Keep only recalls mentioning at least one of these words in the title, description, product or manufacturer (e.g. charger, toy, stroller).

## `catalog` (type: `array`):

Optional. Product names, brands or model numbers you sell. Every recall that mentions one of them as a full phrase is flagged, and each match is returned as an extra 'catalog-match' item.

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

Skip recalls already returned in your previous run. Ideal for a weekly schedule.

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

Maximum number of recalls to return in the run.

## Actor input object example

```json
{
  "daysBack": 14,
  "onlyNew": false,
  "maxItems": 500
}
```

# Actor output Schema

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

One dataset item per CPSC product recall, plus one item per catalog match.

# 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("rawtojson/recall-radar").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("rawtojson/recall-radar").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 rawtojson/recall-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rawtojson/recall-radar"
        }
    }
}
```

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/amwGF395fSQFbp6jW/builds/CgWhHBdaV95nqtcHY/openapi.json
