Examples →
Fetch a Medium article for an AI agent
Medium and Substack mix free + paywalled content with heavy JS rendering. AgentFetch returns the publicly-visible portion as Markdown — usually the full article on Medium, the preview on Substack — with reading time and author metadata.
Try it
Get a free key at agentfetch.dev (500 free fetches/mo, no credit card).
curl -X POST https://api.agentfetch.dev/fetch \
-H "Content-Type: application/json" \
-H "X-AgentFetch-Key: af_xxx" \
-d '{
"url": "https://medium.com/example-article-abc123",
"max_tokens": 2000
}'
In an MCP-aware agent
fetch_url(
url="https://medium.com/example-article-abc123",
max_tokens=2000,
)
In LangChain
from langchain_agentfetch import AgentFetchTool
tool = AgentFetchTool(api_key="af_xxx")
result = tool.run({"url": "https://medium.com/example-article-abc123"})
How it routes
AgentFetch automatically routes fetch medium article-style URLs through
Jina Reader based on domain heuristics — you don't pick a fetcher.
When agents reach for this
Newsletter ingestion, blog summarization, author tracking.
Related patterns
Fetch a Hacker News thread for an AI agent
Fetch a Twitter / X thread for an AI agent
Fetch a GitHub README for an AI agent
Fetch an arXiv paper for an AI agent
Fetch and extract text from a PDF for an AI agent
Fetch a public Notion page for an AI agent