# AmanChain Web Fetch — Fetch Web Page as Text

> AmanChain Web Fetch — Fetch Web Page as Text is a paid API for AI agents from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai, paid per call via x402, $0.00311/call, status unknown (last checked 2026-09-14).

Fetches any public URL and returns its content as clean, readable plain text, paid per call via x402 in USDC on Base.

## Facts

- Endpoint: POST https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/api/x402/aman-web-fetch
- Price: $0.00311/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-web-fetch-fetch-web-page-as-text-3b0363a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eln-UdvTOsnYW5P8tId0A

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 amanchain-web-fetch-fetch-web-page-as-text-3b0363a8 -d '<json body>'
```

Example prompt: Can you fetch the text content of https://en.wikipedia.org/wiki/Artificial_intelligence and give me a readable plain-text version of the page?

## When to prefer this

Choose this endpoint when you need to retrieve the readable text content of any public web URL without managing a browser, headless Chrome, or API keys. It is ideal for agent workflows that need to read web pages on-the-fly, extract article text, or gather information from public URLs at low cost ($0.006 per call) with no account setup. Prefer it over full browser automation tools when plain text output is sufficient and you don't need JavaScript rendering or structured data parsing.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error
- Requested URL is behind a paywall or CAPTCHA — content may be incomplete or unavailable
- Invalid or malformed URL input — returns validation error
- Target site blocks scraping or returns non-HTML content (e.g. PDF, binary) — text extraction may fail
- Service unavailable or AmanChain node offline — connection error

## How this service works

Fetch Web Page as Text: fetch any public URL as clean readable text Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-web-fetch","request":"<input>"}. No account, no API key.

## Output

Returns the content of the requested public URL as clean, stripped plain text — HTML tags removed, leaving human-readable body content suitable for further processing, summarization, or analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-web-fetch-fetch-web-page-as-text-3b0363a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai](https://www.zero.xyz/host/preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/llms.txt)
