treg_web_search $0.001 per call
web.search — routed: best of 20 providers, own keys first. Search the open web — provider-native result rows in `results` (Multi-provider (routed) · Open web & SEO data)
For AI agents: call treg_web_search
POST https://toll402.dev/v1/p/treg.web.search
{
"q": "…"
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "identity"
},
"limit": {
"type": "integer",
"description": "filter; default 10; maximum results, where the provider accepts one"
}
},
"additionalProperties": true,
"description": "Send what you know; treg sends each provider only the fields it accepts ({q}). On a miss it tries the next provider, cheapest first. Options are X-Treg-Route-* headers, never body fields. The answer is {output, raw, _treg}; X-Treg-Served-By names the provider."
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}