Bulk Enrichment Workflows · Verified-Row Billing ($0 on Empty)

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.

Try Live in 5 Seconds (No Signup) Connect AI Agent via /mcp Browse All 24 Guides
1,535.28 rows/s
Measured 10,000-row streaming throughput (Gauntlet)
8.03 MB
Peak Python heap at 10k rows (tracemalloc constant RAM)
$0.00
Billed on empty, invalid, 404 & fake-200 rows (30% dirty test)
10% / 100.0%
Same-tenant repeat fee / Cross-tenant cache gross margin

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 RequirementBatch-Anything (sku_openfoodfacts_enrich)Ad-Hoc Python LoopCommercial Product Data SaaS
Polite Upstream Rate LimitingBuilt-in per-domain token bucket + backoffEasy to violate OpenFoodFacts rate limitsOpaque upstream caching
Duplicate SKU CollapseAutomatic within-batch + cross-tenant cacheRe-fetches identical SKUs repeatedlyOften billed per uploaded row
Unknown / Private-Label SKU Charge$0.00 billed + dead_letter_rows exportManual missing-row bookkeepingPer-query fee still charged
Format SupportCSV, TSV, JSON, JSONL, SQLite, ColumnarCustom parser per file typeRestricted CSV template
Hard Budget Guardmax_budget_usd pause + resume_tokenNoneMonthly 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

Zero-Empty $0 Billing Guarantee: Every empty cell, invalid key, DNS failure, HTTP 4xx/5xx error, soft-404, login wall, and challenge page is billed strictly $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.
ZERO SUBSCRIPTION

Starter Pack

$19

$19 credit (19M micros · 6,333 B2B domains / 12,666 URL checks) · Never expires · 0 seat fees

Get Starter Pack
MOST POPULAR · +13.9% BONUS

Growth Pack

$79

$90 credit (90M micros · 30,000 B2B domains / 60,000 URL checks) · Never expires · 0 seat fees

Get Growth Pack
BEST VOLUME · +30.5% BONUS

Scale Pack

$249

$325 credit (325M micros · 108,333 B2B domains / 216,666 URL checks) · Never expires · 0 seat fees

Get Scale Pack

Frequently 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).

Related Enrichment Guides