← AgentReader

URL to Markdown API for LLMs and agents

Send a URL, get back the page's main content as clean Markdown (or JSON with title, author, date, links and tables). Navigation, ads, scripts and cookie banners are removed, so the model gets the content in far fewer tokens than raw HTML.

curl "https://agentreader.xyz/v1/read?url=https://react.dev/learn"

No key is needed for the first 5 reads a day per IP. After that: $3 for 2,000 reads ($1.50 per 1,000) or $10 for 7,000 reads ($1.43 per 1,000) + VAT where applicable by card, one-time, credits don't expire. Agents with a wallet can pay per call with x402 ($0.005 USDC).

What it handles

What it doesn't do

Markdown or JSON

# Markdown (default)
curl "https://agentreader.xyz/v1/read?url=https://github.com/pricing"

# JSON: {url,title,author,date,siteName,description,lang,contentType,markdown,wordCount,links[],tables[],meta}
curl "https://agentreader.xyz/v1/read?url=https://github.com/pricing&format=json"

# With prepaid credits
curl -H "Authorization: Bearer ar_..." "https://agentreader.xyz/v1/read?url=https://github.com/pricing"

From an agent (MCP)

Remote MCP server over Streamable HTTP, no install: https://agentreader.xyz/mcp. Tools: read_url, search, get_balance, report_issue, what_are_you_building.

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

LangChain and LlamaIndex

Open-source loaders (MIT) on PyPI: langchain-agentreader and llama-index-readers-agentreader (docs: Python packages). They use the free tier without a key, or AGENTREADER_API_KEY if set.

pip install langchain-agentreader

from langchain_agentreader import AgentReaderLoader
docs = AgentReaderLoader(["https://react.dev/learn"]).load()
pip install llama-index-readers-agentreader

from llama_index.readers.agentreader import AgentReaderWebReader
docs = AgentReaderWebReader().load_data(["https://react.dev/learn"])

Response headers

Every read reports its size: x-agentreader-tokens (returned Markdown), x-agentreader-raw-tokens (the source), x-agentreader-saved-percent, plus x-agentreader-tier and x-agentreader-remaining. Token counts are estimates at about 4 characters per token.

All parameters: llms.txt · OpenAPI. Compared with other readers: AgentReader vs Jina Reader vs Firecrawl.