hydrafetch

A list of URLs in. Every page out.

The batch API takes a list of URLs, up to 25,000 in one request, and reads each one as clean markdown in the background. Poll for the pages or have each one sent to you as it finishes. A page read costs 1 credit, and a page we cannot read costs nothing.

POSTurls: [5]

5 completed0 failed

  • 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",
  "completed": 5,
  "failed": 0,
  "creditsUsed": 5
}
completed · 5 pages5 credits

01Options

Your list, read your way.

Endpoint reference
  • urlsUp to 25,000 URLs in one request.
  • scrapeOptionsEvery scrape option, applied to each page.
  • webhookEach page sent to you as it finishes.
  • webhook.secretA signature on every callback you can verify.
  • invalidUrlsBad entries are skipped and listed back.
  • Idempotency-KeyRetry a request without starting it twice.
Request
curl https://api.hydrafetch.com/v1/web/batch \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urls": [
      "https://hono.dev/docs/api/hono",
      "https://hono.dev/docs/api/routing"
    ]
  }'
Response
{
  "batchId": "019e8a3c-9f0b-7c12-88ab-1d2e3f4a5b6c",
  "status": "queued"
}

02Handled

Send the list. Collect the pages.

Pages arrive as they finish

Nothing waits for the slowest page in the list.

Poll, or be told

Read progress when you like, or get a callback per page.

Failed pages cost nothing

You pay for the pages that came back.

Not sure of the URLs yet?

Map the site first, then send the pages you picked.

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/batch \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://hono.dev/docs/api/hono", "https://hono.dev/docs/api/routing"]}'

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 25,000URLs in one request
  • 30 to 240Requests a minute, by plan

05Questions

What people ask first.

It reads a list of URLs you already have. Each page comes back 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.

Up to 25,000 in one request. Entries that are not valid URLs are skipped and returned to you in invalidUrls.

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

When you do not have the URLs. Crawl starts from one page and follows the links, while batch reads exactly the list you send.

Clean web data is one call away.

Get API key