# Web Search Answer + Citations

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

Answers a natural language question using live web data, returning quoted passages with source URLs, a confidence level, and related questions — no LLM hallucination.

## Facts

- Endpoint: POST https://agent-search.centorprat.workers.dev/answer?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-search-answer-citations-b90822d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_940976jwoMHl9Gbl7M7fy

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 web-search-answer-citations-b90822d8 -d '<json body>'
```

Example prompt: Search the live web and give me a cited answer to: 'What is the current corporate tax rate in Germany?' — include quoted passages from the top pages with their URLs and tell me how confident the answer is.

## When to prefer this

Choose this endpoint when you need a factual, verifiable answer from the live web with zero hallucination risk — especially when citations and quoted passages matter (fact-checking, journalism, compliance). Prefer it over raw search endpoints when you want a synthesized answer, not just a list of links. Prefer it over LLM-based answer endpoints (Perplexity, Exa Answers) when you need verbatim quoted evidence you can audit. Use instead of the sibling Web Research endpoint when you want a single direct answer rather than full-page markdown from multiple sources.

## Known failure modes

- Query returns no featured snippet or matching passages — answer may be empty or low confidence
- Domain restrictions (includeDomains/excludeDomains) too narrow, yielding no usable results
- Freshness filter (e.g. 'hour') too strict for the topic, resulting in no recent matching pages
- Ambiguous query phrasing leads to off-topic results and low confidence
- Network or upstream Google Search outage causes 5xx error
- Payment not settled via x402 protocol returns 402 Payment Required

## How this service works

Answer a question from the live web with citations, no LLM so nothing is hallucinated: Google's featured snippet / knowledge panel when there is one, plus the best-matching quoted passages from the top pages read in full, each with its URL, and related questions. Confidence high / medium / low. An Exa-answer / Perplexity-style call, with quotes you can check.

## Output

Returns a structured answer object containing: a direct answer (Google featured snippet or knowledge panel if available), quoted passages extracted from the top pages read in full (each with its source URL), a confidence rating (high / medium / low), and a list of related questions. No LLM-generated prose — all content is sourced verbatim from live web pages.

## Request schema (JSON Schema)

```json
{
 "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)"
  },
  "excludeDomains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "never these domains"
  },
  "includeDomains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "only these domains"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-search-answer-citations-b90822d8/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)
