OpenFoodFacts Bulk SKU & Barcode CSV Enrichment With Auto-Deduplication
E-commerce catalog teams, grocery analytics pipelines, and supply-chain agents routinely receive raw spreadsheets of 5,000–50,000 EAN/UPC barcodes with missing brands, categories, nutrition grades, and ingredients. Batch-Anything enriches SKU tables cleanly against public OpenFoodFacts endpoints while paying $0 for unmatched barcodes.
Why Direct Barcode Scripts Break Against Public Catalog APIs
OpenFoodFacts enforces strict polite rate limits on public product endpoints. Firing naive concurrent loops from a spreadsheet or script triggers HTTP 429 throttling, drops rows silently, and repeatedly queries identical barcodes appearing across multiple store locations or distributor sheets.
Meanwhile, distributor CSVs frequently mix valid EAN-13/UPC-A barcodes with internal warehouse codes or discontinued SKUs. Paying standard enrichment APIs for non-existent product lookups wastes budget fast.
Polite, Cached, Deduplicated SKU Enrichment
Pre-Dispatch Barcode Normalization & Deduplication
Strips whitespace, normalizes barcode formats, rejects non-barcode garbage pre-dispatch at $0 cost, and deduplicates repeated SKUs within a 100k-row sheet so each unique barcode hits upstream once.
Structured Public Product Attributes
Returns verified product_name, brands, categories, nutriscore_grade, quantity, and source provenance directly appended to your CSV, JSONL, or SQLite table.
Zero-Empty Billing on Unmatched Barcodes
Any barcode returning status 0 / product-not-found from OpenFoodFacts is billed strictly $0.00 and isolated in dead_letter_rows for manual catalog review.
Long-Horizon Adaptive SKU Cache (Up to 30d)
Packaged product barcode attributes rarely change week-to-week, unlocking massive cache hit rates and 10% same-tenant refresh pricing.
Bulk Barcode / SKU Catalog Enrichment Comparison
Competitor pricing figures reflect documented public tiers; Batch-Anything performance metrics reflect real measured Gauntlet telemetry (16/16 checks passing).
| Catalog Requirement | Batch-Anything (sku_openfoodfacts_enrich) | Ad-Hoc Python Loop | Commercial Product Data SaaS |
|---|---|---|---|
| Polite Upstream Rate Limiting | Built-in per-domain token bucket + backoff | Easy to violate OpenFoodFacts rate limits | Opaque upstream caching |
| Duplicate SKU Collapse | Automatic within-batch + cross-tenant cache | Re-fetches identical SKUs repeatedly | Often billed per uploaded row |
| Unknown / Private-Label SKU Charge | $0.00 billed + dead_letter_rows export | Manual missing-row bookkeeping | Per-query fee still charged |
| Format Support | CSV, TSV, JSON, JSONL, SQLite, Columnar | Custom parser per file type | Restricted CSV template |
| Hard Budget Guard | max_budget_usd pause + resume_token | None | Monthly tier commitments |
Working REST & Streamable /mcp Code Examples
REST API (POST /v1/batch/run & /v1/batch/submit)
# Synchronous verified batch run ($0 billed on empty/fake-200 rows)
curl -fsSL -X POST "https://batch.fastmesh.dev/v1/batch/run" \
-H "Content-Type: application/json" \
-d '{"workflow": "sku_openfoodfacts_enrich", "tenant_id": "acme_revops", "rows": [{"barcode": "3017620422003", "sku_id": "SKU-001"}, {"barcode": "5449000000996", "sku_id": "SKU-002"}, {"barcode": "0000000000000", "sku_id": "SKU-MISS"}], "max_budget_usd": 1.0, "output_format": "json"}'
Native AI Agent Call (POST /mcp · JSON-RPC 2.0)
# Streamable HTTP MCP JSON-RPC 2.0 call (https://batch.fastmesh.dev/mcp)
curl -fsSL -X POST "https://batch.fastmesh.dev/mcp" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "batch_enrich_run", "arguments": {"workflow": "sku_openfoodfacts_enrich", "tenant_id": "coding_agent_01", "rows": [{"barcode": "3017620422003", "sku_id": "SKU-001"}, {"barcode": "5449000000996", "sku_id": "SKU-002"}], "max_budget_usd": 1.0}}}'
Full schema: /openapi.json · Agent onboarding: /skill.md · Machine directory: /llms.txt · Treg Hub: batch-anything-waterfall (0% commission) · Causal Bazaar: batch_anything_waterfall_v1
Zero-Empty Guarantee, Privacy & Never-Expiring Packs
$0.00 and isolated in dead_letter_rows with a verifiable receipt_sha256.Zero Customer Table Resale Pledge: Your uploaded CSVs, SQLite tables, prompts, BYOK keys, and batch traces are NEVER resold, licensed, or used to train external models.
Starter Pack
$19 credit (19M micros · 6,333 B2B domains / 12,666 URL checks) · Never expires · 0 seat fees
Get Starter PackGrowth Pack
$90 credit (90M micros · 30,000 B2B domains / 60,000 URL checks) · Never expires · 0 seat fees
Get Growth PackScale Pack
$325 credit (325M micros · 108,333 B2B domains / 216,666 URL checks) · Never expires · 0 seat fees
Get Scale PackFrequently Asked Questions
Which barcode formats work with the OpenFoodFacts bulk enricher?
Standard EAN-13, EAN-8, UPC-A, and GTIN numeric barcodes in a barcode or sku column work out of the box. Invalid or empty strings are filtered at $0 cost.
Am I charged if a distributor SKU does not exist in OpenFoodFacts?
No. Product-not-found responses are deterministically classified as empty misses, logged in dead_letter_rows, and billed strictly $0.00.
How does Batch-Anything respect OpenFoodFacts rate limits?
Our waterfall executor applies per-domain token-bucket pacing, bounded worker concurrency, and exponential backoff on transient HTTP 429/503 responses, plus aggressive deduplication and 7d–30d verified caching.
Can I export enriched SKU catalogs directly into SQLite or JSONL?
Yes. Call GET /v1/batch/{job_id}/export?format=sqlite or ?format=jsonl (as well as csv, tsv, json, and columnar).