hydrafetch

The design of any site, as tokens.

The styleguide API takes a domain and returns how the site is designed: colours by role, the type scale, spacing, radius, shadows and button styles, with the same design as a CSS, Tailwind or shadcn stylesheet you can paste in. A styleguide costs 10 credits, and a site we cannot read costs nothing.

GET/v1/web/styleguide?domain=stripe.com/v1/web/styleguide?domain=linear.app

stripe.comLight mode · sohne-var

#ffffff#f8fafd#000000#533afd
radius
card 6px · button 4px
spacing
4px · 10px · 16px · 32px · 80px
contrast
21 text on background

typography

  • sohne-var · 48px · 300h1
  • sohne-var · 56px · 300h2
  • sohne-var · 26px · 300h3
  • sohne-var · 16px · 400body
{
  "domain": "stripe.com",
  "mode": "light",
  "colors": [
    {
      "hex": "#000000",
      "name": "Black",
      "role": "text"
    },
    {
      "hex": "#533afd",
      "name": "Indigo",
      "role": "accent"
    }
  ],
  "radius": {
    "card": "6px",
    "button": "4px",
    "default": "6px"
  }
}

linear.appDark mode · Inter, Berkeley Mono

#08090a#0f1011#d0d6e0#5e6ad2
radius
card 9px · button full
spacing
4px · 8px · 16px · 24px · 48px
contrast
13.64 text on background

typography

  • Inter · 64px · 510h1
  • Inter · 48px · 510h2
  • Inter · 20px · 590h3
  • Inter · 16px · 590body
{
  "domain": "linear.app",
  "mode": "dark",
  "colors": [
    {
      "hex": "#d0d6e0",
      "name": "Light Blue",
      "role": "text"
    },
    {
      "hex": "#5e6ad2",
      "name": "Blue",
      "role": "accent"
    }
  ],
  "radius": {
    "card": "9px",
    "button": "full",
    "default": "12px"
  }
}
light mode · contrast 21dark mode · contrast 13.6410 credits10 credits

01Tokens

Everything needed to match a look.

Endpoint reference
  • colorsBackground, surface, text and accent, by role.
  • typographyFamily, size, weight and line height per level.
  • spacingThe steps the layout is built on.
  • buttonHow the main call to action is drawn.
  • darkThe colours the site switches to in dark mode.
  • css · tailwind · shadcnThe same design as a stylesheet to paste in.
Request
curl "https://api.hydrafetch.com/v1/web/styleguide?domain=linear.app" \
  -H "X-API-Key: $HYDRAFETCH_API_KEY"
Response
{
  "data": {
    "domain": "linear.app",
    "mode": "dark",
    "colors": [{ "hex": "#5e6ad2", "name": "Blue", "role": "accent" }],
    "typography": [{ "role": "h1", "family": "Inter", "size": 64, "weight": "510" }],
    "radius": { "card": "9px", "button": "full", "default": "12px" },
    "contrast": { "meetsAA": true, "textOnBackground": 13.64 }
  }
}

02Handled

Your customer's look, inside your product.

Paste-ready stylesheets

The same tokens in the format your project already uses.

Light and dark

Both palettes, when the site has both.

Text you can read

Contrast is checked, so the tokens are safe to put text on.

One page or the whole site

Read the home page, or a section that is styled differently.

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/styleguide?domain=linear.app" \
  -H "X-API-Key: $HYDRAFETCH_API_KEY"

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

Ten credits a styleguide.

See plans
  • 10 creditsA styleguide
  • 0 creditsA site we cannot read
  • 5 creditsThe brand profile alone
  • 30 to 240Requests a minute, by plan

05Questions

What people ask first.

The design of a site as tokens: colours by role, the type scale, spacing, radius, shadows, button styles and a contrast check, with the same design as CSS, Tailwind and shadcn stylesheets.

10 credits a styleguide. A site we cannot read costs nothing, and a stored result is reused for up to 30 days unless you ask for a fresh read.

Theming your product for each customer. Give it their domain when they sign up and their workspace, emails or embedded widget can match their own site's colours and type.

Yes. It says whether the page loads light or dark, and returns the colours the site switches to when a visitor prefers a dark theme, when it has them.

Brand describes the company: its name, logo, palette and profiles. Styleguide describes how its site is built, in enough detail to reproduce the look.

Clean web data is one call away.

Get API key