Clean Scrape & Markdown Extraction Failover Pool (clean_scrape_extract)
Scraping production web pages is notoriously brittle: static extractors choke on JavaScript SPAs, browser farms trip Cloudflare interstitials, and naive scrapers bill for empty HTML shells. FuelRouter's clean_scrape_extract pool combines 4 free-tier extractors and 2 wholesale fallbacks behind strict SSRF and Anti-Fake-200 gates.
clean_scrape_extract Upstream Candidates & Rendering Modes
| Upstream ID | Domain ID | Cost Tier | Unit Cost | Base Weight | Expected p95 | Quota (RPM/RPD/Mo) |
|---|---|---|---|---|---|---|
| scrape_firecrawl_free | www.firecrawl.dev | free_tier_0 | $0.00 | 0.95 | 1850 ms | 20 / 100 / 500 |
| scrape_jina_reader_t10_slot | r.jina.ai | free_tier_0 | $0.00 | 0.92 | 1400 ms | 20 / 1000 / 20000 |
| scrape_browserbase_free | www.browserbase.com | free_tier_0 | $0.00 | 0.90 | 2900 ms | 15 / 120 / 1000 |
| scrape_browser_use_free | cloud.browser-use.com | free_tier_0 | $0.00 | 0.88 | 3100 ms | 15 / 100 / 1000 |
| scrape_apify_lowcost | console.apify.com | low_cost_wholesale | $0.00150 | 0.91 | 3200 ms | 30 / 1000 / 10000 |
| scrape_treg_wholesale | treg.to | standard_fallback | $0.00220 | 0.95 | 2400 ms | 120 / 10000 / 300000 |
Fast Static Readers First, Headless JS Renderers on Failover
FuelRouter starts with fast markdown extractors (scrape_firecrawl_free at 1,850 ms p95 and scrape_jina_reader_t10_slot at 1,400 ms p95). If a target page returns an unhydrated SPA shell (<div id="root"></div> or <div id="__next"></div>), the Anti-Fake-200 gate rejects it immediately and fails over to JS-rendered extraction upstreams (scrape_browserbase_free and scrape_browser_use_free).
Every verified payload must be application/json >= 48 bytes containing a non-empty markdown field, ensuring LLM context windows never receive empty boilerplate or login screens.
Pre-Dispatch SSRF Guard on Every Target URL
Because clean_scrape_extract accepts caller-supplied URLs, every request passes through FuelRouter's SSRF validator before touching any upstream. Requests targeting file://, ftp://, gopher://, localhost, 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.169.254, ::1, or .internal domains fail immediately with HTTP 422 ssrf_blocked and $0 charge.
Verified extractions are cached across tenants for 7d (604,800s) to 21d (1,814,400s), saving $0.0015-$0.0022 wholesale scraping fees on repeat URL fetches.
Extract Clean Markdown with Automatic SPA-Shell Failover
curl -fsSL -X POST "https://fuelrouter.fastmesh.dev/v1/router/dispatch" \
-H "Content-Type: application/json" \
-d '{
"pool_id": "clean_scrape_extract",
"tenant_id": "docs_ingester",
"inputs": {
"url": "https://example.com/pricing",
"format": "markdown",
"only_main_content": true
},
"max_cost_micros": 60000
}'
Safe URL Extraction Operating Checklist
- Always supply public http:// or https:// URLs; private IPs and cloud metadata hosts return unbilled HTTP 422.
- Keep only_main_content: true to strip navigation chrome and reduce downstream token consumption.
- Never retry CAPTCHA-blocked targets with bypass plugins—FuelRouter quarantines soft-banned extractors cleanly.
- Use force_refresh: true when auditing live pricing pages after a known vendor update.
Frequently Asked Technical Questions
What happens when a static scraper returns an empty React root div?
The Anti-Fake-200 scanner catches <div id="root"></div> as fake_200_empty_shell and fails over to JS-rendered upstreams automatically.
How much does clean_scrape_extract charge on a verified markdown hit?
12,000 micros ($0.012) on fresh or new-tenant hits, 1,200 micros ($0.0012) on same-tenant repeat cache hits, and $0.00 on exhaustion or SSRF rejection.
What minimum payload size is enforced for clean_scrape_extract?
Payloads must be valid JSON of at least 48 bytes with a populated markdown key.
Live Try-Now Console & Machine Discovery
Test failover routing, dry-run quotes, and circuit breaker metrics on the live gateway or connect via JSON-RPC 2.0 MCP.
Related FuelRouter Architecture Guides
- B2B Firmographic, Domain & DNS Enrichment Waterfall Pool — B2B firmographic domain DNS enrichment failover pool
- 3-State Circuit Breaker Mechanics & Exponential Backoff Recovery — three-state circuit breaker CLOSED OPEN HALF_OPEN recovery
- Cloudflare & CAPTCHA Soft-Ban Failover Without Anti-Bot Bypass — Cloudflare Turnstile CAPTCHA soft-ban API failover without bypass