# FirstMention WebSearch BriefBatch

> FirstMention WebSearch BriefBatch 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-25).

Search the web across HackerNews, GitHub, Wikipedia, and StackExchange and return ranked brief results with snippets, paid per-call via x402 USDC on Base.

## Facts

- Endpoint: POST https://api.firstmention.uk/s/websearch/briefbatch?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/firstmention-websearch-briefbatch-59057fed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ScTKnErIIrm9nl8Ci8a9F

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 firstmention-websearch-briefbatch-59057fed -d '<json body>'
```

Example prompt: Search for 'x402 payments protocol' across GitHub and HackerNews and give me up to 5 results in JSON format.

## When to prefer this

Choose this endpoint when you need fast, multi-source open-web search results (HackerNews, GitHub, Wikipedia, StackExchange) with relevance scoring and snippets, especially in agent workflows that pay per-call via x402 USDC on Base and want to avoid Google API dependencies. Prefer it over general web scrapers when you need structured ranked results from developer-oriented sources.

## Known failure modes

- Missing required query parameter 'q' returns validation error
- limit out of range (must be 1-20) returns schema error
- Invalid source value in sources filter returns error
- No results found for obscure query returns ok:true with empty results array
- Payment failure via x402 returns 402 status before search executes

## 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

A JSON (or markdown) object containing ok status, the original query string, result count, and an array of results each with URL, title, source (hn/github/wiki/se), a text snippet, and a relevance score between 0 and 1.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "queries": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "batch": true,
  "results": [
   {
    "ok": true,
    "query": "x402 payments",
    "results": []
   }
  ],
  "queries_requested": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/firstmention-websearch-briefbatch-59057fed/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)
