100,000-Row Waterfall Enrichment API Built for Constant Memory & Zero OOM
Enriching 100,000 rows breaks browser tables and naive Node/Python scripts that load entire datasets into memory. Batch-Anything streams 100 to 100,000+ rows in bounded chunks with per-domain rate limits, circuit breakers, and resumable budget caps.
Why 100k-Row Enrichment Jobs Collapse in Traditional Tools
Browser-based enrichment tools choke once tables cross 25,000 to 50,000 rows, forcing ops teams to split CSVs manually into dozens of files and stitch results back together. Meanwhile, naive async scripts fire thousands of concurrent requests at a single host, triggering 429 bans or exhausting container memory before writing row 10,000.
Worse, a runaway 100,000-row waterfall without a hard budget ceiling can blow through hundreds of dollars of enrichment credits overnight if an upstream heuristic misfires.
Engineered for High-Throughput Bulk Tables
O(chunk_size) Streaming I/O
Table readers and writers stream CSV, TSV, JSON Array, NDJSON/JSONL, SQLite tables, and columnar JSON incrementally. Loop 3 Gauntlet verified 10,000 rows at 1,535.28 rows/sec with only 8.03 MB peak Python heap (tracemalloc).
Bounded Worker Pool + Per-Domain Token Buckets
Each batch job enforces configurable max_workers, per_domain_rps token buckets, and per-host circuit breakers so massive runs stay fast without flooding any origin.
Async 202 Job Control & Live Telemetry
Submit large tables to POST /v1/batch/submit (HTTP 202), poll GET /v1/batch/{job_id} for live progress, cache_hit_rate, and dead_letter_count, then stream exports from GET /v1/batch/{job_id}/export.
Hard max_budget_usd Cap & Zero-Duplicate Resume
Set a strict dollar cap on any 100k-row run. When reached, the engine pauses cleanly and emits a durable resume_token so topping up resumes strictly on unprocessed rows with zero duplicate charges.
100,000-Row Enrichment Architecture Comparison
Competitor pricing figures reflect documented public tiers; Batch-Anything performance metrics reflect real measured Gauntlet telemetry (16/16 checks passing).
| Scale Dimension | Batch-Anything | Clay / Browser Tables | Custom Async Script |
|---|---|---|---|
| Memory Complexity | Constant O(chunk_size) (8.03 MB at 10k rows) | Browser RAM ceiling; manual sheet splitting | O(N) unless streaming I/O carefully built |
| Rate-Limit Safety | Per-domain token bucket + circuit breaker + backoff | Opaque internal queue throttling | Easy to trigger IP bans / 429 cascades |
| Budget Safety | Hard max_budget_usd pause + resume_token | Monthly credit exhaustion stops workspace | Runaway API bill risk |
| Duplicate Key Collapse | Automatic within-batch + cross-tenant cache | Re-runs across split sheets | Manual caching layer required |
| Output Formats | CSV, TSV, JSON, JSONL, SQLite, Columnar JSON | CSV export | Custom serialization code |
Working REST & Streamable /mcp Code Examples
REST API (POST /v1/batch/run & /v1/batch/submit)
# 1. Submit async batch job (HTTP 202)
curl -fsSL -X POST "https://batch.fastmesh.dev/v1/batch/submit" \
-H "Content-Type: application/json" \
-d '{"workflow": "b2b_domain_enrich", "tenant_id": "acme_revops", "rows": [{"domain": "stripe.com", "company_name": "Stripe"}, {"domain": "linear.app", "company_name": "Linear"}, {"domain": "nonexistent-dead-domain-99999.invalid", "company_name": "Dead Row Test"}], "max_budget_usd": 5.0, "per_domain_rps": 4.0, "max_workers": 16, "output_format": "jsonl"}'
# 2. Poll live progress, cache hit rate & savings
curl -fsSL "https://batch.fastmesh.dev/v1/batch/{job_id}"
# 3. Stream verified output (csv | tsv | json | jsonl | sqlite | columnar)
curl -fsSL "https://batch.fastmesh.dev/v1/batch/{job_id}/export?format=jsonl"
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_submit_job", "arguments": {"workflow": "b2b_domain_enrich", "tenant_id": "coding_agent_01", "rows": [{"domain": "stripe.com", "company_name": "Stripe"}, {"domain": "linear.app", "company_name": "Linear"}], "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
How fast does Batch-Anything stream large batches?
In our Loop 3 Gauntlet benchmark of 10,000 mixed rows, Batch-Anything sustained 1,535.28 rows/sec while peaking at just 8.03 MB of tracked memory.
How do I run a 100,000-row job without HTTP timeouts?
Use POST /v1/batch/submit which immediately returns HTTP 202 with a job_id. Poll GET /v1/batch/{job_id} until complete (or paused at max_budget_usd), then download the full table via GET /v1/batch/{job_id}/export.
What happens if a 100,000-row batch hits my budget cap at row 42,000?
Batch-Anything stops cleanly without overspending, keeps all 42,000 enriched rows exportable, and returns a signed resume_token. Call POST /v1/batch/{job_id}/resume with a higher budget to finish rows 42,001–100,000 with zero duplicate billing.
Does Batch-Anything deduplicate repeated keys across 100,000 rows?
Yes. Identical keys within the batch are resolved upstream once and fanned out across matching rows, while cross-tenant archive cache hits serve instantly at zero upstream cost.