# CPSC Product Recalls Scraper - Hazards, UPCs & Remedies (`thirdwatch/cpsc-product-recalls-scraper`) Actor

Search official U.S. consumer-product recalls. Export affected products, UPCs, manufacturers, retailers, hazards, injuries, remedies, images, dates, and source links.

- **URL**: https://apify.com/thirdwatch/cpsc-product-recalls-scraper.md
- **Developed by:** [Thirdwatch](https://apify.com/thirdwatch) (community)
- **Categories:** E-commerce, Education
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Recalls Scraper

> Search U.S. consumer-product recalls with products, UPCs, manufacturers, retailers, hazards, injuries, remedies, images, and source links.

### What you get

Create a structured consumer-product safety feed from official CPSC recall notices. Search recall titles, product names, or manufacturers, apply a bounded date window, and retain nested product and company details alongside flattened fields that work well in spreadsheets and alerts.

### Output fields

| Field | Description |
|---|---|
| `recall_id` / `recall_number` | CPSC recall identifiers |
| `recall_date` / `last_published_date` | Recall publication dates |
| `title` / `description` | Recall headline and affected-product details |
| `consumer_contact` | Published contact instructions |
| `products` | Full product records |
| `product_names` / `product_models` | Flattened product identifiers |
| `units_affected` | Published affected quantities |
| `manufacturers` / `manufacturer_countries` | Manufacturer details |
| `importers` / `retailers` / `distributors` | Published supply-chain companies |
| `hazards` / `injuries` | Safety hazards and incident descriptions |
| `remedies` / `remedy_options` | Published corrective actions |
| `upcs` | Product barcode values when available |
| `image_urls` | Official product images |
| `query` | Search term that produced the row |
| `source_url` / `source` | Official notice and attribution |

### Example output

```json
{
  "recall_number": "26621",
  "recall_date": "2026-07-16T00:00:00",
  "title": "Chandeliers recalled due to electrocution hazard",
  "product_names": ["Nottaway Chandelier Fixtures"],
  "units_affected": ["About 447"],
  "injuries": ["None reported"]
}
```

### Input parameters

| Parameter | Required | Description |
|---|---|---|
| `queries` | No | Product, title, or manufacturer search terms. |
| `searchField` | No | `title`, `product`, or `manufacturer`. |
| `recallDateFrom` | No | Earliest recall date. Defaults to `2026-01-01`. |
| `recallDateTo` | No | Optional latest recall date. |
| `maxResultsPerQuery` | No | Maximum unique recalls per term. Defaults to 10. |

### Use cases

- Retail compliance teams: compare current recalls with catalog and supplier records.
- Marketplaces: monitor recalled products, brands, UPCs, and hazards.
- Insurers and risk teams: analyze hazards, incidents, and affected quantities.
- Journalists and researchers: build source-linked product-safety datasets.

### Export CPSC consumer product recalls without an API key

Search brands, products, hazards, remedies, or the complete recall record. Each result keeps the official notice link and structured product and company details for careful catalog matching.

### Limitations

CPSC coverage excludes vehicles, food, drugs, and medical devices handled by other agencies. Older notices may omit UPCs, quantities, companies, images, or structured remedies. Search matching follows fields exposed by the source. Confirm removal, notification, legal, and safety decisions against the full current notice.

### Compared to alternatives

Compared with `parseforge/cpsc-recalls-scraper`, this Actor supports multiple terms and preserves both nested source records and spreadsheet-friendly fields. Compared with `maydit/us-product-recalls-scraper`, it starts with a tightly bounded date and result default for scheduled tests. Store pricing and features can change.

### FAQ

#### Does this include vehicle recalls?

No. Use the NHTSA Vehicle Safety Scraper for U.S. vehicle recalls and complaints.

#### Can I search by manufacturer?

Yes. Set `searchField` to `manufacturer` and provide company terms in `queries`.

#### Why are some UPC or injury arrays empty?

Those fields are included only when the official recall notice publishes structured values.

Explore more at [thirdwatch.dev](https://thirdwatch.dev). Related Actors: [NHTSA Vehicle Safety Scraper](https://apify.com/thirdwatch/nhtsa-vehicle-safety-scraper), [FDA Recalls Scraper](https://apify.com/thirdwatch/fda-recalls-scraper), and [Amazon Product Scraper](https://apify.com/thirdwatch/amazon-product-scraper).

Last verified: 2026-07

# Actor input Schema

## `queries` (type: `array`):

Product, title, or manufacturer terms to search, depending on the selected field.

## `searchField` (type: `string`):

Choose whether each term searches recall titles, product names, or manufacturer names.

## `recallDateFrom` (type: `string`):

Earliest recall date in YYYY-MM-DD format. Defaults to 2026 to keep the first run bounded.

## `recallDateTo` (type: `string`):

Optional latest recall date in YYYY-MM-DD format.

## `maxResultsPerQuery` (type: `integer`):

Stop after this many unique recalls for each search term.

## Actor input object example

```json
{
  "queries": [
    "children"
  ],
  "searchField": "title",
  "recallDateFrom": "2026-01-01",
  "maxResultsPerQuery": 10
}
```

# 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 = {
    "queries": [
        "children"
    ],
    "searchField": "title",
    "recallDateFrom": "2026-01-01",
    "maxResultsPerQuery": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("thirdwatch/cpsc-product-recalls-scraper").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 = {
    "queries": ["children"],
    "searchField": "title",
    "recallDateFrom": "2026-01-01",
    "maxResultsPerQuery": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("thirdwatch/cpsc-product-recalls-scraper").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 '{
  "queries": [
    "children"
  ],
  "searchField": "title",
  "recallDateFrom": "2026-01-01",
  "maxResultsPerQuery": 10
}' |
apify call thirdwatch/cpsc-product-recalls-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thirdwatch/cpsc-product-recalls-scraper"
        }
    }
}
```

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/axz9zyLO4u2BHy0Q9/builds/fhJu3i04Aex0dVHSo/openapi.json
