# x402 URL Reader

> x402 URL Reader is a paid API for AI agents from x402-url-reader.netlify.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-17).

Fetches a public webpage and returns its clean, readable text content — billed at $0.02 USDC per call via the x402 protocol, no API key required.

## Facts

- Endpoint: GET https://x402-url-reader.netlify.app/v1/read?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-url-reader-9a1d6373
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aFNfqgoA45Rd3LAvZsBbS

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 x402-url-reader-9a1d6373
```

Example prompt: Fetch the content of https://example.com/blog/ai-trends and give me the clean readable text from that page.

## When to prefer this

Choose this endpoint when you need frictionless, pay-per-call webpage-to-text conversion without setting up API keys or accounts. Ideal for AI agents that occasionally need to read arbitrary public URLs on demand, especially in x402-enabled micropayment workflows where USDC on Base is already available.

## Known failure modes

- Non-public or paywalled URLs may return incomplete or no content
- Invalid or malformed URLs return an error
- Pages requiring JavaScript rendering may yield incomplete text
- Payment failure via x402 protocol results in 402 response blocking the read
- Very large pages may be truncated or time out

## How this service works

Turn any webpage into clean readable text for AI agents. Paid per call in USDC on Base via the x402 protocol (v2, exact scheme). No API keys, no accounts.

## Output

Returns a JSON object containing the cleaned, readable text extracted from the target webpage — HTML tags, navigation, ads, and boilerplate stripped away, leaving the main readable content suitable for AI consumption.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "Public https:// URL to read"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-url-reader-9a1d6373/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-url-reader.netlify.app](https://www.zero.xyz/host/x402-url-reader.netlify.app/llms.txt)
