# EU Product Recall Checker – Safety Gate Alerts & Catalog Match (`adamplaenitz/safety-gate-recall-checker`) Actor

EU Safety Gate (RAPEX) product safety alerts as structured data – brand, model, barcodes, risk, measures – and a catalogue check of your GTINs or brand + model against all alerts since 2005. Built for GPSR recall processes of retailers and marketplaces.

- **URL**: https://apify.com/adamplaenitz/safety-gate-recall-checker.md
- **Developed by:** [Adam Plänitz](https://apify.com/adamplaenitz) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 safety alerts

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

## EU Product Recall Checker – Safety Gate Alerts & Catalog Match

**Get the EU Safety Gate (formerly RAPEX) alerts on dangerous non-food products as clean, structured data – and check your own product catalogue (GTIN/EAN, brand + model) against every alert published since 2005.** Built for retailers, marketplaces, importers and brand owners who need a recall process under the EU General Product Safety Regulation (**GPSR**, Regulation (EU) 2023/988).

*Deutsche Kurzfassung weiter unten.*

### Two modes

#### 1. Alert feed

The European Commission publishes a Safety Gate weekly report every Friday (typically 40–80 alerts). The Actor turns it into one structured item per alert:

- **Product:** category, product type, brand, name, model / type number, batch numbers, production dates.
- **Barcodes:** GTIN/EAN cleaned and validated. Concatenated codes like `5055300409775505530040978281337…` are split by check digit.
- **Risk:** risk type (chemical, choking, electric shock, fire …), risk level and the description of the danger.
- **Measures:** structured as economic operator, voluntary or compulsory, the measure (withdrawal, recall from end users, listing removal …) and the date of entry into force.
- **Where:** notifying country, country of origin, online marketplace listings (platform + listing ID) and the link to the official alert.

Filter by category, notifying country, risk type, risk level or keywords, or keep only alerts with a barcode. With **"only alerts not delivered before"** plus a weekly schedule, you get exactly the new alerts every Friday, by e-mail, Slack, Google Sheets or webhook.

#### 2. Catalogue check

Paste your products, one per line: `GTIN | Brand | Model | Your SKU` (all parts optional):

```
4006381333931
| Acme | X100
4006381333931 | Acme | X100 | A-1001
```

Each product is checked against **all Safety Gate alerts since 2005**, using the history index included in the Actor plus every newer weekly report fetched at run time:

- **GTIN match** (high confidence): independent of format, so EAN-13, UPC-A and GTIN-14 with leading zeros all match.
- **Brand + model match** (high or medium confidence): normalised spelling, e.g. `X 100` = `X-100`.
- Optional **brand-only** matches (low confidence).

You get one row per product with `status` (`match` / `no-match`), `bestConfidence` and the matching alerts, including the case number and link.

### Who is it for?

- **Online shops and marketplaces:** GPSR requires you to act on product safety alerts. Run a weekly catalogue check and get notified when one of your products appears.
- **Importers, distributors, brand owners:** monitor alerts in your categories and against your brands.
- **Compliance consultants, testing labs and journalists:** structured data for analysis and reporting.

### Output example (feed, shortened)

```json
{
  "caseNumber": "SR/03088/26",
  "publicationDate": "2026-11-04",
  "reportWeek": "2026-W44",
  "category": "Decorative articles",
  "product": "Tablecloth",
  "brand": "Solei d'Ocre",
  "model": "052025, Crystal transparent 100 microns",
  "batchNumber": "86NG589",
  "barcodes": ["3418178586009"],
  "riskType": "Chemical",
  "riskLevel": "Serious risk",
  "danger": "The product has an excessive concentration of DEHP …",
  "measures": [{ "economicOperator": "Retailer", "measureType": "compulsory", "measure": "Withdrawal of the product from the market", "entryIntoForce": null }],
  "notifyingCountry": "Luxembourg",
  "countryOfOrigin": "People's Republic of China",
  "alertUrl": "https://ec.europa.eu/safety-gate-alerts/screen/webReport/alertDetail/10118629"
}
```

### Pricing

See the **Pricing** tab. A feed run for the latest week takes a few seconds. A catalogue check of thousands of products usually finishes in under a minute.

### Data source, licence and limits

- Source: **Safety Gate – the EU rapid alert system for dangerous non-food products**, European Commission, official weekly report downloads. © European Union; reuse is permitted with attribution under Commission Decision 2011/833/EU (CC BY 4.0). Every item contains an attribution.
- **This Actor is an independent tool and is not affiliated with or endorsed by the European Commission.**
- Product photos are **not** copied (third-party rights). Please use the link to the official alert.
- Safety Gate covers non-food consumer and professional products. Food and feed alerts (RASFF) are not included.
- Many alerts have no barcode (about half), so brand + model matching is important. Matches are an aid, not a legal assessment. Always verify with the official alert.

Questions or feature requests? Please open an issue in the **Issues** tab – usually answered within 1–2 working days.

***

### Deutsch (Kurzfassung)

**EU-Produktwarnungen (Safety Gate, früher RAPEX) als strukturierte Daten und Abgleich des eigenen Sortiments mit allen Warnungen seit 2005:**

- **Feed:** jeden Freitag die neuen Warnungen mit Marke, Modell, Barcode, Risiko, Maßnahmen und Meldeland. Filterbar, mit „nur Neues“-Modus.
- **Sortimentsabgleich:** Eingabe je Zeile als `GTIN | Marke | Modell | Artikelnummer`. Ausgabe sind die Treffer mit Konfidenz und Link zur offiziellen Meldung.

Für Händler, Marktplätze und Importeure mit Rückrufpflichten nach der EU-Produktsicherheitsverordnung (GPSR). Quelle: Europäische Kommission. Keine Verbindung zur Kommission.

# Actor input Schema

## `mode` (type: `string`):

Feed: alerts of the latest weekly reports. Catalogue check: match your products (GTIN, brand + model) against all alerts since 2005.

## `lastWeeks` (type: `integer`):

1 = latest report (published every Friday). Up to 260 weeks.

## `newSinceLastRun` (type: `boolean`):

Remembers delivered alerts per filter set – ideal for a weekly schedule (e.g. Friday afternoon).

## `categories` (type: `array`):

Part of the category name, e.g. Toys, Cosmetics, Electrical appliances, Childcare.

## `notifyingCountries` (type: `array`):

English country names, e.g. Germany, France, Austria.

## `riskTypes` (type: `array`):

e.g. Chemical, Injuries, Electric shock, Fire, Choking, Strangulation.

## `riskLevels` (type: `array`):

Leave empty for all levels.

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

Alert must contain at least one keyword (product, brand, name, model, description, danger).

## `excludeKeywords` (type: `array`):

Alerts containing any of these words are skipped.

## `onlyWithBarcode` (type: `boolean`):

Skip alerts without a barcode.

## `maxItems` (type: `integer`):

Upper limit of alerts per run.

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

One product per line: GTIN | Brand | Model | Your SKU (parts optional, e.g. "4006381333931" or "| Acme | X100" or "4006381333931 | Acme | X100 | A-1001").

## `onlyMatches` (type: `boolean`):

Every checked product is still counted; only the result rows are reduced.

## `matchBrandOnly` (type: `boolean`):

For products without model: report all alerts of the same brand.

## Actor input object example

```json
{
  "mode": "feed",
  "lastWeeks": 1,
  "newSinceLastRun": false,
  "onlyWithBarcode": false,
  "maxItems": 10000,
  "onlyMatches": false,
  "matchBrandOnly": false
}
```

# Actor output Schema

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

Feed mode: one item per Safety Gate alert. Catalogue mode: one item per checked product with its matching alerts.

## `summary` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("adamplaenitz/safety-gate-recall-checker").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("adamplaenitz/safety-gate-recall-checker").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 '{}' |
apify call adamplaenitz/safety-gate-recall-checker --silent --output-dataset

```

## MCP server setup

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

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/Gt2DXguoKOe6a8GDF/builds/4efQvO7RhVBXFWhKT/openapi.json
