{"uid":"cap_Buoi3ZLf4IVbfdtJLQ8EG","slug":"web-search-results-via-brave-x402-f1ad848d","name":"Web Search Results via Brave (x402)","description":"Web search API, neural-search request shape (query, numResults, contents.text), pay per request: top 1-20 results with title and URL, and the page text of the top 5 when contents.text is asked for. Brave Search results; no account or API key; failed calls are not charged.","url":"https://agent-data-tools.revmesh2074.workers.dev/v1/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","examples":["x402 payment protocol"],"description":"Search query, at most 400 characters"},"count":{"type":"integer","examples":[10],"description":"Number of results (1-20, default 10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"count":{"type":"number"},"query":{"type":"string"},"terms":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"age":{"type":"string"},"url":{"type":"string"},"title":{"type":"string"},"snippet":{"type":"string"}}}},"provider":{"type":"string"}}}}}}},"responseSchema":null,"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_rTvOqX3h5zBo4cm1-W6Bk","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 web search using Brave Search and returns up to 20 results with titles, URLs, snippets, and optional full page text for the top 5 results.","exampleAgentPrompt":"Search the web for 'open source LLM benchmarks 2024' and give me the top 10 results including titles and URLs.","exampleUseCases":[{"title":"Real-time news research","prompt":"Search the web for the latest news about the US Federal Reserve interest rate decision and give me the top 5 results with page text so I can read the actual articles."},{"title":"Competitor product lookup","prompt":"Look up 'Notion vs Obsidian comparison 2024' on the web and return the top 10 results with their titles and URLs."},{"title":"Technical documentation discovery","prompt":"Search the web for 'Rust async runtime tokio tutorial' and return 15 results including any full page text available for the top ones."}],"resultDescription":"Returns a JSON object containing the search query, matched terms, result count, and an array of result objects each with a URL, title, snippet, and optionally the page age. For the top 5 results (when contents.text is requested), full extracted page text is included. Provider field confirms results came from Brave Search.","failureModes":["Invalid or missing query parameter returns an error and is not charged","Query exceeding 400 characters may be rejected","count outside 1-20 range may return an error or default to 10","Temporary Brave Search outage may cause upstream failure","No results found for highly specific or nonsensical queries"],"whenToPreferThis":"Prefer this endpoint when you need live web search results without setting up an account or API key, and want pay-per-request pricing ($0.01 USDC). It is especially useful when you need page text from top results alongside standard search metadata. Choose this over scraping endpoints when you want ranked search results across many pages rather than a single URL, and over cached datasets when freshness matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T01:38:00.831Z","isFirstParty":false,"canonicalSlug":"web-search-results-via-brave-x402-f1ad848d"}