Only what changed
Each URL carries the date it last changed, so a re-run reads the new pages only.
The map API takes a site and returns its URLs, up to 5,000 a call, newest first, each with the date it last changed when the site publishes one. Mapping a site costs 1 credit whatever its size, and a site with no URLs to return costs nothing.
1,039 URLsnewest first
search: "docs"
{
"url": "https://linear.app",
"total": 1039,
"links": [
{
"url": "https://linear.app/developers/webhooks",
"lastmod": "2026-11-26"
},
{
"url": "https://linear.app/docs/linear-cloud-coding-agent",
"lastmod": "2026-11-26"
}
]
}16 URLsnewest first
search: "getting-started"
{
"url": "https://hono.dev",
"total": 16,
"links": [
{
"url": "https://hono.dev/",
"lastmod": null
},
{
"url": "https://hono.dev/docs",
"lastmod": null
}
]
}01Options
curl https://api.hydrafetch.com/v1/web/map \
-H "X-API-Key: $HYDRAFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://linear.app",
"search": "docs",
"limit": 100
}'{
"data": {
"url": "https://linear.app",
"links": [
{ "url": "https://linear.app/docs/ai-credits", "lastmod": "2026-11-26" },
{ "url": "https://linear.app/docs/filters", "lastmod": "2026-11-26" }
],
"count": 100,
"total": 1039,
"truncated": false
}
}02Handled
Each URL carries the date it last changed, so a re-run reads the new pages only.
Ask for the docs, the blog or the product pages by name.
A site of sixteen pages and a site of a thousand cost the same.
Hand the URLs you kept to a crawl or a batch.
03Connect
For agents
One MCP server. Every endpoint is a tool.
Add Hydrafetch from your terminal.
claude mcp add --scope user --transport http hydrafetch https://api.hydrafetch.com/mcpStart Claude Code, run /mcp, choose hydrafetch and then Authenticate. Your browser opens: sign in, pick a workspace and approve.
Open Hydrafetch in Claude's connector directory and choose Connect.
Open in ClaudeSign in to Hydrafetch and approve in the window that opens.
Open Hydrafetch in ChatGPT's apps and choose Connect.
Open in ChatGPTSign in to Hydrafetch and approve.
Add Hydrafetch to ~/.cursor/mcp.json. Create the file if it does not exist.
{
"mcpServers": {
"hydrafetch": { "url": "https://api.hydrafetch.com/mcp" }
}
}Open Cursor Settings, then MCP. Hydrafetch asks you to sign in: choose Connect and approve in your browser.
Add Hydrafetch to .vscode/mcp.json in your workspace.
{
"servers": {
"hydrafetch": { "type": "http", "url": "https://api.hydrafetch.com/mcp" }
}
}Choose Start above the server in that file, then sign in and approve when VS Code asks.
Add Hydrafetch from your terminal.
codex mcp add hydrafetch --url https://api.hydrafetch.com/mcpStart Codex. The first time it uses Hydrafetch, your browser opens to sign in.
Add Hydrafetch from your terminal.
gemini mcp add hydrafetch --url https://api.hydrafetch.com/mcp --scope userStart Gemini CLI. The first time it uses Hydrafetch, your browser opens to sign in.
Open the MCP Servers panel and choose Configure to open the settings file.
Add Hydrafetch to it. Replace hf_your_key with a key from the API keys page.
{
"mcpServers": {
"hydrafetch": {
"type": "streamableHttp",
"url": "https://api.hydrafetch.com/mcp",
"headers": { "Authorization": "Bearer hf_your_key" },
"disabled": false,
"autoApprove": []
}
}
}Add Hydrafetch to your global OpenCode config.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"hydrafetch": { "type": "remote", "url": "https://api.hydrafetch.com/mcp", "enabled": true }
}
}Start OpenCode. It sees that Hydrafetch needs a sign-in and opens your browser.
For your code
An official client in 6 languages, or plain HTTP.
curl https://api.hydrafetch.com/v1/web/map \
-H "X-API-Key: $HYDRAFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://linear.app", "search": "docs"}'import { Hydrafetch } from "@hydrafetch/node-sdk";
const hf = new Hydrafetch(process.env.HYDRAFETCH_API_KEY);
const { links, total } = await hf.map("https://linear.app", {
search: "docs",
});
console.log(total, links[0]?.url);from hydrafetch import Hydrafetch
hf = Hydrafetch()
site = hf.map("https://linear.app", search="docs")
print(site["total"], site["links"][0]["url"])Working in a coding agent? Hand it this.
04Price
05Questions
The URLs of a site, newest first, each with the date it last changed when the site publishes one, plus the total number found and whether the list was cut short.
1 credit a site, whatever its size. A site that returns no URLs costs nothing.
Map lists the pages without reading them, in one call. Crawl reads each page and returns its content. Map first when you want to choose what to read.
Map the site again and compare each URL and its last-changed date with your previous run. Only the new and changed URLs need to be read again.
A call returns up to 5,000 URLs. Page through the rest with offset, or with before to walk a dated archive from newest to oldest.