# AmanChain Web Fetch

> AmanChain Web Fetch is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, 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 via a pay-per-call x402/USDC micropayment

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/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-2f64b44e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CZpO8d_uDOm6Lp7dYFguA

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-2f64b44e -d '<json body>'
```

Example prompt: Can you fetch the full readable text content from https://example.com/article and give me what's on the page?

## When to prefer this

Choose this endpoint when you need to retrieve the plain-text content of any public URL without setting up an API key or account, and when pay-per-call micropayment via USDC on Base is acceptable. It is ideal for one-off web fetches inside agent workflows where simplicity and no-registration access matter more than high-volume throughput.

## Known failure modes

- URL is not publicly accessible or returns a non-200 HTTP status
- Target page is behind a login wall or CAPTCHA
- Content is dynamically rendered via JavaScript and not accessible as static HTML
- Invalid or malformed URL provided in the request field
- Payment not settled correctly via x402/USDC, blocking execution
- Rate limiting or timeout from the target server

## How this service works

Web page fetcher and scraper — fetch any public URL and get clean readable text with HTML stripped; web reader and scraping API for agents. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-web-fetch","request":"<input>"}.

## Output

Returns the content of the requested public webpage as clean, human-readable plain text, stripping HTML markup and other non-text elements so the agent can directly process or display the page content.

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-web-fetch-2f64b44e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
