# CPSC Recall Monitor (`flamelit_constellation/cpsc-recall-watch`) Actor

Unofficial tool, not affiliated with the U.S. CPSC. Get new and updated US consumer product recalls since your last run, filtered by keyword, to check against what you sell.

- **URL**: https://apify.com/flamelit_constellation/cpsc-recall-watch.md
- **Developed by:** [Two Five Labs](https://apify.com/flamelit_constellation) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 new or amended records

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 Recall Monitor

**Not affiliated with or endorsed by the U.S. Consumer Product Safety Commission (CPSC).** This is an independent tool from Two Five Labs that reads publicly available data. No government seals or logos are used.

### What it does

Queries the CPSC Recalls API for recalls dated within your look-back window and returns only recalls that are new, or republished with changed content, since your last run. Recalls older than the look-back window are not re-checked.

### Who it's for

Retailers, marketplace sellers, importers and product-safety teams.

### Input

| Field | Description |
|---|---|
| `lookbackDays` | integer, default 30. Recalls with a recall date within this many days. |
| `keywords` | list. Matches title, manufacturer and product names (case-insensitive). CPSC often leaves the manufacturer list empty, so include product words too. |
| `maxSpendUsd`, `emitUnchanged`, `stateStoreName` | see "How runs work". |

No API key is needed for this source.

### Run it via API

```bash
curl -X POST "https://api.apify.com/v2/acts/flamelit_constellation~cpsc-recall-watch/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"maxSpendUsd": 1.0}'
```

Use your own Apify token.

### How runs work

- **First run:** returns every matching record in the look-back window, all marked `changeType: "new"`.
- **Later runs:** return only records that are new, or whose content changed since they were last seen (`amended`). The actor keeps a content hash per record in a key-value store. A second run over the same data outputs nothing.
- `stateStoreName`: give each saved search its own name so each one tracks its own history.
- `emitUnchanged: true` also outputs unchanged records (`changeType: "same"`), which are never charged.
- **Spend cap:** `maxSpendUsd` (default 1.0) is a hard cap. When it is reached, the actor stops charging and stops output. Records not yet output are kept for the next run.
- **Errors and rate limits:** network errors, HTTP 429 and 5xx responses are retried up to 3 times with backoff. `Retry-After` is honoured in both its seconds and date forms; if the source asks for a wait longer than 2 minutes, the run stops instead of waiting.

### Output

Recall record: `id, source ("cpsc"), attribution, recallNumber, recallId, title, description, recallDate, lastPublishDate, url, products[{name, model, type, numberOfUnits}], manufacturers[], retailers[], importers[], distributors[], manufacturerCountries[], hazards[], remedies[], remedyOptions[], injuries[], images[], changeType`.

Excerpt from a live run (arrays shortened):

```json
{
 "id": "27017",
 "source": "cpsc",
 "attribution": "Source: U.S. Consumer Product Safety Commission Recalls API (saferproducts.gov). Data filtered and normalized by this actor.",
 "recallNumber": "27017",
 "recallId": 11020,
 "title": "Decathlon America Recalls Van Rysel GRVL AF Bicycles Due to Risk of Serious Injury or Death from Crash Hazard",
 "recallDate": "2026-10-08T00:00:00.000Z",
 "lastPublishDate": "2026-10-08T00:00:00.000Z",
 "url": "https://www.cpsc.gov/Recalls/2027/Decathlon-America-Recalls-Van-Rysel-GRVL-AF-Bicycles-Due-to-Risk-of-Serious-Injury-or-Death-from-Crash-Hazard",
 "products": [
  {
   "name": "Van Rysel GRVL AF Bicycles",
   "model": "",
   "type": "Bicycles or Accessories",
   "numberOfUnits": "About 1,150"
  }
 ],
 "retailers": [
  "Sold At:\nREI Co-op stores nationwide and online at REI.com from March 2025 through August 2026 for between $1,400 and $2,300."
 ],
 "hazards": [
  "The recalled bicycles' front lock nut can loosen during use, causing the front wheel to dislodge or loosen over time, posing a crash hazard."
 ],
 "remedyOptions": [
  "Repair"
 ],
 "manufacturers": [],
 "changeType": "new"
}
```

**Personal data:** consumer contact details are stripped: `ConsumerContact` is not output, and contact numbers and emails in text are masked. Product model and SKU numbers are kept. Company names are kept.

### Pricing

Pay per event: one `run-start` charge per run and one `new-item` charge per new or amended record output. Current prices are shown on this actor's Apify Store page.

### Limits

- Before calling the API, the actor checks saferproducts.gov/robots.txt. It stops without fetching if robots.txt disallows access or can't be read (other than "not found"). Some networks are refused by the source, and runs from them will stop.
- Throttle: at least 5 seconds between requests, at most 3 requests per run. Schedule at most daily.

### Data source and terms

- Source: U.S. Consumer Product Safety Commission Recalls API (saferproducts.gov). Each record carries this in `attribution`, with "Data filtered and normalized by this actor".
- Product-safety information only. This tool gives no health or medical advice.
- **Not affiliated with or endorsed by the U.S. Consumer Product Safety Commission (CPSC).**

### FAQ

**Does it return every record?** The first run returns everything matching. After that it returns only new or changed records.
**How often should I run it?** Daily is enough.
**Can I cap spend?** Yes. `maxSpendUsd` is a hard cap, and records it stops are output on the next run.
**Does it need a key?** No.

### Support

Questions or problems: please use the Issues tab on this actor's Apify page first.
Publisher: Two Five Labs, contact `twofivelabs@gmail.com`.

Requests to the source identify themselves with a contact address: `flamelit-constellation-actors/0.1 (+mailto:twofivelabs@gmail.com)`.

# Actor input Schema

## `lookbackDays` (type: `integer`):

Check recalls with a recall date within this many days of today.

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

Only include recalls whose title, manufacturer or product names contain at least one of these words. Note: CPSC often leaves the manufacturer list empty, so include product words too.

## `maxSpendUsd` (type: `number`):

Hard spending cap for this run, in US dollars. The actor stops charging and stops adding results once this amount is reached. Unsent items are kept for the next run.

## `emitUnchanged` (type: `boolean`):

If on, items already seen in earlier runs (changeType "same") are also output. Off by default, so you only get new and amended items. Unchanged items are never charged.

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

Optional name of the key-value store that remembers what earlier runs saw. Use a different name per saved search so each search tracks its own new/amended items. Leave empty to use the run's default store.

## `fixturePath` (type: `string`):

Testing only. Path to a local file to replay instead of calling the live source. Leave empty for normal use.

## Actor input object example

```json
{
  "lookbackDays": 30,
  "keywords": [],
  "maxSpendUsd": 1,
  "emitUnchanged": false
}
```

# Actor output Schema

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

CPSC recall records (new and amended only)

# 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 = {
    "lookbackDays": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("flamelit_constellation/cpsc-recall-watch").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 = { "lookbackDays": 30 }

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

```

## MCP server setup

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

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/9ITyS5tlUlOYAKZ4g/builds/ozp2JfD7lnm3e5meW/openapi.json
