{"uid":"cap_t_7dxV20AszIcKY5oAgtB","slug":"batch-web-search-83c0afbd","name":"Batch Web Search","description":"Batch web search: up to 10 queries in one call ($0.004 per query, a third cheaper than single calls), each with its own optional category, country and time filter, run in parallel; the same authority-ranked results as /search. For agents that expand one task into many queries.","url":"https://agent-search.centorprat.workers.dev/batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"private":{"type":"boolean","description":"no logging or caching"},"queries":{"type":"array","items":{"type":["string","object"]},"description":"1-10 strings or {query, category, country, time}"},"numResults":{"type":"integer","description":"per query, 1-10 (default 5)"}}},"responseSchema":{"type":"json","example":{"count":3,"results":[{"query":"x402 protocol","results":[]}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_J3lW6szHEul45LwFvMl-0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs up to 10 parallel web search queries in a single API call at a discounted per-query rate, returning authority-ranked results for each.","exampleAgentPrompt":"Search these 5 topics at once — 'x402 payment protocol', 'AI agent infrastructure 2025', 'Cloudflare Workers pricing', 'web search API comparison', and 'agentic AI market size' — give me 5 results each, all from the last year.","exampleUseCases":[{"title":"Competitive market research sweep","prompt":"I need to research all 8 of our main competitors at once — search for 'Exa search API pricing', 'Tavily search API review', 'Firecrawl alternatives', 'SerpAPI cost', 'Brave Search API', 'You.com API', 'Bing Search API agents', and 'Google Custom Search API' — 5 results each, no caching please."},{"title":"Multi-angle news monitoring","prompt":"Search these 6 queries in parallel for me: 'AI regulation EU 2025', 'OpenAI news today', 'Anthropic funding', 'Google Gemini updates', 'xAI Grok release', and 'LLM benchmark results 2025' — filter to the last month and give me 8 results per query."},{"title":"Geo-targeted product research","prompt":"Run these 4 searches simultaneously, each from a different country — search 'electric vehicle subsidies' from US, UK, Germany, and France — 5 results each, so I can compare the policy landscape across markets."}],"resultDescription":"A JSON object with a count field and a results array. Each element corresponds to one input query and contains the query string and its own results array of authority-ranked web results (URLs, titles, snippets), matching the same format as the single /search endpoint.","failureModes":["More than 10 queries submitted — request rejected","numResults out of range (must be 1-10)","Malformed query object missing required 'query' field","Payment failure via x402 protocol — 402 response returned","Rate limiting if too many concurrent batch calls","Invalid country or category filter values — may return empty results or error"],"whenToPreferThis":"Choose this endpoint when an agent needs to execute multiple distinct web searches as part of a single task expansion — e.g. researching multiple competitors, topics, or keywords in parallel. It is roughly 33% cheaper per query than calling /search individually and runs all queries concurrently, making it ideal for any workflow that would otherwise chain sequential single-search calls. Prefer it over the single search endpoint whenever you have 2 or more queries to run in one agent step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T20:13:33.527Z","isFirstParty":false,"canonicalSlug":"batch-web-search-83c0afbd"}