# Website Font {API}

Instantly retrieve a company's fonts from their website with our styleguide API.

Retrieve fonts used on any company website from just a domain. Perfect for branded dashboards and white-labeled templates.

[Get API Access](https://www.context.dev/signup) No credit card required

[View Documentation](https://docs.context.dev/api-reference/screenshot-styleguide/extract-fonts-from-website)

## What You Get

Each API call returns structured font data from the target website.

#### Font families

Primary and fallback fonts with full stack

#### Weights & styles

Bold, Regular, Light, and more

#### Font sources

Google Fonts, Adobe, self-hosted identified

#### Similar alternatives

For protected custom fonts

## How It Works

We analyze stylesheets and web font imports to accurately detect typography.

— step 01 —

#### Pass a domain

Like airbnb.com or any company website

— step 02 —

#### We scan stylesheets

CSS files, inline styles, @font-face, and web font imports

— step 03 —

#### Fonts categorized

By role: primary, secondary, fallback

— step 04 —

#### JSON returned

Structured typography data ready for use

## API Response

Extracted typography for context.dev

`GET /v1/styleguide?domain=context.dev`

```
{
  "status": "ok",
  "domain": "context.dev",
  "styleguide": {
    "typography": {
      "p": { "fontFamily": "Inter, sans-serif", "fontSize": "14px" },
      "headings": {
        "h1": { "fontFamily": "Courier New, monospace", "fontSize": "36px" },
        "h2": { "fontFamily": "Inter, sans-serif", "fontSize": "24px" }
      }
    }
  },
  "code": 200
}
```

## Ship an agent that actually knows things.

Free tier, 10-minute integration, and the same API powering agents at Mintlify, daily.dev, and Propane. No credit card to start.
