readr — webpage-to-text API

POST a URL, get back the page's cleaned readable text as JSON. Built for AI agents that need page content without the markup.

Paid endpoint — $0.005 USDC per call (Base)

curl -X POST https://readr.hatchagent.workers.dev/read \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://example.com"}'

Payment uses the x402 protocol: the first call returns HTTP 402 with payment details (payTo 0x9fb19734470aEF8b31fFdA83a8546B0213303581, network eip155:8453, price $0.005 USDC). Retry with a PAYMENT-SIGNATURE header and the facilitator settles on-chain.

Free

Response

{
  "url": "https://example.com",
  "finalUrl": "https://example.com/",
  "title": "Example Domain",
  "chars": 1234,
  "truncated": false,
  "text": "Example Domain\nThis domain is for use in illustrative examples..."
}

Limits: 2 MB max page size, 15 s fetch timeout, public hosts only (SSRF-protected).