{"uid":"cap_2a2nEFMGsVVT6hdBqa3xs","slug":"x402-web-search-b8138f81","name":"x402 Web Search","description":"Real-time web search (via Exa) — ranked results with title, URL, published date, author, and relevance score for a query","url":"https://x402tap.com/api/web-search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Search query"},"numResults":{"type":"integer","description":"Number of results to return (1-10, default 5)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"query":"Base blockchain","results":[{"url":"https://en.wikipedia.org/wiki/Base_(blockchain)","score":0.87,"title":"Base (blockchain) - Wikipedia","author":null,"publishedDate":"2023-08-09"}],"autopromptString":null}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Inq-uXH3vSPpWLLT-ZckI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Real-time web search returning ranked results with title, URL, published date, author, and relevance score for a query, powered by Exa","exampleAgentPrompt":"Search the web for the latest developments in Base blockchain and give me the top 5 results with titles, URLs, and publication dates.","exampleUseCases":[{"title":"Research assistant for current events","prompt":"Search the web for recent news about the SEC's stance on Ethereum ETFs and give me the top 5 results with dates and relevance scores."},{"title":"Fact-checking with live sources","prompt":"Find me the most relevant web pages about GPT-4o's capabilities — I need ranked results with publication dates so I can verify recent claims."},{"title":"Competitive intelligence gathering","prompt":"Search the web for Coinbase's latest product announcements in 2024 and return up to 8 results with titles and URLs so I can review them."}],"resultDescription":"A JSON object containing the original query, an array of up to 10 ranked results (each with URL, title, relevance score 0–1, published date, and author when available), and an optional autoprompt string. Results are ordered by relevance score descending.","failureModes":["Missing required 'q' parameter returns a 400 error","numResults outside 1–10 range may be clamped or rejected","Queries for very niche or non-indexed content may return low-relevance or zero results","Payment failure (insufficient USDC balance) returns a 402 error","Network timeouts from the upstream Exa provider may cause 503 errors"],"whenToPreferThis":"Choose this endpoint when you need real-time, ranked web search results with publication metadata (date, author, score) rather than cached or static data. It is preferable to a generic search API when relevance scoring and freshness signals matter — for example, when researching recent events, verifying claims with dated sources, or building an agent that needs to cite authoritative URLs. Its pay-per-call x402 pricing model ($0.003 USDC) makes it cost-effective for sporadic or on-demand searches without subscription commitments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:39:48.773Z","isFirstParty":false,"canonicalSlug":"x402-web-search-b8138f81"}