Pages built by scripts
Read the way a browser shows them, at the same price.
The scrape API takes a URL and returns the page's main content as clean markdown, plus its links, its own structured data or JSON in your schema when you ask. A page costs 1 credit, and a page we cannot read costs nothing.
# Pricing
$0
Free for everyone
- Unlimited members
- 2 teams
- 250 issues
- Agent platform
### Basic
$10 per user/month
Billed yearly
- All Free features +
- 5 teams
- Unlimited issues
- Unlimited file uploads
- Admin roles
### Business
$16 per user/month
42 internal4 external
{
"jsonLd": [
{
"@type": "SoftwareApplication",
"name": "Linear",
"applicationCategory": "BusinessApplication",
"offers": [
{
"@type": "Offer",
"name": "Free",
"price": 0,
"priceCurrency": "USD"
},
{
"@type": "Offer",
"name": "Basic",
"price": 10,
"priceCurrency": "USD"
},
{
"@type": "Offer",
"name": "Business",
"price": 16,
"priceCurrency": "USD"
}
]
}
]
}{
"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"
}
]
}# A Complete Guide to useEffect
March 9, 2019
You wrote a few components with Hooks. Maybe even a small app. You’re mostly satisfied. You’re comfortable with the API and picked up a few tricks along the way.
But sometimes when you `useEffect`, the pieces don’t quite fit together. You find yourself asking questions like:
- How do I replicate `componentDidMount` with `useEffect`?
- How do I correctly fetch data inside `useEffect`? What is `[]`?
- Why do I sometimes get an infinite refetching loop?
6 internal31 external
{
"opengraph": [
{
"og:description": "Effects are a part of your data flow.",
"og:image:type": "image/png",
"og:image:width": "1200",
"og:image:height": "630"
}
]
}{
"published": "March 9, 2019",
"questionsAnswered": [
"How do I replicate componentDidMount with useEffect?",
"How do I correctly fetch data inside useEffect? What is []?",
"Why do I sometimes get an infinite refetching loop?"
]
}## Features
- **Ultrafast** - The router `RegExpRouter` is really fast. Not using linear loops. Fast.
- **Lightweight** - The `hono/tiny` preset is under 14kB. Hono has zero dependencies and uses only the Web Standards.
- **Multi-runtime** - Works on Cloudflare Workers, Fastly Compute, Deno, Bun, AWS Lambda, or Node.js. The same code runs on all platforms.
- **Batteries Included** - Hono has built-in middleware, custom middleware, third-party middleware, and helpers.
- **Delightful DX** - Super clean APIs. First-class TypeScript support.
94 internal22 external
{
"opengraph": [
{
"@type": "website",
"og:image": "https://hono.dev/images/hono-title.png"
}
],
"entities": [
{
"type": "website",
"source": "opengraph",
"properties": {
"og:image": "https://hono.dev/images/hono-title.png"
}
}
]
}{
"name": "Hono",
"install": "npm create hono@latest",
"runtimes": [
"Cloudflare Workers",
"Fastly Compute",
"Deno",
"Bun",
"Vercel",
"Node.js"
],
"features": [
"Ultrafast router (RegExpRouter)",
"First-class TypeScript support"
]
}01Formats
curl https://api.hydrafetch.com/v1/web/scrape \
-H "X-API-Key: $HYDRAFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://linear.app/pricing",
"formats": ["markdown", "links", "structured"]
}'{
"data": {
"metadata": { "title": "Pricing – Linear", "wordCount": 631 },
"quality": { "confidence": 1, "complete": true, "blocked": false },
"markdown": "# Pricing\n\n$0\n\nFree for everyone…",
"links": { "internal": ["…42"], "external": ["…4"] },
"structured": { "jsonLd": ["…2"], "entities": ["…3"] },
"usage": { "creditsUsed": 1 }
}
}02Handled
Read the way a browser shows them, at the same price.
You get the page, not what sits on top of it.
A saved copy by default. The live page when it matters.
Name an element and the page is read once it exists.
See the prices and language a local visitor sees.
For sites that serve phones a different page.
Send a list and collect each page as it finishes.
03Quality
A login wall saved as an article is quoted back as fact months later. Every response says how much to trust it, so the check is one line of your code.
200overreacted.io/a-complete-guide-to-useeffect
"quality": {
"confidence": 1,
"complete": true,
"blocked": false
}Store it1 credit
200example.com/p/trail-runner
"quality": {
"confidence": 0.31,
"complete": false,
"blocked": false
}Looks thin. Check before you store it1 credit
422example.org/reviews/notion
"error": {
"code": "UPSTREAM_UNREACHABLE",
"message": "The origin did not respond…"
}Not read. Nothing charged0 credits
04Measured
Tokens your model reads
The raw pageWhat we return
How much of the page survives
84%match with what people marked as the content, across 1,497 labelled pages
05Connect
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/scrape \
-H "X-API-Key: $HYDRAFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://en.wikipedia.org/wiki/Web_scraping"}'import { Hydrafetch } from "@hydrafetch/node-sdk";
const hf = new Hydrafetch(process.env.HYDRAFETCH_API_KEY);
const page = await hf.scrape("https://en.wikipedia.org/wiki/Web_scraping");
console.log(page.markdown);from hydrafetch import Hydrafetch
hf = Hydrafetch()
page = hf.scrape("https://en.wikipedia.org/wiki/Web_scraping")
print(page["markdown"])hf, err := hydrafetch.New("")
if err != nil {
log.Fatal(err)
}
page, err := hf.Scrape(context.Background(), "https://en.wikipedia.org/wiki/Web_scraping", nil)
if err != nil {
log.Fatal(err)
}
fmt.Println(page.Markdown)require "hydrafetch"
hf = Hydrafetch::Client.new
page = hf.scrape("https://en.wikipedia.org/wiki/Web_scraping")
puts page["markdown"]use hydrafetch::Client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let hf = Client::from_env()?;
let page = hf.scrape("https://en.wikipedia.org/wiki/Web_scraping", None).await?;
println!("{}", page.markdown.unwrap_or_default());
Ok(())
}use Hydrafetch\Client;
$hf = new Client();
$page = $hf->scrape('https://en.wikipedia.org/wiki/Web_scraping');
echo $page['markdown'];Working in a coding agent? Hand it this.
06Price
07Questions
The page's main content as clean markdown, with its title and metadata. Ask for more formats and the same call also returns the cleaned HTML, every link, the page's own structured data, a summary or JSON in your schema.
1 credit a page. A page we cannot read costs nothing, and a cached page you ask for again within its window is served from cache.
Yes. Pages that only show their content once their scripts run come back with that content, at the same price as any other page.
Every response carries a quality object: whether the content looks complete, whether the page was a wall instead of the page you asked for, and a confidence score. Check it before you store the page.
All three turn a URL into markdown. We publish our extraction quality, 0.838 word-level F1 on 1,497 human-labelled pages, charge one credit a page with nothing for a failed one, and answer in one response shape across every endpoint. Our comparison posts go through each in detail.