AgentReader

Any URL, JavaScript app or PDF to clean Markdown or structured JSON, built for AI agents.

RESTMCPx402 · USDC on Baseno signup

Clean output
Readability extraction, Markdown with tables, absolute links. Title, author and date from metadata.
JS pages and PDFs
Falls back to headless Chromium automatically. PDFs give you title, text, and simple tables.
Agent-native payments
HTTP 402 with x402 requirements. Agents pay in USDC and retry, no accounts needed.

Quick start

curl "https://agentreader.xyz/v1/read?url=https://example.com"              # Markdown
curl "https://agentreader.xyz/v1/read?url=https://arxiv.org/pdf/1706.03762&format=json"   # JSON: title, author, date, text, links, tables

Options: format=markdown|json, render=auto|never|always, nocache=1. POST with a JSON body also works. Credits key: Authorization: Bearer ar_…

Use from MCP clients

Streamable HTTP endpoint https://agentreader.xyz/mcp with tools read_url and get_balance.

{
  "mcpServers": {
    "agentreader": {
      "url": "https://agentreader.xyz/mcp",
      "headers": { "Authorization": "Bearer ar_..." }
    }
  }
}

Claude Code: claude mcp add --transport http agentreader https://agentreader.xyz/mcp

Pricing

TierLimitPrice
Free5 calls/day per IP, no key$0
Credit bundle500 calls (no expiry)$1 USDC ($0.0020/call), one x402 payment
Credit bundle5,000 calls (no expiry)$8 USDC ($0.0016/call), one x402 payment
Pay per callUnlimited, /v1/x402/read$0.005 per call in USDC via x402

Buying a bundle without a key returns a new API key that holds your credits. Keys don't include free calls.

Prepaid credits

curl -X POST "https://agentreader.xyz/v1/credits/buy?bundle=500" -H "Authorization: Bearer ar_..."   # returns 402 with x402 requirements
# pay with an x402 v2 client (@x402/fetch, @x402/axios, python x402) and retry. Credits go to your key, or a new key is returned
curl "https://agentreader.xyz/v1/balance" -H "Authorization: Bearer ar_..."

Without a key you get the free daily calls. With a key, calls use its credits, then per-call x402. One on-chain payment covers the whole bundle.

Machine-readable

llms.txt · OpenAPI · MCP server card · x402 resources · status