hydrafetch

A whole site, read page by page.

The crawl API takes a starting URL, follows the site's links and returns every page as clean markdown, up to 500 pages a crawl. It runs in the background and tells you as each page finishes. A page read costs 1 credit, and a page we cannot read costs nothing.

POSThono.dev/docs/api

6 completed0 failed

  • hono.dev/docs/api44 words
  • hono.dev/docs/api/hono785 words
  • hono.dev/docs/api/routing1,131 words
  • hono.dev/docs/api/context1,570 words
  • hono.dev/docs/api/request1,072 words
  • hono.dev/docs/api/exception361 words

# Context

The `Context` object is instantiated for each request and kept until the response is returned. You can put values in it, set headers and a status code you want to return, and access HonoRequest and Response objects.

## status()

You can set an HTTP status code with `c.status()`

{
  "status": "completed",
  "seedUrl": "https://hono.dev/docs/api",
  "completed": 6,
  "failed": 0,
  "creditsUsed": 6,
  "pages": [
    {
      "url": "https://hono.dev/docs/api/context",
      "depth": 1,
      "discoveredVia": "link"
    }
  ]
}
completed · 6 pages · 4,963 words6 credits

01Options

Crawl the part you actually need.

Endpoint reference
  • limitStop after a number of pages, up to 500.
  • maxDepthHow many links deep to follow.
  • includePathsOnly follow paths that match.
  • excludePathsSkip paths that match.
  • webhookBe told as each page finishes.
  • scrapeOptionsEvery scrape option, applied to each page.
Request
curl https://api.hydrafetch.com/v1/web/crawl \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://hono.dev/docs/api",
    "limit": 6,
    "maxDepth": 2
  }'
Response
{
  "crawlId": "01a21cea-2774-7006-81c1-2132d0ff39ec",
  "status": "queued"
}

02Handled

Start it once. Collect the pages.

Pages arrive as they finish

Poll for progress, or get a callback for every page.

Stays in the section you gave it

A crawl of /docs stays under /docs unless you say otherwise.

A spend you set

The limit is the most a crawl can cost.

Every scrape option, on every page

Formats, freshness and country apply across the crawl.

03Connect

Connected in one line.

All integrations

For agents

One MCP server. Every endpoint is a tool.

Claude CodeTerminal
  1. 1

    Add Hydrafetch from your terminal.

    claude mcp add --scope user --transport http hydrafetch https://api.hydrafetch.com/mcp
  2. 2

    Start Claude Code, run /mcp, choose hydrafetch and then Authenticate. Your browser opens: sign in, pick a workspace and approve.

For your code

An official client in 6 languages, or plain HTTP.

cURL
curl https://api.hydrafetch.com/v1/web/crawl \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://hono.dev/docs/api", "limit": 6}'

Working in a coding agent? Hand it this.

Read https://hydrafetch.com/start.md and set Hydrafetch up in this project. If your fetch tool will not open it, use `curl -sL`.

04Price

One credit a page read.

See plans
  • 1 creditEach page read
  • 0 creditsA page we cannot read
  • Up to 500Pages in one crawl
  • 30 to 240Requests a minute, by plan

05Questions

What people ask first.

It starts at a URL, follows the links on the site and returns each page as clean markdown, with its quality signal and metadata, the same as a single scrape.

1 credit for each page read and nothing for a page we cannot read. The limit you set is the most a crawl can cost.

A crawl runs in the background and returns an id straight away. Poll that id for progress and pages, or register a webhook and receive each page as it finishes.

Yes. A crawl stays in the section of its starting URL by default, and includePaths, excludePaths and maxDepth narrow it further.

When you want to choose pages before paying to read them. Map lists the URLs for one credit, and you can then read only the ones you pick.

Clean web data is one call away.

Get API key