Why Standard HTTP 200 Checks Break Autonomous Data Pipelines
Commercial search and scraping endpoints routinely return HTTP 200 OK containing Cloudflare Turnstile HTML, "Access Denied" templates, login redirects, or empty JSON lists ({"results": []}). Naive gateways bill the caller and store the broken payload in cache for weeks. DataFuel runs detect_fake_200 and is_empty_payload on every upstream response before settlement.
| Upstream Outcome Class | HTTP Code | Cache Write | Waterfall Action | Caller Charge (micro-USD) |
|---|---|---|---|---|
| Verified non-empty payload | 200 | Write (7d–30d TTL) | Return normalized result | 5,000u–12,000u (family rate) |
| Verified cross-tenant cache hit | 200 (cache) | Reuse (0 upstream) | Skip upstream invocation | 100% base (0 upstream credits) |
| Verified same-tenant repeat hit | 200 (cache) | Reuse (0 upstream) | Skip upstream invocation | 10% base (90% discount) |
| Fake-200 WAF / CAPTCHA HTML shell | 200 (rejected) | Never cached | Park & failover to next provider | 0u ($0.00) if all fail |
| Empty list / blank markdown body | 200 (rejected) | Never cached | Failover to next provider | 0u ($0.00) if all fail |
| SSRF private/metadata URL probe | 422 | Never cached | Block immediately pre-egress | 0u ($0.00) |
Family Waterfall Failover Order (All 5 Capability Families)
| Capability Family | Primary Provider | Failover Sequence | Cache TTL Window |
|---|---|---|---|
web_search | tavily | tavily → exa → serper → brave_search | 7d–14d |
clean_scrape | jina | jina → firecrawl → apify_free → browserless | 7d–21d |
domain_enrichment | brandfetch | brandfetch → abstractapi → hunter | 14d–30d |
network_geo_whois | ipinfo | ipinfo → rdap_bootstrap → ipgeolocation → whoisxml | 14d–30d |
serverless_infra | upstash | upstash → neon → resend | 7d–30d |
Frequently Asked Questions
- Can a fake-200 challenge page ever poison DataFuel's cross-tenant archive cache?
- No. ArchiveCache.record_result is invoked only after detect_fake_200, empty-envelope checks, and CAPTCHA detectors all pass.
- What is billed when every provider in a waterfall fails or parks?
- The ledger settles strictly at billed_micros = 0 ($0.00) and returns full redacted waterfall trace metadata.