EU Safety Gate API & Scraper
The EU Safety Gate API returns EU Safety Gate (RAPEX) product recall alerts as clean JSON.
🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.
eu_recalls searches the most recent weekly reports by text, product category, country and risk type; eu_latest expands the newest weekly report; eu_recall opens one alert in full; categories returns the vocabularies to filter with. It is built for marketplaces, importers and compliance tools selling into the EU that need recall data without parsing the Safety Gate site. One ReefAPI key, one shared credit pool, the standard envelope.
The four actions and what each one is for
recall is an EU Safety Gate API: the alerts EU/EEA market-surveillance authorities publish about dangerous non-food products. There is no US data in it (the US FDA source was removed on 2026-11-07).
| Action | What you pass | What comes back |
|---|---|---|
| eu_recalls | query, category, country, risk_type, weeks (1-12), limit, skip | Alerts from the most recent weekly reports, each with product, barcode, brand, risk, measures, notifying country and country of origin |
| eu_latest | limit | The newest weekly report expanded into its individual product alerts |
| eu_recall | id (the Safety Gate notification id), language | One alert in full: product, risk, measures, traceability and the countries that reacted |
| categories | nothing | The Safety Gate product-category and risk-type vocabularies and the country list, to build filters from |
category, country and risk_type are substring matches, case-insensitive, so "Toys" and "toy" both work. country matches the notifying country or the country of origin.
Real request and response JSON
Captured from the indexed primary action, eu_recalls, on .
{
"method": "POST",
"url": "https://api.reefapi.com/safety-gate/v1/eu_recalls",
"headers": {
"x-api-key": "$REEF_KEY",
"content-type": "application/json"
},
"body": {
"category": "Toys",
"weeks": 2,
"limit": 3
}
}{
"ok": true,
"meta": {
"api": "safety-gate",
"endpoint": "eu_recalls",
"mode": "live",
"latency_ms": 4040.3,
"record_count": 3,
"bytes": 711606,
"cache_hit": false,
"sources": "EU-Safety-Gate",
"reports_scanned": 2,
"total_matches": 23,
"newest_report": "Report-2026-44",
"charged_credits": 1,
"version": "0.2.0",
"request_id": "6c618f177aa5432f",
"queue_ms": 2,
"fetched_at": "2026-11-07T13:56:04.900Z"
},
"data": {
"recalls": [
{
"source": "EU Safety Gate (RAPEX)",
"id": 10119419,
"case_number": "SR/03144/26",
"alert_url": "https://ec.europa.eu/safety-gate-alerts/screen/webReport/alertDetail/10119419",
"product_category": "Toys",
"product_name": "Sewing machine",
"product_description": "Pink plastic toy sewing machine. It comes with accessories: tape measure, fabric, spools of thread.",
"brands": [],
"model": "Beauty Sartorius series - Fashionable girls",
"batch_number": "E -18-01-0604I523686PI260617-2312",
"barcode": null,
"risk_types": [
"Chemical"
],
"risk_description": "The screw that secures the battery compartment is not captive. If the screw is lost when the batteries are being changed, the cover of the battery compartment could be removed easily. If a child puts the batteries in the mouth, the batteries can overheat and release electrolyte which can be ingested by the child and cause damage to the gastrointestinal tract. The product does not comply with the requirements of the Toy Safety Directive nor with the European standard EN 62115.",
"risk_level": "Serious risk",
"measures": "Type of economic operator taking notified measure(s): OtherCategory of measure(s): Removal of this product listing by the online marketplaceDate of entry into force: UnknownType of economic operator taking notified measure(s): OtherCategory of measure(s): Warning consumers of the risksDate of entry into force: 12/10/2026",
"notifying_country": "France",
"country_origin": "People's Republic of China",
"alert_type": "Consumer",
"company_recall_code": null,
"production_dates": null,
"pictures": [
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240868",
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240869",
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240870"
],
"recall_url": null,
"web_report": "Report-2026-44",
"publication_date": "06/11/2026",
"report_week": "44",
"report_year": "2026"
},
{
"source": "EU Safety Gate (RAPEX)",
"id": 10119447,
"case_number": "SR/03094/26",
"alert_url": "https://ec.europa.eu/safety-gate-alerts/screen/webReport/alertDetail/10119447",
"product_category": "Toys",
"product_name": "Toy game console",
"product_description": "Small toy game console with key chain.",
"brands": [
"Tongxinyi"
],
"model": "Mini games console",
"batch_number": null,
"barcode": "5905258534664",
"risk_types": [
"Environment"
],
"risk_description": "The solders in the product have an excessive concentration of cadmium (measured value: 0.4% by weight).Cadmium bio-accumulates and poses a risk to the environment. The product does not comply with the requirements of the Directive on the restriction of the use of certain hazardous substances in electrical and electronic equipment (RoHS 2 Directive).",
"risk_level": "Serious risk",
"measures": "Type of economic operator taking notified measure(s): DistributorCategory of measure(s): Withdrawal of the product from the marketDate of entry into force: 24/10/2026",
"notifying_country": "Sweden",
"country_origin": "Unknown",
"alert_type": "Consumer",
"company_recall_code": null,
"production_dates": null,
"pictures": [
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240892",
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240893",
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240894"
],
"recall_url": null,
"web_report": "Report-2026-44",
"publication_date": "06/11/2026",
"report_week": "44",
"report_year": "2026"
},
{
"source": "EU Safety Gate (RAPEX)",
"id": 10119454,
"case_number": "SR/03096/26",
"alert_url": "https://ec.europa.eu/safety-gate-alerts/screen/webReport/alertDetail/10119454",
"product_category": "Toys",
"product_name": "Fidget toy",
"product_description": "Fidget toy in the shape of a shark with LED lights.",
"brands": [
"Maksik"
],
"model": "Anti-stress fidget toy larva",
"batch_number": null,
"barcode": "6920179579142",
"risk_types": [
"Environment"
],
"risk_description": "The solders in the product have an excessive concentration of lead and cadmium (measured values up to 48% and 0.03% by weight, respectively).Lead poses a risk to the environment. Cadmium bio-accumulates and poses a risk to the environment. The product does not comply with the requirements of the Directive on the restriction of the use of certain hazardous substances in electrical and electronic equipment (RoHS 2 Directive).",
"risk_level": "Serious risk",
"measures": "Type of economic operator taking notified measure(s): DistributorCategory of measure(s): Withdrawal of the product from the marketDate of entry into force: 31/08/2026",
"notifying_country": "Sweden",
"country_origin": "People's Republic of China",
"alert_type": "Consumer",
"company_recall_code": null,
"production_dates": null,
"pictures": [
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240900",
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240901",
"https://ec.europa.eu/safety-gate-alerts/public/api/notification/image/11240902"
],
"recall_url": null,
"web_report": "Report-2026-44",
"publication_date": "06/11/2026",
"report_week": "44",
"report_year": "2026"
}
],
"total": 23,
"reports_scanned": 2,
"weeks_window": 2,
"newest_report": {
"reference": "Report-2026-44",
"year": "2026",
"week": "44",
"publication_date": "06/11/2026",
"report_id": "10000330"
},
"filters": {
"query": null,
"category": "Toys",
"country": null,
"risk_type": null
},
"skip": 0,
"limit": 3,
"has_more": true,
"next_skip": 3
}
}What the EU Safety Gate API does
| Action | Description | Concrete use case | Key params |
|---|---|---|---|
| eu_recall | One EU Safety Gate (RAPEX) recall/alert by notification id — product, risk, measure, traceability, reacting countries. | Ops teams call eu_recall to get one EU Safety Gate (RAPEX) recall/alert by notification id. | id, language |
| eu_recalls | Search/list EU Safety Gate alerts: pages over recent weekly reports (open-data XML) and filters by query, product category, country and risk type, with skip/limit pagination. Each alert carries product, barcode, brand, risk, measures, notifying country and country of origin. | Developer tools call eu_recalls to get search/list EU Safety Gate alerts. | query, category, country, risk_type, weeks, ... |
| eu_latest | The newest EU Safety Gate weekly report fully expanded into its ~80-100 product alerts (newest-published recalls across the EU/EEA). | Validation workflows call eu_latest to get the newest EU Safety Gate weekly report fully expanded into its ~80-100 product alerts (newes…. | limit |
| categories | The EU Safety Gate taxonomy: product-category & risk-type enums + the number of countries in the EU country list (reference values for the eu_recalls filters). | Data-quality teams call categories to get the EU Safety Gate taxonomy. | none |
Call eu_recalls from your stack
curl -X POST https://api.reefapi.com/safety-gate/v1/eu_recalls \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"category":"Toys","weeks":2,"limit":3}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/safety-gate/v1/eu_recalls",
headers={"x-api-key": REEF_KEY},
json={
"category": "Toys",
"weeks": 2,
"limit": 3
},
timeout=90,
)
print(r.json()["data"])const res = await fetch("https://api.reefapi.com/safety-gate/v1/eu_recalls", {
method: "POST",
headers: {
"x-api-key": process.env.REEF_KEY,
"content-type": "application/json",
},
body: JSON.stringify({
"category": "Toys",
"weeks": 2,
"limit": 3
}),
});
const { ok, data, meta, error } = await res.json();Ask your MCP-connected assistant: call reefapi.safety-gate.eu_recalls with {"category":"Toys","weeks":2,"limit":3}.Who uses this API and why
- Marketplaces call eu_recalls with a brand or product name to flag listings that match an EU alert.
- Compliance teams read eu_latest every week for the categories they sell.
- Importers filter eu_recalls by country of origin to watch the products coming from their suppliers' countries.
Questions developers ask before integrating
Does this cover US recalls (FDA, CPSC, NHTSA)?
No. This API reads the EU Safety Gate only. US food, drug, device, consumer-product and vehicle recalls are not in it, and neither are EU food and feed alerts, which are published through a separate system.
How far back does eu_recalls look?
As far as the weeks parameter says: it scans the most recent weekly Safety Gate reports, one to twelve of them, each carrying roughly eighty to a hundred alerts. A wider window means more coverage and more upstream fetches.
Where do I find the notification id for eu_recall?
It is the number in a Safety Gate alert URL, and every row from eu_recalls and eu_latest carries it. Pass it as id; language asks for the notification text in another language such as de or fr.
How do I page past the first page of results?
limit sets the page size (1 to 100, default 20) and skip the offset. Each response carries the next offset to send, so page forward until there is no next page.
Does an empty result mean a product is safe?
No. It means nothing matched in the Safety Gate reports that were scanned. Widen weeks, loosen the text filter, and remember the sources this API does not cover.
What is the EU Safety Gate API?
EU Safety Gate API is a ReefAPI endpoint group for eu safety gate It returns live JSON through POST requests under /safety-gate/v1.
Is the EU Safety Gate API free to try?
Yes. ReefAPI starts with 1,000 free credits, no card required. EU Safety Gate calls use the same shared credit balance as every other ReefAPI engine.
Do I need an EU Safety Gate login or account?
No login to EU Safety Gate is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the EU Safety Gate data?
The page example is captured from a live eu_recall call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the EU Safety Gate API use?
EU Safety Gate actions currently cost 1 credit per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call EU Safety Gate from an AI assistant or MCP client?
Yes. Connect ReefAPI once through MCP and your assistant can call safety-gate actions with the same key, credit pool and JSON envelope used by normal REST requests.
Is the EU Safety Gate API an EU Safety Gate scraper?
It is the managed alternative to a DIY EU Safety Gate scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same eu safety gate back as clean JSON.
Why does my EU Safety Gate scraper keep getting blocked?
Most EU Safety Gate scrapers break on anti-bot defenses, rate limits and IP bans that need rotating residential proxies and browser fingerprinting to clear. ReefAPI handles all of that for you — no proxies, no captchas, no maintenance — and returns live JSON. Blocked calls are free.