{"uid":"cap_4LjxYI2oBW9RJ_xX_KYbz","slug":"x402-web-search-api-5149473a","name":"x402 Web Search API","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/web-search?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","example":{"meta":{"source":"exa","request_id":null,"results_count":1},"query":"latest Base ecosystem news","results":[{"url":"https://example.com","score":0.9,"title":"Example result","highlights":["Key passage from the page."],"published_date":"2026-10-01"}]}},"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_qPn3dXCyaX3xCEH8nRpEi","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 live web search query and returns ranked results with titles, URLs, highlights, and publication dates, paid per-call via USDC on Base mainnet.","exampleAgentPrompt":"Search the web for the latest Base ecosystem news and give me the top 5 results, including titles and key highlights from each page.","exampleUseCases":[{"title":"Real-time crypto ecosystem research","prompt":"Search the web for the latest announcements from the Base blockchain ecosystem this week and return the top 5 results with highlights."},{"title":"Competitive intelligence gathering","prompt":"Find the most recent news articles about OpenAI's new product launches — give me the top 3 results with titles, URLs, and the key passage from each page."},{"title":"Fact-checking a recent claim","prompt":"Search the web for information about whether the EU passed new AI regulations in 2025 and return up to 8 results so I can verify what's been published."}],"resultDescription":"A JSON object containing a meta block (source attribution, request ID, result count) and an array of result objects, each with a URL, relevance score, title, array of highlight passages extracted from the page, and a published date.","failureModes":["Payment not included — returns HTTP 402 with payment requirements; agent must pay via x402 client and retry with PAYMENT-SIGNATURE header","Query string missing — returns 400 bad request","num_results out of range (must be 1-10) — returns 400 validation error","No results found for obscure or malformed query — returns empty results array","Upstream Exa provider timeout or outage — returns 502 or 503 error","Insufficient USDC balance for payment — transaction fails before request is processed"],"whenToPreferThis":"Choose this endpoint when an AI agent needs live, up-to-date web search results and can pay per-call in USDC via the x402 protocol on Base mainnet. It is ideal for agents that need real-time information retrieval without a monthly subscription, or for workflows that require pay-as-you-go access. The Exa backend provides semantic relevance scoring and highlight extraction, making it preferable over raw search APIs when context snippets and publication dates matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:30:04.265Z","isFirstParty":false,"canonicalSlug":"x402-web-search-api-5149473a"}