{"uid":"cap_pPaFlPFJ96mJtWiuzMoYT","slug":"call402-com-brave-web-search-50a3e0f3","name":"call402.com Brave Web Search","description":"USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.","url":"https://call402.com/api/search-brave?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Natural-language search query"},"num_results":{"type":"integer","description":"Results to return, 1-10 (default 5)"}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["query","results","meta"],"properties":{"meta":{"type":"object","description":"source, results_count"},"query":{"type":"string"},"results":{"type":"array","description":"Ranked results: title, url, description, age"}}},"example":{"meta":{"source":"brave","results_count":1},"query":"latest Base ecosystem news","results":[{"age":"2 days ago","url":"https://example.com","title":"Example result","description":"Snippet describing the page."}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jwhMdoXzqIgxZdinW6QA7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a Brave-powered web search and returns ranked results, paid per-call with USDC via the x402 protocol on Base mainnet.","exampleAgentPrompt":"Search the web for 'latest Base ecosystem news' and give me the top 5 results with titles, URLs, and descriptions.","exampleUseCases":[{"title":"Real-time news lookup for agents","prompt":"Search the web for 'Coinbase Layer 2 Base network updates 2025' and return the top 5 results with titles and snippets."},{"title":"Competitive research during task","prompt":"Find me the top 3 web results for 'best onchain AI agent frameworks comparison' — I want the URLs and a short description of each."},{"title":"Fact-checking a claim","prompt":"Search the web for 'is Ethereum proof of stake confirmed' and show me up to 7 results with their age so I can see how recent they are."}],"resultDescription":"A JSON object containing the original query string, an array of ranked results (each with title, URL, description snippet, and age), and a meta object indicating the source (Brave) and total results count returned.","failureModes":["Payment not sent — server returns HTTP 402 with payment requirements before serving results","Invalid num_results value outside 1-10 range may cause validation error","Empty or malformed query string returns no useful results","Network or upstream Brave Search outage causes 5xx error","Insufficient USDC balance causes payment failure and no response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs live web search results with per-call micropayment billing via USDC on Base, without committing to a subscription. Ideal for autonomous agents that run infrequently or need to pay only for what they use, and when Brave Search's privacy-respecting index is preferred over Google or Bing-backed alternatives.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:40:08.997Z","isFirstParty":false,"canonicalSlug":"call402-com-brave-web-search-50a3e0f3"}