# Product Recall Check - US CPSC, NHTSA & Canada in one search (`saksham1341/recall-check`) Actor

Search official product recalls from the US CPSC, US NHTSA (vehicles) and the Government of Canada (consumer products, food, vehicles, medical devices, drugs) in one run, in one clean format. Search by product, brand, UPC or vehicle, or get every new recall since a date as a daily feed.

- **URL**: https://apify.com/saksham1341/recall-check.md
- **Developed by:** [Saksham](https://apify.com/saksham1341) (community)
- **Categories:** Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 recall returneds

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

## Product Recall Check: US CPSC, NHTSA and Canada in one search

Search official product recalls from three government sources in one run and get them back in **one consistent format**:

| Source | Covers |
|---|---|
| **US CPSC** (Consumer Product Safety Commission) | consumer products: toys, baby gear, furniture, electronics, appliances |
| **US NHTSA** (National Highway Traffic Safety Administration) | vehicles, by make / model / year |
| **Government of Canada** recalls | consumer products, food (CFIA), vehicles (Transport Canada), medical devices, drugs |

### What you can do

- **Check products or brands** before selling, buying or listing them: `"queries": ["stroller", "IKEA"]`
- **Check barcodes**: `"upcs": ["0123456789012"]` (US CPSC)
- **Check vehicles**: `"vehicles": [{"make": "honda", "model": "civic", "year": 2019}]`
- **Run a daily feed of new recalls**: set `since` with no queries to get every recall published since that date. Schedule it daily to monitor recalls.

Searches match word starts, so `strol` finds "stroller" but `ikea` does not find "Kikea".

### Output

One item per recall:

```json
{
  "source": "cpsc",
  "agency": "US Consumer Product Safety Commission",
  "country": "US",
  "recall_id": "26-123",
  "title": "IKEA Recalls Garlic Presses Due to Laceration and Ingestion Hazards",
  "product": "Garlic Presses",
  "brand": "IKEA",
  "hazard": "Small metal pieces can detach from the garlic press...",
  "remedy": "Refund",
  "recall_date": "2025-07-31",
  "url": "https://www.cpsc.gov/Recalls/...",
  "upcs": [],
  "category": "Kitchen",
  "recall_class": null,
  "matched_query": "IKEA"
}
```

Fields a source does not publish are `null`. For example, Canadian records have no separate brand field; the brand is in the title.

### Pricing

**$0.002 per recall returned**, plus nothing else. Searches with no matches cost nothing. A source that is temporarily down is reported in the log and never charged.

### Notes

- Data comes from the agencies' official public APIs and open data, and links back to each official notice. Always check the official notice before acting.
- Canadian "recall date" is the notice's last-updated date, as published in the open data.
- Not affiliated with any of these agencies.

# Actor input Schema

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

Each search returns recalls whose title, product or brand contains every word (word starts, so 'strol' finds 'stroller').

## `upcs` (type: `array`):

Exact UPC lookups against US CPSC recalls.

## `vehicles` (type: `array`):

List of {"make": "honda", "model": "civic", "year": 2019}.

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

Which agencies to search. NHTSA covers vehicles only and is used for the `vehicles` input.

## `since` (type: `string`):

YYYY-MM-DD. With no queries, returns every new recall since this date (a daily feed).

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

Newest recalls first; stops after this many per search.

## `includeArchived` (type: `boolean`):

Also return Canadian recalls marked as archived (usually old).

## Actor input object example

```json
{
  "queries": [
    "stroller"
  ],
  "sources": [
    "cpsc",
    "nhtsa",
    "health_canada"
  ],
  "maxResultsPerQuery": 50,
  "includeArchived": false
}
```

# 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": [
        "stroller"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saksham1341/recall-check").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": ["stroller"] }

# Run the Actor and wait for it to finish
run = client.actor("saksham1341/recall-check").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": [
    "stroller"
  ]
}' |
apify call saksham1341/recall-check --silent --output-dataset

```

## MCP server setup

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

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/wQbEM4qwmDbTrVwZc/builds/4acNVPvVcjCclqmZm/openapi.json
