# Batch Web Search

> Batch Web Search is a paid API for AI agents from agent-search.centorprat.workers.dev, paid per call via x402, $0.04/call, status unknown (last checked 2026-10-29).

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.

## Facts

- Endpoint: POST https://agent-search.centorprat.workers.dev/batch?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/batch-web-search-83c0afbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t_7dxV20AszIcKY5oAgtB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability batch-web-search-83c0afbd -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "results": [
   {
    "query": "x402 protocol",
    "results": []
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/batch-web-search-83c0afbd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-search.centorprat.workers.dev](https://www.zero.xyz/host/agent-search.centorprat.workers.dev/llms.txt)
