hydrafetch

Any page, as JSON in your schema.

The extract API takes up to ten URLs and a JSON schema or a prompt, and returns the fields you asked for as typed JSON. Ask for confidence and each value comes with the passage it was drawn from. Extraction costs 5 credits for each URL that returns data.

POSTlinear.app/pricinghono.dev/docs
{
  "type": "object",
  "properties": {
    "plans": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "teams": {
            "type": "string"
          }
        }
      }
    }
  }
}
  • Free$0 · 2 teams
  • Basic$10 per user/month · 5 teams
  • Business$16 per user/month · Unlimited teams
  • EnterpriseCustom · Unlimited
{
  "plans": [
    {
      "name": "Free",
      "price": "$0",
      "teams": "2 teams"
    },
    {
      "name": "Basic",
      "price": "$10 per user/month",
      "teams": "5 teams"
    },
    {
      "name": "Business",
      "price": "$16 per user/month",
      "teams": "Unlimited teams"
    },
    {
      "name": "Enterprise",
      "price": "Custom",
      "teams": "Unlimited"
    }
  ]
}
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "install": {
      "type": "string"
    },
    "runtimes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "features": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}
  • nameHono
  • installnpm create hono@latest
  • runtimesCloudflare Workers, Fastly Compute, Deno, Bun and 5 more
  • featuresUltrafast router, TypeScript support and 4 more
{
  "name": "Hono",
  "install": "npm create hono@latest",
  "runtimes": [
    "Cloudflare Workers",
    "Fastly Compute",
    "Deno",
    "Bun",
    "Vercel",
    "Netlify",
    "AWS Lambda",
    "Lambda@Edge",
    "Node.js"
  ],
  "features": [
    "Ultrafast router (RegExpRouter)",
    "First-class TypeScript support"
  ]
}
12 fields filled4 fields filled5 credits5 credits

01Options

Say what you want. Get that shape back.

Endpoint reference
  • schemaA JSON Schema fixes the field names and types.
  • promptOr describe the fields in a sentence.
  • showConfidenceA score and the source passage for each field.
  • mergeEntitiesOne row per thing across many pages.
  • enableWebSearchFind extra pages for fields yours do not cover.
  • urls: ["…/*"]A trailing /* extracts every page under a path.
Request
curl https://api.hydrafetch.com/v1/web/extract \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "urls": ["https://linear.app/pricing"],
    "schema": {
      "type": "object",
      "properties": {
        "plans": { "type": "array", "items": { "type": "object" } }
      }
    }
  }'
Response
{
  "data": {
    "results": [
      {
        "url": "https://linear.app/pricing",
        "data": {
          "plans": [
            { "name": "Free", "price": "$0", "teams": "2 teams" },
            { "name": "Basic", "price": "$10 per user/month", "teams": "5 teams" }
          ]
        },
        "error": null
      }
    ]
  }
}

02Handled

Fields you can put straight in a table.

One schema, many pages

Send up to ten URLs and get one result for each.

A schema or a sentence

Fix the shape yourself, or let a prompt describe it.

Every value shows its source

Ask for confidence and see the passage behind each field.

One row per thing

The same item on many pages merges into one row with its sources.

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/extract \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://linear.app/pricing"], "prompt": "The plans with name and price"}'

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

Five credits a page extracted.

See plans
  • 5 creditsEach URL that returns data
  • 0 creditsA URL that fails
  • Up to 10URLs in one request
  • 30 to 240Requests a minute, by plan

05Questions

What people ask first.

JSON in the shape you asked for, one result for each URL. Give it a JSON Schema for fixed field names and types, a prompt to describe the fields, or both.

5 credits for each URL that returns data. A URL that fails is not charged.

Set showConfidence. Each field then comes with a confidence score and the exact passage of the page it was drawn from, and a field the page does not carry comes back null.

Yes. End a URL with /* and every page found under that path is extracted. Set mergeEntities to get one deduplicated row per item, with the pages that contributed to it.

Use the structured format on the scrape API. It returns the page's own data as the site published it, at the price of a normal page read.

Clean web data is one call away.

Get API key