# Web Answer with AI Citations from Live Search

> Web Answer with AI Citations from Live Search 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-26).

Answers a natural-language question by performing a live Brave web search, reading top result pages, and generating a cited answer using Llama 4 Scout

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/ai/answer?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-web-answer-with-ai-citations-c7f378ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8OZ9E2lLQxQ-ffi17Wl_b

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 agent-data-tools-revmesh2074-workers-dev-web-answer-with-ai-citations-c7f378ec
```

Example prompt: What are the current interest rates set by the Federal Reserve, and have they changed recently? I need a sourced answer with links to where you found that information.

## When to prefer this

Choose this endpoint when an agent needs a current, grounded answer to a factual question — especially for topics that change frequently (news, prices, regulations, product releases) — and when inline citations and source URLs are required to substantiate the answer. Prefer this over raw search-result endpoints when the agent needs a synthesized, readable answer rather than a list of URLs to process further. Prefer over generic LLM text generation when the answer must be grounded in live web sources rather than training data. Avoid when the user only needs raw search results, when storing or reusing results downstream, or when the question is purely mathematical or logical with no web-lookup need.

## Known failure modes

- Question exceeds 400 characters — request rejected
- Live search returns no relevant pages — answer states sources don't cover the question
- Brave search API unavailable — upstream error propagated
- Source pages are paywalled or unreadable — answer may be incomplete
- Ambiguous or too-broad question — answer may be vague or partial
- Network timeout on page reads — some sources may be skipped

## How this service works

Web answer, AI with citations. Answer a question from the live web in one call: a Brave web search, the top result pages read, and an answer written by Llama 4 Scout from those sources only, with inline [n] citations and the source list (title, URL). Says so when the sources do not answer it. Results are for the caller's immediate use only: no storing, resale or model training (Brave API terms). Use when an agent needs a current, sourced answer rather than raw search results.

## Output

A JSON object containing the AI-generated answer text with inline [n] citation markers, an array of numbered sources each with a title and URL, the original question echoed back, the model name used (Llama 4 Scout), and a terms field summarizing usage restrictions. If the retrieved sources do not contain enough information to answer the question, the answer field explicitly says so.

## 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"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/meta/llama-4-scout-17b-16e-instruct",
  "terms": "Results are for the caller's immediate use…",
  "answer": "x402 is an open protocol that lets an HTTP server charge for a request: it answers 402 Payment Required with the price, and the client pays in stablecoins and retries [1][2].",
  "sources": [
   {
    "n": 1,
    "url": "https://www.x402.org/",
    "title": "x402: an open payment protocol"
   }
  ],
  "question": "What is the x402 payment protocol?"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-web-answer-with-ai-citations-c7f378ec/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)
