{"openapi":"3.1.0","info":{"title":"readr — webpage-to-text API","version":"1.1.0","description":"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."},"servers":[{"url":"https://readr.hatchagent.workers.dev"}],"paths":{"/read":{"post":{"summary":"Extract clean text from a web page","x-payment-info":{"scheme":"exact","network":"eip155:8453","price":"$0.005","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x9fb19734470aEF8b31fFdA83a8546B0213303581"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}}}}},"responses":{"200":{"description":"Cleaned page text."},"402":{"description":"Payment required — see PAYMENT-REQUIRED header."}}}},"/demo":{"get":{"summary":"Free sample extraction (first 600 characters)","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Truncated sample."}}}},"/health":{"get":{"summary":"Health check","responses":{"200":{"description":"OK."}}}}}}