EU Safety Gate & RappelConso Scraper — GPSR Recall Matcher avatar

EU Safety Gate & RappelConso Scraper — GPSR Recall Matcher

Pricing

from $25.00 / 1,000 product recall match delivereds

Go to Apify Store
EU Safety Gate & RappelConso Scraper — GPSR Recall Matcher

EU Safety Gate & RappelConso Scraper — GPSR Recall Matcher

Scrape official EU Safety Gate & RappelConso product recalls and screen e-commerce catalogs (Shopify, WooCommerce, Google Shopping XML, CSV, JSON) by exact GTIN/EAN and fuzzy brand/model matching. Technical compliance monitoring for EU GPSR (not a legal certification).

Pricing

from $25.00 / 1,000 product recall match delivereds

Rating

0.0

(0)

Developer

Xavier Richard

Xavier Richard

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 hours ago

Last modified

Features

Limited permissions

Share

EU GPSR Product Recall Matcher (Safety Gate & RappelConso)

Automatically screen e-commerce product catalogs (Shopify, WooCommerce, PrestaShop, Google Shopping XML, CSV, JSON) against official European product recall databases (EU Safety Gate and French RappelConso) to support EU General Product Safety Regulation (GPSR) supply-chain monitoring.

IMPORTANT LEGAL NOTICE / AVERTISSEMENT JURIDIQUE
This Actor provides an informative technical matching score only (is_informative_only: true). It does not constitute legal certification, regulatory advice, or formal compliance verification under EU Regulation (EU) 2023/988 (GPSR). Merchants and compliance teams must always manually verify any flagged match against the official EU Safety Gate or RappelConso recall notice before taking corrective or legal action.


Key Features

  • 100% Public Official APIs (Zero Proxies, 256–512 MB RAM)
    • EU Safety Gate: Official custom XML export API (ec.europa.eu/safety-gate-alerts/api/download/weeklyReport/custom/xml/en), automatically chunked into <= 28-day windows and parsed securely via defusedxml.
    • RappelConso (France): Official OpenDataSoft v2.1 API (data.economie.gouv.fr/api/explore/v2.1/catalog/datasets/rappelconso-v2-gtin-trie/records), aggregating multi-GTIN rows by numero_fiche.
  • Multi-Format Catalog Ingestion
    • Direct JSON list (catalogItems: [{ sku, gtin, brand, title, model }])
    • Shopify storefront URL or /products.json (auto-paginated up to 250 items/page across variants)
    • Google Shopping XML feeds (RSS 2.0 g:gtin, g:brand, g:mpn & Atom)
    • CSV exports (WooCommerce, PrestaShop, ERP exports with ,, ;, \t, and UTF-8 BOM auto-detection)
    • JSON feed URLs
  • Two-Tier Matching Engine (src/matcher.py)
    1. Tier 1 — exact_gtin (100% confidence): Normalizes EAN-8, UPC-A (12-digit), EAN-13, GTIN-14, and Safety Gate concatenated barcodes / RappelConso integer GTINs for O(1) exact matching.
    2. Tier 2 — fuzzy_brand_model (RapidFuzz, configurable threshold ≥ 85%): Accent-folded brand + model/reference matching with token-level explanation (matched_tokens, match_explanation) and guards against brand mismatches or differing model numbers.
  • Delta Mode (onlyNew) & Graceful Abort
    • Tracks processed recall IDs in the Apify Key-Value Store (seen_recalls) so scheduled runs only evaluate and emit newly published recalls.
    • Listens for Apify ABORTING events to flush buffered dataset matches and persist delta state cleanly.
  • Pay-Per-Event (PPE) Ready
    • Enforces pre-flight and per-batch budget checks for recall-fetched and catalog-match events.

Input Example

{
"sources": ["safety_gate", "rappelconso"],
"publishedAfter": "2026-10-15",
"excludeFood": false,
"fuzzyThreshold": 85,
"onlyNew": true,
"catalogItems": [
{
"sku": "NAJ-SC-V2",
"gtin": "7350080242795",
"brand": "Najell",
"title": "Najell SleepCarrier Volume 2",
"model": "SleepCarrier Volume 2"
},
{
"sku": "BCK-DSW-22",
"gtin": "",
"brand": "Backen",
"title": "Autocuiseur Inox Design DSW 22-7L",
"model": "DSW 22-7L"
}
]
}

Output Dataset Record

Each match (or recall_only record when no catalog is provided) includes:

  • disclaimer: Explicit legal notice stating the score is technical & informative only
  • is_informative_only: Always true
  • match_level: "exact_gtin" | "fuzzy_brand_model" | "recall_only"
  • confidence_score: 100.0 for exact GTIN, 85.0–99.9 for fuzzy brand/model
  • matched_gtin, matched_tokens, match_explanation
  • Catalog metadata: sku, catalog_gtin, catalog_brand, catalog_title, catalog_model, catalog_url
  • Official recall metadata: recall_source, recall_id, recall_title, recall_brand, recall_model, recall_gtins, recall_category, notifying_country, risk_level, risk_types, danger_description, measures, published_date, recall_url, image_urls

A run summary is also written to the Key-Value Store under MATCH_SUMMARY.


Local Testing

$pytest