# CPSC Recall Match for Product Catalogs (UPC, Brand, Model) (`howmuchworks/cpsc-recall-match`) Actor

Screen your SKU list against official U.S. CPSC recall notices. Exact UPC/GTIN matches, brand+model candidates for review, and the evidence behind every match: recall number, date, hazard, remedy and cpsc.gov link.

- **URL**: https://apify.com/howmuchworks/cpsc-recall-match.md
- **Developed by:** [howmuchworks tools](https://apify.com/howmuchworks) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 product row screeneds

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

## CPSC Recall Match: screen your product catalog against U.S. recalls

**Upload a SKU list, get back which products match a published U.S. CPSC recall notice, which need a human look, and the evidence for each: recall number, date, hazard, remedy, cpsc.gov link and exactly which fields matched.**

By howmuchworks. Data from the U.S. Consumer Product Safety Commission (CPSC) official Recalls API. Not affiliated with or endorsed by CPSC.

> **Read first.** Screening against published CPSC notices is **probabilistic** and is **not legal or compliance advice**. **No match is not proof of safety**: many notices carry no UPC or model number, and recalls outside your date window or by other agencies are not covered. **The seller remains responsible for not selling recalled products** (see CPSC's guidance for resellers: [Stop the online sale of recalled products](https://www.cpsc.gov/Business--Manufacturing/Business-Education/ResaleThrift-Stores-Information-Center/Stop-Online-Sale-of-Recalled-Products)). Every no-match, inconclusive and needs-review row carries this caveat in its `note`, so it travels with any export.

### Who it is for

- **Marketplace and e-commerce sellers** who must pull recalled items from listings (Amazon, Walmart, eBay and Etsy sellers, Shopify stores).
- **Retail, resale and liquidation buyers** checking a pallet manifest or a returns lot before reselling.
- **Compliance and product-safety teams** who want a repeatable monthly screen with an audit trail.
- **AI agents (via Apify MCP)** that need a structured answer to "is this SKU on a CPSC recall?" with sources, instead of guessing.

### What it does

1. Reads your products: a JSON array, pasted CSV, or a CSV link (Google Sheets "publish to web" works). Column names are matched loosely: `upc`, `gtin`, `ean` and `barcode` all work, as do `brand` or `manufacturer`, and `model`, `mpn` or `part number`.
2. Downloads every CPSC recall in your date window **once per run** (default: the last 3 years, about 1,300 notices), in monthly chunks with retries, instead of one API call per product. A 5,000-row catalog costs the CPSC server the same 37 requests as a 5-row one.
3. Matches each row locally:
   - **GTIN/UPC**: your barcode equals a UPC in the notice. It checks both the API's UPC field and UPCs printed only in the notice text, which is the only place many notices carry them. UPC-A, EAN-13 and GTIN-14 forms of the same number are treated as equal, and an 8-digit UPC-E is expanded to its UPC-A. A number in the notice text counts as a barcode only when the notice labels it as a UPC/GTIN/EAN or lists it in its barcode table. An unlabelled number (it may be a serial number) and an 8-digit code that reads both as EAN-8 and as UPC-E give needs-review, never exact.
   - **Brand + model**: brand phrase found in the notice title, product names or company names, and the model number found in the notice title, product names or description (`DR HSH015`, `DR-HSH015` and `drhsh015` are the same). Typo-tolerant brand and model matching and model prefix and variant detection go to review, never to exact. A plain-number model (`2025`) counts only where the notice labels it as a model, and a model named only as what the recalled part is used with ("battery packs for S1 Pro speakers") goes to review.
   - **Unit limits**: many notices recall only certain units: serial-number prefixes, lots, date codes, "only units without a QC sticker". A match on such a notice is needs-review, because those limits cannot be checked automatically. The one exception is a manufacturing range the tool can read ("manufactured from April 2025 through January 2026"): give a date code like `2025/09` and it is checked. Inside the range keeps an exact match. Outside the range, on a boundary day it cannot decide, or not a real date gives needs-review. The tool found unit limits in 248 of the 1,301 notices of the 3 years to 26 November 2026 (our count on that download).
4. Returns one dataset row per product with a status:
   - `exact-match`: a barcode or brand plus exact model identifies the recalled product, and the notice states no unit limit the tool could not verify. Confirm against the notice before acting.
   - `needs-review`: something resembles a notice (brand plus product words, model-only, a fuzzy model, an unlabelled number) or the notice limits the recall to units the tool cannot verify (serials, lots, date codes, a date code outside the stated range). A person should compare.
   - `no-published-match`: nothing in the window matched. **This is not proof of safety** (see Limits).
   - `inconclusive`: the barcode was invalid, so only brand/model were screened, and nothing matched. Free.
   - `invalid-row`: the row could not be screened (for example a barcode with a wrong check digit and no brand or model, a malformed CSV line, or a field the selected strictness cannot use). Free.

### Input example (real run)

```json
{
  "csvText": "sku,upc,brand,model,name,date_code\nBB-1001,669028116546,Boon,,NURSH reusable bottle 8 oz 3-pack,\nHT-2002,,DREO,DR-HSH015,Ceramic space heater with remote,2025/09\nLD-4004,,Little Giant,Epic,Multi-position ladder,\nAF-6006,810002862779,Gourmia,,Digital air fryer oven 9-slice,\nKT-5005,,OXO,,Good Grips salad spinner,\nBAD-0001,669028116547,,,,\n",
  "lookbackYears": 3,
  "matchStrictness": "balanced",
  "maxMatchesPerRow": 3
}
```

| Field | Meaning | Default |
|---|---|---|
| `products` | JSON array of objects (`sku`, `upc`/`gtin`, `brand`, `model`, `name`, `dateCode`) | none |
| `csvText` / `csvUrl` | The same as CSV, pasted or linked (comma, semicolon, tab or pipe) | none |
| `lookbackYears` | Recall window in years up to today | 3 |
| `dateFrom` / `dateTo` | Exact window instead (YYYY-MM-DD) | none / today |
| `matchStrictness` | `strict`, `balanced` or `broad` (see FAQ) | `balanced` |
| `maxMatchesPerRow` | Best candidates listed per product | 5 |
| `maxRows` | Rows screened per run (hard limit 25,000) | 5,000 |
| `passthroughColumns` | Extra input columns to copy into each result's `extra` (for example `price`) | none |

Each row needs at least a valid GTIN/UPC, a brand, or a model number with a digit (in `strict` mode: a GTIN/UPC or a model number). Other columns are not copied to the results unless you list them in `passthroughColumns`. CSV must be well formed: a quote left open fails the run before anything is screened or charged, and a line with a different number of fields than the header is reported as `invalid-row` (free). The Console's three sample products are ignored when you also give a CSV. `csvUrl` must be a public http(s) address; links to private or local networks are refused.

### Output (real run, 26 November 2026)

Six rows in, 16 seconds, 1,301 recalls in the 2023-11-26..2026-11-26 window, 5 rows charged:

| Row | SKU | Status | Recall | Matched on |
|---|---|---|---|---|
| 1 | BB-1001 | exact-match | 26530: TOMY Recalls Boon NURSH 8 oz Reusable Baby Bottles (2026-06-04) | UPC in the API's UPC field |
| 2 | HT-2002 | exact-match | 27054: DREO Recalls DR-HSH015 Space Heaters (2026-10-29) | brand + exact model, date code 2025/09 inside "manufactured from April 2025 through January 2026" |
| 3 | LD-4004 | needs-review | 27067: Little Giant Recalls Ladders with Rapid Locks (2026-11-05) | brand + model name "Epic" in the notice's model list; only ladders without a "QC" sticker are recalled |
| 4 | AF-6006 | needs-review | 27069: Gourmia Recalls 9-Slice Digital Air Fryer Ovens (2026-11-05) | UPC printed only in the notice text (the API's UPC field is empty); the notice limits units to "codes 3021 to 0126", which the tool cannot check |
| 5 | KT-5005 | no-published-match | none | none |
| 6 | BAD-0001 | invalid-row (free) | none | UPC check digit wrong, nothing else to screen on |

One full dataset item (row 1):

```json
{
  "rowIndex": 1,
  "sku": "BB-1001",
  "gtin": "669028116546",
  "gtinNormalized": "00669028116546",
  "brand": "Boon",
  "model": "",
  "name": "NURSH reusable bottle 8 oz 3-pack",
  "dateCode": "",
  "status": "exact-match",
  "matchCount": 1,
  "topRecallNumber": "26530",
  "topRecallTitle": "TOMY Recalls Boon NURSH 8 oz Reusable Baby Bottles Due to Choking Hazard; Sold at Walmart",
  "topRecallUrl": "https://www.cpsc.gov/Recalls/2026/TOMY-Recalls-Boon-NURSH-8-oz-Reusable-Baby-Bottles-Due-to-Choking-Hazard-Sold-at-Walmart",
  "topMatchScore": 1,
  "topMatchBasis": "gtin-exact",
  "matches": [
    {
      "matchLevel": "exact-match",
      "score": 1,
      "matchBasis": "gtin-exact",
      "recallNumber": "26530",
      "recallId": 10803,
      "recallDate": "2026-06-04",
      "title": "TOMY Recalls Boon NURSH 8 oz Reusable Baby Bottles Due to Choking Hazard; Sold at Walmart",
      "url": "https://www.cpsc.gov/Recalls/2026/TOMY-Recalls-Boon-NURSH-8-oz-Reusable-Baby-Bottles-Due-to-Choking-Hazard-Sold-at-Walmart",
      "products": ["Boon NURSH 8 oz Reusable Baby Bottles"],
      "hazards": ["The hard plastic outer shell can bubble or partially peel off, resulting in loose pieces of film-like plastic that pose a choking hazard to young children."],
      "remedies": ["Consumers should stop using the recalled baby bottles immediately and contact TOMY to receive a refund in the form of a $22 booninc.com store credit or a replacement set of three bottles in a different color."],
      "remedyOptions": ["Refund", "Replace"],
      "units": ["About 40,000"],
      "companies": ["TOMY International, Inc., of Oak Brook, Illinois"],
      "soldAt": ["Exclusively at Walmart stores and online at Walmart.com from November 2025 through May 2026 for about $20."],
      "consumerContact": "TOMY toll-free at 866-725-4407 from 8 a.m. to 4 p.m. CT, Monday through Friday, by email at cs@tomy.com, or online at https://recall.tomy.com/nursh, or https://us.tomy.com and click on \"Product Recalls\" at the top of the page for more information.",
      "upcsListed": ["669028116546"],
      "matchedFields": [
        { "field": "gtin", "method": "exact", "score": 1, "value": "669028116546", "source": "ProductUPCs" },
        { "field": "brand", "method": "phrase", "score": 1, "foundIn": "title" },
        { "field": "name", "method": "words", "score": 0.667, "words": ["nursh", "reusable"] }
      ],
      "notes": []
    }
  ],
  "note": "Identifiers match a published CPSC recall notice. Confirm model, date codes and photos against the full notice before acting.",
  "warnings": [],
  "errors": [],
  "window": "2023-11-26..2026-11-26",
  "recallsInWindow": 1301,
  "extra": {},
  "duplicateOfRow": null,
  "charged": true
}
```

The `matchedFields` and `notes` of row 2 (DREO) show the date-code check that keeps it exact:

```json
[
  { "field": "brand", "method": "phrase", "score": 1, "foundIn": "title" },
  { "field": "model", "method": "exact", "score": 1, "foundIn": "title", "value": "drhsh015", "codeLike": true },
  { "field": "name", "method": "words", "score": 0.75, "words": ["ceramic", "space", "heater", "remote"] },
  { "field": "dateCode", "method": "inside-notice-range", "detail": "manufactured from April 2025 through January 2026" }
]
```

`"notes": ["The notice limits the recall to units made in a stated period; your date code is inside it."]`. Without the date code the same row is `needs-review`. Row 4 (Gourmia) carries this note instead: *"The notice limits the recall to certain units (serial numbers, lot or date codes, production dates or similar) that could not be verified automatically: check your stock against the notice."*

The no-match row carries this note in the data itself, so it travels with any export: *"No CPSC recall published in the screened date window matched these identifiers. This is not proof that the product is safe or has never been recalled: not every notice lists UPCs or model numbers, and recalls outside the window, by other agencies (NHTSA, FDA, USDA) or in other countries are not covered. Screening against published CPSC notices is probabilistic and is not legal or compliance advice; the seller remains responsible for not selling recalled products."* `needs-review` and `inconclusive` rows end with the same last sentence.

A run summary (window, recall count, counts per status, rows not processed, billing mode, events charged) is saved as `OUTPUT` in the run's key-value store. Both are linked in the run's Output tab.

### Pricing (pay per event)

**Billing is currently paused: runs are free until 2027.** The price below applies once billing resumes.

| Event | Price | When it is charged |
|---|---|---|
| `sku-screened` | **USD 0.005** per row | Once per distinct, well-formed row screened, whatever the result: exact match, needs review, **or no published match** (screening is the work) |

Free: invalid rows, exact duplicate rows (same SKU and identifiers, character for character), rows with an invalid barcode that were screened by brand/model only, the Console sample rows when a CSV is also given, rows beyond `maxRows`, and anything not processed. 1,000 SKUs cost USD 5.00. Each result row shows `charged: true` only when the Apify platform confirmed the charge. If you set a maximum cost per run, the Actor stops before the first row it cannot pay for and says so in the log and in `OUTPUT`; a maximum of USD 0 screens no paid rows. If the CPSC API cannot deliver the whole window (errors, malformed or undated records), the run fails before any row is charged, because screening against an incomplete window would turn real matches into false "no match" results. If Apify moves or restarts a run, the Actor resumes where it stopped: no row is delivered or charged twice.

### Data source, terms and attribution

- **Source**: U.S. Consumer Product Safety Commission, Recalls API: `https://www.saferproducts.gov/RestWebServices/Recall`. [API information](https://www.cpsc.gov/Recalls/CPSC-Recalls-Application-Program-Interface-API-Information). CPSC describes it as recall information "publicly available to consumers and businesses as well as software and application developers."
- **Reuse terms**: CPSC's [website policies](https://www.cpsc.gov/About-CPSC/Policies-Statements-and-Directives/Privacy-Policy) say web text is public information that may be freely distributed and copied, that recall notices may be freely copied and distributed, that CPSC should be credited, and that the information may not be used to state or imply CPSC endorsement. This Actor returns notice text and links only, no images.
- **UPC coverage**: CPSC's [FAQ](https://www.saferproducts.gov/FAQs/FrequentlyAskedQuestions11) lists the API's UPC field as filled only "when provided in a recall". In the 574 notices of the year to 26 November 2026, 16 had the UPC field filled and 18 mentioned "UPC" in the notice text (our count on that download). That is why the Actor also reads UPCs out of the text, and why brand and model matching matters.
- **Attribution**: Recall data: U.S. Consumer Product Safety Commission. howmuchworks is not affiliated with or endorsed by CPSC.
- **Personal data and retention**: the Actor does not collect personal data. Your input, the results dataset and the `OUTPUT` summary are stored in your own Apify account, like any run's storage, and are deleted under your plan's [data-retention rules](https://docs.apify.com/platform/storage/usage). Columns other than the product fields are not copied to the results unless you list them in `passthroughColumns`. When you use `csvUrl`, a compressed copy of the downloaded file is kept in the run's key-value store so a restarted run screens the same list.

### Limits: what it does NOT tell you

- **No match is not proof of safety.** Most notices identify products by name, model and photos, not barcodes. A product can be recalled under a different brand (private label, importer), with a model number that appears only in a photo, or outside your date window.
- **CPSC only.** Cars, tires and car seats (NHTSA), food, drugs and cosmetics (FDA), meat and poultry (USDA), and recalls in other countries are not covered.
- **It does not read photos or PDFs.** Model or date-code tables that exist only as images in the notice are invisible to it.
- **Date and serial checks are partial.** Only "manufactured from Month YYYY through Month YYYY" ranges (with or without days) are checked automatically. Serial-number prefixes, lot lists, date-code tables and week codes make the match `needs-review` with a note, for a person to compare.
- **Not legal or compliance advice.** Screening is probabilistic. Use `needs-review` rows as a work queue, and the official notice as the source of truth. The seller remains responsible for not selling recalled products ([CPSC reseller guidance](https://www.cpsc.gov/Business--Manufacturing/Business-Education/ResaleThrift-Stores-Information-Center/Stop-Online-Sale-of-Recalled-Products)).

### FAQ

**What do the strictness levels change?**
`strict`: only a labelled GTIN/UPC equality can be an exact match. Brand plus exact model goes to review, and rows need a GTIN/UPC or a model number (brand-only rows are rejected free). `balanced` (default): a GTIN/UPC, or brand plus exact model number, can be an exact match. Brand plus product words, model-only and fuzzy-model hits go to review. `broad`: additionally lists weaker brand-only and fuzzy-model candidates, including model-only typos. Best for a first-time catalog audit. In every mode, a notice that limits the recall to certain units keeps the match at `needs-review` unless your date code is verified inside its manufacturing range. Treat `exact-match` as a strong lead to confirm against the notice, not as an automatic delisting decision.

**How is the score computed?**
A weighted average over the fields you supplied: brand 0.35, model 0.5, product words 0.15. Each field scores 0 to 1 (exact phrase in the title, product or company names = 1, only in the description = 0.85, typo-tolerant = similarity minus 0.15). A labelled GTIN/UPC hit scores 1, an unlabelled or ambiguous one 0.8. A date code outside the notice range multiplies by 0.6. The score ranks candidates. The status comes from the rules above, not from a threshold.

**Why a date window instead of all recalls since 1973?**
Speed and politeness to a public server: each year is about 12 small requests. Set `lookbackYears` up to 50 or use `dateFrom` for a full history screen.

**Can I run it on a schedule?**
Yes. Schedule it monthly with `lookbackYears: 1` (or `dateFrom` set to your last run) and point `csvUrl` at your live catalog export.

**The recall number looks different on cpsc.gov.**
The API returns `26530`, and cpsc.gov shows the same recall as `26-530`.

**My barcode came back as invalid.**
The last digit of a GTIN is a check digit. A wrong one usually means a typo, or a spreadsheet that turned the barcode into a number (`6.69E+11`) or dropped leading zeros. Export the column as text.

# Actor input Schema

## `products` (type: `array`):

One object per product, for example {"sku": "HT-2002", "upc": "", "brand": "DREO", "model": "DR-HSH015", "name": "Ceramic space heater", "dateCode": "2025/09"}. Column names are matched loosely (upc, gtin, ean, barcode all work). The three sample rows are ignored (not screened, not charged) when you also fill 'Products (pasted CSV)' or 'Products (CSV URL)'.

## `csvText` (type: `string`):

Paste a CSV with a header row. Comma, semicolon, tab or pipe separated. Example header: sku,upc,brand,model,name,date_code

## `csvUrl` (type: `string`):

Public http(s) link to a CSV file (for example a Google Sheets 'publish to web' CSV link). Up to 15 MB. Links to private or local network addresses are refused.

## `lookbackYears` (type: `integer`):

Screen against recalls announced in this many years up to today. Ignored when 'Window start date' is set. Each year is about 12 small API calls.

## `dateFrom` (type: `string`):

Optional. First recall date to include, YYYY-MM-DD. Overrides 'years back'.

## `dateTo` (type: `string`):

Optional. Last recall date to include, YYYY-MM-DD. Defaults to today.

## `matchStrictness` (type: `string`):

strict: exact needs a GTIN/UPC equality; brand+model hits go to review; rows need a GTIN/UPC or a model number. balanced (default): GTIN/UPC, or brand plus exact model number, can be an exact match; brand+product-words and model-only hits go to review. broad: also lists weaker brand-only and fuzzy-model candidates for review. In every mode a match on a notice that limits the recall to certain serial numbers, lots or date codes stays needs-review unless your date code is verified inside the notice's manufacturing range.

## `maxMatchesPerRow` (type: `integer`):

Best candidates kept per product (all candidates are counted in matchCount).

## `maxRows` (type: `integer`):

Rows after this limit are skipped and not charged. Hard limit 25,000.

## `passthroughColumns` (type: `array`):

Optional. Names of extra input columns (for example price or supplier) to copy into each result's 'extra' field. Other columns are not copied, so customer or personal data in your file does not reach the dataset. Up to 20.

## Actor input object example

```json
{
  "products": [
    {
      "sku": "BB-1001",
      "upc": "669028116546",
      "brand": "Boon",
      "name": "NURSH reusable bottle 8 oz 3-pack"
    },
    {
      "sku": "HT-2002",
      "brand": "DREO",
      "model": "DR-HSH015",
      "name": "Ceramic space heater with remote",
      "dateCode": "2025/09"
    },
    {
      "sku": "KT-5005",
      "brand": "OXO",
      "name": "Good Grips salad spinner"
    }
  ],
  "lookbackYears": 1,
  "matchStrictness": "balanced",
  "maxMatchesPerRow": 5,
  "maxRows": 5000,
  "passthroughColumns": []
}
```

# Actor output Schema

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

One item per input row: status (exact-match, needs-review, no-published-match, inconclusive, invalid-row), matched recall notices with evidence, notes, and whether the row was charged.

## `summary` (type: `string`):

OUTPUT record: recall window, recalls downloaded, counts per status, rows not processed, billing mode and sku-screened events charged.

# 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 = {
    "products": [
        {
            "sku": "BB-1001",
            "upc": "669028116546",
            "brand": "Boon",
            "name": "NURSH reusable bottle 8 oz 3-pack"
        },
        {
            "sku": "HT-2002",
            "brand": "DREO",
            "model": "DR-HSH015",
            "name": "Ceramic space heater with remote",
            "dateCode": "2025/09"
        },
        {
            "sku": "KT-5005",
            "brand": "OXO",
            "name": "Good Grips salad spinner"
        }
    ],
    "lookbackYears": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("howmuchworks/cpsc-recall-match").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 = {
    "products": [
        {
            "sku": "BB-1001",
            "upc": "669028116546",
            "brand": "Boon",
            "name": "NURSH reusable bottle 8 oz 3-pack",
        },
        {
            "sku": "HT-2002",
            "brand": "DREO",
            "model": "DR-HSH015",
            "name": "Ceramic space heater with remote",
            "dateCode": "2025/09",
        },
        {
            "sku": "KT-5005",
            "brand": "OXO",
            "name": "Good Grips salad spinner",
        },
    ],
    "lookbackYears": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("howmuchworks/cpsc-recall-match").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 '{
  "products": [
    {
      "sku": "BB-1001",
      "upc": "669028116546",
      "brand": "Boon",
      "name": "NURSH reusable bottle 8 oz 3-pack"
    },
    {
      "sku": "HT-2002",
      "brand": "DREO",
      "model": "DR-HSH015",
      "name": "Ceramic space heater with remote",
      "dateCode": "2025/09"
    },
    {
      "sku": "KT-5005",
      "brand": "OXO",
      "name": "Good Grips salad spinner"
    }
  ],
  "lookbackYears": 1
}' |
apify call howmuchworks/cpsc-recall-match --silent --output-dataset

```

## MCP server setup

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

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/rS03FUVldAzdbAQc7/builds/79TVCGqK7qfjDgGmu/openapi.json
