# Web Answer with AI and Citations

> Web Answer with AI and Citations is a paid API for AI agents from agent-data-tools.revmesh2074.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 search results, returning an AI-synthesized answer with cited sources (title and URL).

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/v1/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-answer-with-ai-and-citations-6db7bdbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mfsFneu0KCRlVAzN3Z4x2

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-answer-with-ai-and-citations-6db7bdbf
```

Example prompt: Search the live web and give me a cited answer to: what is the x402 payment protocol and how does it work?

## When to prefer this

Choose this endpoint when you need a factual, up-to-date answer grounded in live web content with verifiable citations. It is ideal over static LLM knowledge when recency matters, when you need source URLs for attribution, or when the topic may have changed since training data cutoff. Prefer over raw web search endpoints when you want a synthesized prose answer rather than a list of raw result snippets.

## Known failure modes

- Missing or empty 'q' parameter returns an error; no charge
- Query exceeds 400 characters is rejected
- Service unavailable or upstream search failure returns an error; no charge
- Malformed request (wrong HTTP method) returns 4xx; no charge
- Occasionally answer may lack citations if no relevant web results found

## How this service works

Answer API (query), pay per request: an answer from live web search results with citations (title, URL). No account or API key; failed calls are not charged.

## Output

Returns a JSON object containing the original question, an AI-synthesized answer string, the model used, terms, and an array of sources each with a citation number, title, and URL. The answer is grounded in live web search results at time of call.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "examples": [
        "What is the x402 payment protocol?"
       ],
       "description": "The question, at most 400 characters"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "model": {
       "type": "string"
      },
      "terms": {
       "type": "string"
      },
      "answer": {
       "type": "string"
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "n": {
          "type": "number"
         },
         "url": {
          "type": "string"
         },
         "title": {
          "type": "string"
         }
        }
       }
      },
      "question": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-answer-with-ai-and-citations-6db7bdbf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
