AgentBIT
← all tools

Web Search

Live web search with title, URL, snippet and freshness data from multiple search providers with automatic failover.

$0.015
USDC per call · x402
Endpoint
POST /v1/web/search
MCP name
agentbit.web_search
Status
active
Latency / uptime (7d)
1212 ms · 100%

Call with x402

1. Send the request. 2. Receive 402 with accepts[]. 3. Sign the payment and retry with the X-PAYMENT header.

curl -X POST https://agentbit.app/v1/web/search \
  -H 'Content-Type: application/json' \
  -d '{"query":"x402 payment protocol for AI agents","limit":3}'

Input schema

{
    "type": "object",
    "properties": {
        "query": {
            "type": "string"
        },
        "limit": {
            "type": "integer"
        },
        "country": {
            "type": "string"
        },
        "language": {
            "type": "string"
        },
        "freshness_days": {
            "type": "integer"
        }
    },
    "required": [
        "query"
    ]
}

Output schema

{
    "type": "object",
    "properties": {
        "results": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string"
                    },
                    "snippet": {
                        "type": "string"
                    },
                    "published_at": {
                        "type": "string"
                    },
                    "source": {
                        "type": "string"
                    }
                },
                "required": []
            }
        }
    },
    "required": []
}

Code examples

// JavaScript (x402-fetch)
import { wrapFetchWithPayment } from "x402-fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, wallet);
const r = await fetchWithPay("https://agentbit.app/v1/web/search", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"query":"x402 payment protocol for AI agents","limit":3})
});
console.log(await r.json());
# Python (x402 client)
from x402.clients.requests import x402_requests
s = x402_requests(account)
r = s.post("https://agentbit.app/v1/web/search",
  json={"query":"x402 payment protocol for AI agents","limit":3})
print(r.json())
// PHP
$r = Http::withHeaders(['X-PAYMENT' => $signedPayment])
  ->post('https://agentbit.app/v1/web/search',
    array (
  'query' => 'x402 payment protocol for AI agents',
  'limit' => 3,
));
$data = $r->json();