# WebSearch Batch

> WebSearch Batch is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Execute multiple web search queries in a single paid call and return ranked results for each query

## Facts

- Endpoint: GET https://api.firstmention.uk/s/websearch/searchbatch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/websearch-batch-2a374f70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BQLkuB4_Jokbx7ZdV_OOy

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 websearch-batch-2a374f70
```

Example prompt: Search the web for these three topics at once — 'x402 payment protocol', 'Base blockchain fees', and 'USDC stablecoin use cases' — and give me up to 5 results for each.

## When to prefer this

Choose this endpoint when you need to run multiple distinct web searches in a single round-trip, minimizing latency and cost compared to sequential single-query calls. It is ideal for research agents, monitoring pipelines, and due-diligence workflows that need results across several topics at once. It pays per call via x402/USDC on Base, making it suitable for autonomous agents with on-chain payment capability.

## Known failure modes

- Empty queries array returns no results
- Exceeding allowed query count or limit per query may be capped or rejected
- Network or upstream search provider failure returns ok:false at query or batch level
- Invalid JSON body returns 400-class error
- Insufficient USDC balance or failed x402 payment prevents execution

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with a top-level 'ok' boolean, a 'batch' flag, 'per_query_limit' (how many results per query were requested), 'queries_requested' count, and a 'results' array. Each element in results contains the original query string, an 'ok' status, a 'count' of results found, and a 'results' array of web search result objects for that query.

## Request schema (JSON Schema)

```json
{
 "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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "count": {
       "type": "number"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "snippet": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "batch": true,
  "results": [
   {
    "ok": true,
    "count": 5,
    "query": "x402 payments",
    "results": []
   }
  ],
  "per_query_limit": 5,
  "queries_requested": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/websearch-batch-2a374f70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
