# Product Recall Check API: CPSC, NHTSA, FDA & EU Safety Gate (`bosco_labs/product-recalls`) Actor

Recalled yes/no, with each recall's date, hazard, remedy and official link, for a product name, brand, model, UPC/EAN or VIN. Checks US CPSC, NHTSA vehicle recalls, FDA enforcement reports (food, drugs, devices) and EU Safety Gate in one call. Lists every source checked.

- **URL**: https://apify.com/bosco_labs/product-recalls.md
- **Developed by:** [Bosco Labs](https://apify.com/bosco_labs) (community)
- **Categories:** AI, Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 product checks

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 API: CPSC, NHTSA, FDA & EU Safety Gate

**Answers "is this product recalled anywhere, and for what hazard?"** for a product name,
brand, model, UPC/EAN barcode or VIN: one row per query with recalled yes/no, each recall's
date, hazard, remedy and official link, from US CPSC, NHTSA, FDA enforcement reports and the
EU Safety Gate. Built for **AI agents** in e-commerce, resale, procurement and product
compliance, and for people who want one sourced answer instead of four searches.

**Pricing (pay per event):** $0.005 per product checked, recall found or not. A query where a
source could not be checked is returned with a warning and costs nothing.

### What you get

One row per query. Real output for `{"queries": ["Peloton Bike+"]}` (run on 2026-11-06,
shortened to one of three matches):

```json
{
  "schema_version": "1",
  "query": "Peloton Bike+",
  "query_type": "text",
  "vehicle": null,
  "recalled": true,
  "match_count": 3,
  "summary": "Recall found for 'Peloton Bike+': 3 match(es) in US CPSC recalls. Newest: US CPSC recalls 2025-11-06 'Peloton Recalls Original Series Bike+ Exercise Bikes Due to Fall and Injury Hazards', hazard: The bike's seat post assembly can break during use, posing fall and injury hazards to the user. Matching is by words: confirm the exact model at source_url.",
  "matches": [
    {
      "source": "cpsc",
      "source_name": "US CPSC recalls",
      "recall_id": "26067",
      "date": "2025-11-06",
      "title": "Peloton Recalls Original Series Bike+ Exercise Bikes Due to Fall and Injury Hazards",
      "product": "Peloton Original Series Bike+ Model PL02",
      "firm": "Peloton Interactive Inc., of New York",
      "hazard": "The bike's seat post assembly can break during use, posing fall and injury hazards to the user.",
      "remedy": "Consumers should immediately stop using the recalled exercise bikes and contact Peloton for a free repair. Peloton is offering consumers a free seat post that can be self-installed.",
      "classification": null,
      "status": null,
      "jurisdiction": "US",
      "source_url": "https://www.cpsc.gov/Recalls/2026/Peloton-Recalls-Original-Series-Bike-Exercise-Bikes-Due-to-Fall-and-Injury-Hazards"
    }
  ],
  "sources_checked": [
    {"source": "cpsc", "source_name": "US CPSC recalls", "ok": true, "matches": 3, "coverage": "all CPSC recalls"},
    {"source": "fda_food", "source_name": "US FDA enforcement reports (food)", "ok": true, "matches": 0, "coverage": "the 100 newest matching enforcement reports"},
    {"source": "fda_drug", "source_name": "US FDA enforcement reports (drugs)", "ok": true, "matches": 0, "coverage": "the 100 newest matching enforcement reports"},
    {"source": "fda_device", "source_name": "US FDA enforcement reports (medical devices)", "ok": true, "matches": 0, "coverage": "the 100 newest matching enforcement reports"},
    {"source": "eu_safety_gate", "source_name": "EU Safety Gate alerts", "ok": true, "matches": 0, "coverage": "weekly reports 2025-11-07 to 2026-11-06 (52 weeks)"}
  ],
  "warnings": [],
  "input_error": null,
  "source_url": "https://www.cpsc.gov/Recalls/2026/Peloton-Recalls-Original-Series-Bike-Exercise-Bikes-Due-to-Fall-and-Injury-Hazards",
  "checked_at": "2026-11-06T06:38:16+00:00"
}
```

A vehicle (`"2012 Honda Accord"`, or a VIN such as `"1HGCP2F31CA000000"`, which is decoded
with NHTSA vPIC first) returns NHTSA campaigns, here 8, newest first:

```json
{
  "source": "nhtsa",
  "recall_id": "19V502000",
  "date": "2019-06-27",
  "title": "AIR BAGS:FRONTAL:PASSENGER SIDE:INFLATOR MODULE",
  "product": "2012 HONDA ACCORD",
  "firm": "Honda (American Honda Motor Co.)",
  "hazard": "An inflator explosion may result in sharp metal fragments striking the driver or other occupants resulting in serious injury or death.",
  "remedy": "Honda will notify owners, and dealers will replace the passenger frontal air bag inflator, free of charge. The recall began August 12, 2019. ...",
  "jurisdiction": "US",
  "source_url": "https://api.nhtsa.gov/recalls/campaignNumber?campaignNumber=19V502000"
}
```

- **recalled**: `true` (a recall or alert matched), `false` (every source that applies
  answered and none matched) or `null` (nothing matched, but a source was down: see
  `warnings`).
- **matches**: newest first, at most `maxMatches`; `match_count` is the total.
- **sources_checked**: every source behind the answer and what it covered (the EU weeks
  searched, for example). Put this in your audit trail.
- **warnings**: a source that could not be checked, in plain words. One source being down
  never fails the run. **input_error**: why a query could not be checked at all (a VIN with a
  wrong check digit, say); `null` otherwise.
- Each row also carries `attribution` (the source notices: CPSC credit, the openFDA
  disclaimer and the EU Safety Gate acknowledgement) and `provided_by`.

### Input

```json
{ "queries": ["Peloton Bike+", "3418178586009", "1HGCP2F31CA000000"], "maxMatches": 10 }
```

| Field | Meaning |
|---|---|
| `queries` | 1-50 entries: a product name, brand or model; a UPC/EAN (8-14 digits); a 17-character VIN; or year make model (`2012 Honda Accord`). Required |
| `maxMatches` | Recalls listed per query, newest first. 1-50, default 10 |
| `sources` | Any of `cpsc`, `nhtsa`, `fda_food`, `fda_drug`, `fda_device`, `eu_safety_gate`. Default all |
| `euWeeks` | Latest weekly EU Safety Gate reports to search. 1-260, default 52 (one year) |

**How queries are read and matched:** digits only (8-14) = a barcode, matched against CPSC
UPCs, FDA product codes and Safety Gate barcodes (whole numbers only). 17 letters and digits
\= a VIN, decoded to make, model and year with NHTSA vPIC, then checked against NHTSA and Safety
Gate. A VIN that vPIC flags (for example a wrong check digit, usually a typo) is not guessed
at: the row gets `input_error` with vPIC's own message, and if every query is such a VIN the
run fails fast with that message and a valid example. A leading or trailing year
\= a vehicle; it is checked against NHTSA and, in case it is a dated product name, the product
sources too. Anything else is text: every word of the query must start a word in the recall's
product name, model, brand/firm or description ("bike" finds "Bikes", not "motorbike").

### Use from an AI agent (MCP)

Agents can call this Actor as a tool through the
[Apify MCP server](https://github.com/apify/apify-mcp-server). Add this server URL to your MCP
client (Claude, Cursor, VS Code, ...):

```text
https://mcp.apify.com?tools=bosco_labs/product-recalls
```

It loads this Actor as a tool, plus the tools that read its results (`get-actor-run`,
`get-dataset-items`). The hosted server signs you in with OAuth, or accepts your Apify token as
`Authorization: Bearer <APIFY_TOKEN>`.

Example prompt: *"Before we list this used Peloton Bike+ and this 2012 Honda Accord for sale,
check whether either has been recalled, for what hazard, and cite the source."* The agent
passes:

```json
{ "queries": ["Peloton Bike+", "2012 Honda Accord"] }
```

**Output for agents:** one row per query (typically 2-9 KB), stable `snake_case` fields, ISO
dates, `null` for unknown. `summary` is one sentence the agent can repeat; `recalled` is the
yes/no/unknown; `source_url` is the official record. A run takes about 12 seconds (measured on
2026-11-06 for the two queries above; most of it is reading the 52 weekly EU reports, which
are read once per run however many queries you send).

**Cost:** $0.005 per product checked, billed to the Apify account the MCP server is signed in
with. Nothing is charged for a query where a source failed.

### FAQ

**Why is "no recall found" charged?** Because it is the answer you asked for: every source that
applies was searched and none had a match, and `sources_checked` documents what was covered.
That is the result a reseller or compliance check needs on file. What is never charged: a query
where any applicable source could not be checked (the row is returned with `warnings` and
`recalled: null` if nothing matched), a VIN that does not decode cleanly (`input_error`), bad
input, or a run where no source answered.

**How reliable is a match?** Matching is by words, so it is fuzzy both ways. A common word can
match unrelated products ("charger"), and a product listed under another name or spelling can
be missed. Brand + model ("Peloton Bike+", "Philips DreamStation") works best; a model number
or barcode is most precise. **Always confirm the exact model, batch or date range at
`source_url` before acting**: a recall often covers only some serial numbers or production
dates.

**Does a VIN match mean that car is affected?** Not necessarily. NHTSA's open recalls API works
by year, make and model, so the answer lists recalls for that model line. Whether one specific
vehicle is included, or was already repaired, only the manufacturer or NHTSA's VIN lookup at
nhtsa.gov/recalls can say (that page uses a CAPTCHA, so this Actor does not use it).

**What is covered?**

| Source | What | History |
|---|---|---|
| `cpsc` US Consumer Product Safety Commission | Consumer product recalls (toys, furniture, appliances, sporting goods, ...) | All published recalls |
| `nhtsa` US NHTSA | Vehicle recalls by year, make and model | All campaigns for that vehicle |
| `fda_food`, `fda_drug`, `fda_device` openFDA | FDA enforcement reports: food (incl. infant formula, supplements), drugs, medical devices | The 100 newest matching reports per category |
| `eu_safety_gate` European Commission | EU/EEA alerts on dangerous non-food products and vehicles | The latest `euWeeks` weekly reports (default 52, up to 260) |

**What is not covered?** Car seats, tyres and other vehicle equipment (NHTSA equipment
recalls), EU food alerts (RASFF), UK, Canadian, Australian and other national recall lists,
USDA meat and poultry recalls, and recall photos. FDA enforcement reports can lag the press
release by a few weeks.

**How fresh is it?** Every run queries the sources live. CPSC, NHTSA and openFDA update as the
agencies publish; EU Safety Gate publishes a weekly report every Friday.

**Attribution.** Recall data: U.S. Consumer Product Safety Commission (CPSC); no
endorsement by CPSC implied. Vehicle recall
data: U.S. NHTSA (public information); no endorsement implied. FDA enforcement reports via
openFDA (CC0); do not rely on openFDA to make decisions regarding medical care. Alerts from the
Rapid Alert System for dangerous non-food products, published free of charge on the Safety Gate
website (https://ec.europa.eu/safety-gate-alerts) © European Union, 2005-2026; shortened and
reformatted, not otherwise changed. Reuse terms of each source, quoted: see `LEGAL.md`.

# Actor input Schema

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

What to check, one per entry: a product name, brand or model ("Peloton Bike+"), a UPC/EAN barcode of 8-14 digits ("3418178586009"), a 17-character VIN ("1HGCP2F31CA000000") or a vehicle as year make model ("2012 Honda Accord"). Each entry gives one result row and at most one charge; repeats are checked once. 1-50 entries. Required.

## `maxMatches` (type: `integer`):

How many recalls to list per query, newest first, e.g. 10 (default). match_count still gives the total found. Range 1-50; the price does not change.

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

Which sources to check, any of "cpsc", "nhtsa", "fda_food", "fda_drug", "fda_device", "eu_safety_gate", e.g. \["cpsc", "eu_safety_gate"]. Default (or empty) = all six. Each query only goes to the sources that fit it (VINs to NHTSA and EU Safety Gate). Same price for any number of sources.

## `euWeeks` (type: `integer`):

How many of the latest weekly EU Safety Gate reports to search, e.g. 52 (default, about one year). Range 1-260 (five years); more weeks take longer. The US sources always cover their full history.

## Actor input object example

```json
{
  "queries": [
    "Peloton Bike+",
    "2012 Honda Accord"
  ],
  "maxMatches": 10,
  "euWeeks": 52
}
```

# 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": [
        "Peloton Bike+",
        "2012 Honda Accord"
    ],
    "maxMatches": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("bosco_labs/product-recalls").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": [
        "Peloton Bike+",
        "2012 Honda Accord",
    ],
    "maxMatches": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("bosco_labs/product-recalls").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": [
    "Peloton Bike+",
    "2012 Honda Accord"
  ],
  "maxMatches": 10
}' |
apify call bosco_labs/product-recalls --silent --output-dataset

```

## MCP server setup

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

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/vCHeFQbeuDSbdkKCb/builds/6YX5eKPwZXLBxuN5Z/openapi.json
