# Animica Web Ask — URL Question Answering API

> Animica Web Ask — URL Question Answering API is a paid API for AI agents from animica.dev, paid per call via x402, $0.00287/call, status unknown (last checked 2026-09-14).

Fetches a public web page, extracts relevant passages, and answers a natural language question about its content using an AI model

## Facts

- Endpoint: POST https://animica.dev/x402/web/ask
- Price: $0.00287/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-web-ask-url-question-answering-api-6c604705
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oDLEDeNPysPAh6_AxPrQ2

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 animica-web-ask-url-question-answering-api-6c604705 -d '<json body>'
```

Example prompt: Go to https://animica.dev/docs and tell me what the ANM token earning model is for developers — pull the top 4 most relevant passages to ground your answer.

## When to prefer this

Choose this endpoint when you need to answer a specific natural language question grounded in the live content of a known public URL, with cited passage evidence. It is preferable to generic web search when you already have the URL and want accurate, source-grounded answers rather than a list of links. It is better than raw scraping when you need the answer extracted and synthesized, not just raw HTML. Ideal for documentation lookup, article fact-checking, and product page interrogation.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — fetch fails and no passages are returned
- Page is behind a login or paywall — content extraction returns empty or incomplete results
- URL is malformed or not an absolute http/https URL — validation error returned
- Page content is very long and chunking may miss relevant sections — answer may be incomplete
- Question is ambiguous relative to page content — grounded flag may be false and answer uncertain
- Rate limiting or payment failure via x402 — request rejected before processing

## How this service works

Give a URL and a question; get an answer grounded in that page, WITH the passages the answer was drawn from. We fetch the page, chunk it, embed the chunks and your question, retrieve the closest 4 passages and answer from those only. Nothing is stored — it is a one-shot pipeline, not an index. The retrieved passages come back with the answer so you can check it rather than trust it, and when nothing on the page is relevant the product says so instead of letting the model improvise. Reaches the public internet only, with the same SSRF protections as the fetch product.

## Output

A JSON object containing: a natural language answer to the question, a 'grounded' boolean indicating whether the answer is supported by page content, an array of up to top_k passage objects (each with text, relevance score, and index), page metadata (URL, final URL after redirects, title, character count), the model name used, total chunk count, and token usage statistics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "absolute http(s) URL of a public page"
  },
  "top_k": {
   "type": "integer",
   "description": "passages to retrieve (default 4)"
  },
  "question": {
   "type": "string",
   "description": "what you want to know about that page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-web-ask-url-question-answering-api-6c604705/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from animica.dev](https://www.zero.xyz/host/animica.dev/llms.txt)
