# readr — Webpage-to-Text API

> readr — Webpage-to-Text API is a paid API for AI agents from readr.hatchagent.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-14).

Fetches a URL and returns its cleaned, readable text as JSON, optimized for AI agent consumption

## Facts

- Endpoint: POST https://readr.hatchagent.workers.dev/read?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/readr-webpage-to-text-api-9b8cbb30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RVKOs-hLWSPIuX3KgBUHs

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 readr-webpage-to-text-api-9b8cbb30 -d '<json body>'
```

Example prompt: Can you fetch the text content from https://example.com/article and give me back the clean readable text from the page?

## When to prefer this

Choose this endpoint when you need clean, readable text from a single URL for AI processing and want a purpose-built, agent-friendly API rather than a general-purpose scraper. Ideal when you need minimal noise (no HTML boilerplate) and are building on the x402 micropayment protocol on Base. Best for one-shot URL-to-text conversions where structured data extraction is not needed.

## Known failure modes

- URL is unreachable or returns a non-200 status — endpoint may return an error or empty content
- Paywalled or login-gated pages may return only partial or gated content
- Pages that are JavaScript-rendered SPAs may not yield full content if JS execution is limited
- Invalid or malformed URL input returns a validation error
- Payment failure via x402 protocol results in 402 response before content is returned

## How this service works

POST a URL, get back the page's cleaned readable text as JSON. Built for AI agents. POST /read costs $0.005 USDC per call on Base via the x402 protocol.

## Output

A JSON object containing the cleaned, readable text extracted from the target webpage — HTML tags, navigation, ads, and other boilerplate removed, leaving the core readable content suitable for AI processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/readr-webpage-to-text-api-9b8cbb30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from readr.hatchagent.workers.dev](https://www.zero.xyz/host/readr.hatchagent.workers.dev/llms.txt)
