{"uid":"cap_nGuxbbYlw-JaV3VNxSPoa","slug":"web-search-for-ai-agents-6876420e","name":"Web Search for AI Agents","description":"Web search API for AI agents, an Exa / Tavily alternative that costs less than both: Google-quality results re-ranked for authority (primary sources first), merged with papers (arXiv, Semantic Scholar), GitHub and news when the query needs them. Category (news, research paper, github, financial, company, pdf, docs), include/exclude domains, country, language, city, freshness, private mode. Each result: domain authority rank and type. ~1.7 s.","url":"https://agent-search.centorprat.workers.dev/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"time":{"type":"string","description":"freshness: hour, day, week, month or year (optional)"},"query":{"type":"string","description":"What to search for"},"country":{"type":"string","description":"2-letter country the results are for: us, gb, de, es, fr, in, br, ... (default us)"},"private":{"type":"boolean","description":"true = the query is not logged or cached (default false)"},"category":{"type":"string","description":"news | research paper | github | financial | company | pdf | docs"},"language":{"type":"string","description":"result language, e.g. en, es, de"},"location":{"type":"string","description":"city or region, e.g. Austin, Texas"},"numResults":{"type":"integer","description":"1-10 (default 10)"},"excludeDomains":{"type":"array","items":{"type":"string"},"description":"never these domains"},"includeDomains":{"type":"array","items":{"type":"string"},"description":"only these domains"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F8b_rdZETmeU6xe1u6q3I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a single web search query with Google-quality results re-ranked for authority, optionally merged with academic papers, GitHub repos, and news, returning ranked results with domain authority and type metadata.","exampleAgentPrompt":"Search the web for the latest research on large language model reasoning benchmarks — prioritize research papers, limit to 5 results, and only include sources from arxiv.org and semanticscholar.org published in the past month.","exampleUseCases":[{"title":"Real-time competitive intelligence gathering","prompt":"Search the web for recent news about OpenAI's product launches in the past week — I want authoritative sources only, 10 results, category 'news', for a US audience."},{"title":"Academic literature review on a topic","prompt":"Find me the top 5 research papers on transformer attention mechanisms published recently — use the 'research paper' category and focus on arXiv and Semantic Scholar sources."},{"title":"Localized market research by country","prompt":"Search for the top electric vehicle manufacturers and their market share in Germany — set the country to 'de', language to 'de', and give me 8 results from the past month."}],"resultDescription":"A ranked list of up to 10 web results, each with a URL, title, snippet, domain authority rank, and result type (e.g. news, research paper, github, company). Results are re-ranked for authority with primary sources first, and may include academic papers from arXiv/Semantic Scholar, GitHub repos, and news articles depending on the query.","failureModes":["Query returns zero results if includeDomains filter is too restrictive","Invalid category value causes request failure","Unsupported country or language code may return unexpected results or error","Private mode may reduce result freshness or personalization","numResults outside 1-10 range may cause validation error","Rate limiting or payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a single, focused web search with fine-grained control over result type (news, research paper, GitHub, financial, company, PDF, docs), domain filtering, country/language/city targeting, and freshness. It is cheaper than Exa or Tavily at $0.006/call, returns domain authority signals useful for source evaluation, and automatically surfaces academic papers and GitHub repos when relevant. Prefer it over the batch endpoint for single queries, over the Web Research endpoint when you don't need full page contents, and over the monitor endpoint when you don't need change-tracking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:03.277Z","isFirstParty":false,"canonicalSlug":"web-search-for-ai-agents-6876420e"}