hydrafetch

Search the web. Get pages, not links.

The search API takes a query and returns ranked results from the live web. Ask for the pages too and each result comes back already read as clean markdown, in the same call. A search costs 1 credit, plus 1 credit for each page read.

POST"css grid layout guide""http caching explained"
  • A Complete Guide to CSS Grid Layout | CSS-Trickscss-tricks.com/complete-guide-css-grid-layout/
  • CSS grid layout - Learn web development | MDNdeveloper.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Grids
  • why is no one using css grid?reddit.com/r/webdev/comments/rrgni8/why_is_no_one_using_css_grid/

**Authors:** Chris House

**Published:** 2021-05-12

# A Complete CSS Grid Layout Guide

Our comprehensive guide to CSS Grid layout, focusing on all the settings both for the grid parent container and the grid child elements with examples and tutorials.

## Introduction

CSS Grid Layout (aka “Grid” or “CSS Grid”), is a two-dimensional grid-based layout system that, compared to any web layout system of the past, completely changes the way we design user interfaces.

{
  "query": "css grid layout guide",
  "status": "ok",
  "results": [
    {
      "rank": 1,
      "title": "A Complete Guide to CSS Grid Layout | CSS-Tricks",
      "url": "https://css-tricks.com/complete-guide-css-grid-layout/"
    },
    {
      "rank": 2,
      "title": "CSS grid layout - Learn web development | MDN",
      "url": "https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/CSS_layout/Grids"
    }
  ]
}
  • HTTP Caching explainedhttp.dev/caching
  • HTTP caching - HTTP | MDN - MDN Web Docsdeveloper.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching
  • What Is and How Does HTTP Caching Work? - Baeldungbaeldung.com/cs/http-caching

**Authors:** Fili

**Published:** 2022-06-18

# HTTP Caching

HTTP caching stores responses so future requests for the same resource are served from a local or intermediate copy instead of the origin server. Caches appear at every layer of the HTTP chain: inside the browser (private cache), at corporate proxies (shared cache), and across CDN edge nodes (reverse cache).

## Cache types

### Private cache

A private cache belongs to a single client, typically the browser.

{
  "query": "http caching explained",
  "status": "ok",
  "results": [
    {
      "rank": 1,
      "title": "HTTP Caching explained",
      "url": "https://http.dev/caching"
    },
    {
      "rank": 2,
      "title": "HTTP caching - HTTP | MDN - MDN Web Docs",
      "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching"
    }
  ]
}
ok · 3 resultsok · 3 results1 credit1 credit

01Options

Ask for exactly the web you want.

Endpoint reference
  • limitFrom 1 to 15 ranked results.
  • +1 credit a pagescrapeResultsEach result comes back already read.
  • timeRangeOnly the last day, week, month or year.
  • countryLean results toward one country.
  • includeDomainsOnly results from the sites you name.
  • excludeDomainsNever results from the sites you name.
Request
curl https://api.hydrafetch.com/v1/web/search \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "http caching explained",
    "limit": 3,
    "scrapeResults": true
  }'
Response
{
  "data": {
    "query": "http caching explained",
    "status": "ok",
    "results": [
      {
        "rank": 1,
        "title": "HTTP Caching explained",
        "url": "https://http.dev/caching",
        "snippet": "HTTP caching stores responses…",
        "data": { "markdown": "# HTTP Caching…" }
      }
    ]
  }
}

02Handled

One call from question to pages.

Results already read

No second round of fetching and parsing for every link.

Only the sites you trust

Keep a search inside the sources you name.

As recent as you need

Limit a search to a window of time.

Nothing found, nothing charged

An empty search says so and costs nothing.

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/search \
  -H "X-API-Key: $HYDRAFETCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "http caching explained", "scrapeResults": true}'

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 search.

See plans
  • 1 creditA search
  • +1 creditEach result read as a page
  • 0 creditsA search with no results
  • 30 to 240Requests a minute, by plan

05Questions

What people ask first.

Ranked results from the live web, each with a title, a URL and a snippet. Set scrapeResults and every result also carries its page, already read as clean markdown.

1 credit a search. Reading the results adds 1 credit for each page read, and a search that finds nothing costs nothing.

A search that returns only links needs a fetch and a parser for every result, which is several round trips. Here it is one call, and the page text arrives with each result.

Yes. includeDomains and excludeDomains keep or drop sites, timeRange limits results to the last day, week, month or year, and country leans results toward one region.

Yes. Search is a tool on our MCP server, so an agent in Claude, ChatGPT, Cursor or your own harness can search and read the pages in one turn.

Clean web data is one call away.

Get API key