web_search · 6 SERP Upstreams · CAPTCHA Quarantine · 7d-21d TTL

Web Search & SERP Grounding Failover Pool (web_search)

Live web grounding breaks constantly due to tight free-tier search quotas (100-500 RPD) and sudden SERP anti-bot challenges. FuelRouter's web_search pool orchestrates 6 search providers with automatic CAPTCHA soft-ban failover and 7d-21d cross-tenant archive caching.

web_search Upstream Pool Candidates & Quota Windows

Upstream IDDomain IDCost TierUnit CostBase WeightExpected p95Quota (RPM/RPD/Mo)
search_tavily_freeapp.tavily.comfree_tier_0$0.000.95980 ms30 / 100 / 1000
search_valyu_freeplatform.valyu.aifree_tier_0$0.000.911350 ms20 / 200 / 2000
search_serper_t10_slotserper.devfree_tier_0$0.000.92820 ms50 / 500 / 2500
search_apify_free_creditsconsole.apify.comlow_cost_wholesale$0.000800.892100 ms30 / 1000 / 10000
search_monid_wholesaleapp.monid.ailow_cost_wholesale$0.001000.921450 ms60 / 5000 / 150000
search_treg_wholesaletreg.tostandard_fallback$0.001500.961150 ms120 / 10000 / 300000

Protecting Grounding Agents from Silent Empty SERP Pages

Search endpoints frequently throttle bursts by returning HTTP 200 with an empty results array, a Turnstile verification interstitial, or a JSON quota_exceeded message. FuelRouter requires application/json >= 32 bytes with a non-empty results field before accepting any SERP payload.

When a provider triggers a CAPTCHA challenge, FuelRouter immediately classifies the response as fake_200_captcha_soft_ban, applies a 0.50 health penalty, never attempts bypass, and completes the search via the next eligible provider.

Balanced 7-Day to 21-Day Adaptive Cache Window

Search results evolve faster than embeddings or firmographics. FuelRouter caps web_search adaptive TTL at 21 days (1,814,400s) with a 7-day (604,800s) default, while allowing time-sensitive news agents to pass force_refresh: true for guaranteed live retrieval.

Callers can pass query, max_results, topic, region, include_domains, and exclude_domains, all canonically hashed into the cache key.

Execute a Domain-Filtered Grounding Search with $0 Exhaustion Protection

curl -fsSL -X POST "https://fuelrouter.fastmesh.dev/v1/router/dispatch" \
  -H "Content-Type: application/json" \
  -d '{
    "pool_id": "web_search",
    "tenant_id": "research_agent",
    "inputs": {
      "query": "SQLite WAL concurrent readers writers",
      "max_results": 8,
      "include_domains": ["sqlite.org"]
    },
    "max_cost_micros": 40000,
    "force_refresh": false
  }'

Web Grounding Failover Guidelines

Frequently Asked Technical Questions

How much does a verified web_search call cost?

Fresh hits and new-tenant cache hits bill 8,000 micros ($0.008); same-tenant repeat cache hits bill 800 micros ($0.0008); total exhaustion bills $0.00.

Why does web_search cap adaptive cache TTL at 21 days instead of 30 days?

Search engine rankings shift more frequently than vector embeddings or DNS metadata, so a 7d-21d bound balances freshness with high repeat margin.

What inputs are accepted by the web_search pool?

The pool accepts query, max_results, topic, region, include_domains, and exclude_domains.

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