# Context.dev — Scrape Fonts

Get Context.Dev Scrape Fonts data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Context-dev, pass parameters such as domain, and retrieve structured data including business status code, reported status, returned age ms field, returned domain field, and returned final domstate field to search interfaces and source review, and integration reference.

Documentation: https://openany.si/market/apis/context-dev/context-dev-scrape-fonts/?offering=8cba39c4-c068-4914-aff2-f278e3833cb2
API ID: 8cba39c4-c068-4914-aff2-f278e3833cb2
Provider: context-dev
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/context-dev/v1/web/fonts
Page update time: 2026-12-03T02:49:45.611Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:44.862Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "usage",
  "priceMicroUsd": "2000",
  "rounding": "ceil",
  "unit": "credit",
  "unitQuantity": "1"
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Context.dev — Scrape Fonts request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "directUrl": {
          "type": "string",
          "description": "Exact page to inspect. Provide either `domain` or `directUrl`."
        },
        "domain": {
          "type": "string",
          "description": "Domain name to extract fonts from (e.g., 'example.com', 'google.com'). The domain will be automatically normalized and validated. You must provide either 'domain' or 'directUrl', but not both.",
          "minLength": 3
        },
        "maxAgeMs": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Maximum age of cached brand data in ms. Defaults to 3 months; clamped to 0–1 year. `0` refreshes."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cache_metadata": {
      "type": "object",
      "properties": {
        "age_ms": {
          "type": "integer"
        },
        "status": {
          "type": "string"
        }
      }
    },
    "code": {
      "type": "integer"
    },
    "domain": {
      "type": "string"
    },
    "finalDOMState": {
      "type": "string"
    },
    "fontLinks": {
      "type": "object",
      "properties": {
        "IBM Plex Mono": {
          "type": "object",
          "properties": {
            "category": {
              "type": "string"
            },
            "files": {
              "type": "object",
              "properties": {
                "100": {
                  "type": "string"
                },
                "200": {
                  "type": "string"
                },
                "300": {
                  "type": "string"
                },
                "400": {
                  "type": "string"
                },
                "500": {
                  "type": "string"
                },
                "600": {
                  "type": "string"
                },
                "700": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string"
            }
          }
        },
        "IBM Plex Sans": {
          "type": "object",
          "properties": {
            "category": {
              "type": "string"
            },
            "files": {
              "type": "object",
              "properties": {
                "100": {
                  "type": "string"
                },
                "200": {
                  "type": "string"
                },
                "300": {
                  "type": "string"
                },
                "400": {
                  "type": "string"
                },
                "500": {
                  "type": "string"
                },
                "600": {
                  "type": "string"
                },
                "700": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "string"
            }
          }
        }
      }
    },
    "fonts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fallbacks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "font": {
            "type": "string"
          },
          "num_elements": {
            "type": "integer"
          },
          "num_words": {
            "type": "integer"
          },
          "percent_elements": {
            "type": "integer"
          },
          "percent_words": {
            "type": "integer"
          },
          "uses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "key_metadata": {
      "type": "object",
      "properties": {
        "credits_consumed": {
          "type": "integer"
        }
      }
    },
    "request_id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example (source abbreviated)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/context-dev/v1/web/fonts?domain=context.dev' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "cache_metadata": {
    "age_ms": 3801133800,
    "status": "hit"
  },
  "code": 200,
  "domain": "context.dev",
  "finalDOMState": "loaded",
  "fontLinks": {
    "IBM Plex Mono": {
      "category": "monospace",
      "files": {
        "100": "https://fonts.gstatic.com/s/ibmplexmono/v20/-F6pfjptAgt5VM-kVkqdyU8n3kwq0n1hj-sNFQ.ttf",
        "200": "https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3uAL8ldPg-IUDNg.ttf",
        "300": "https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3oQI8ldPg-IUDNg.ttf",
        "400": "https://fonts.gstatic.com/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n5igg1l9kn-s.ttf",
        "500": "https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJ8ldPg-IUDNg.ttf",
        "600": "https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3vAO8ldPg-IUDNg.ttf",
        "700": "https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3pQP8ldPg-IUDNg.ttf"
      },
      "type": "google"
    },
    "IBM Plex Sans": {
      "category": "sans-serif",
      "files": {
        "100": "https://fonts.gstatic.com/s/ibmplexsans/v23/zYXGKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1swZSAXcomDVmadSD6lhzAKI5loa26g.ttf",
        "200": "https://fonts.gstatic.com/s/ibmplexsans/v23/zYXGKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1swZSAXcomDVmadSDallzAKI5loa26g.ttf",
        "300": "https://fonts.gstatic.com/s/ibmplexsans/v23/zYXGKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1swZSAXcomDVmadSDtFlzAKI5loa26g.ttf",
        "400": "https://fonts.gstatic.com/s/ibmplexsans/v23/zYXGKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1swZSAXcomDVmadSD6llzAKI5loa26g.ttf",
        "500": "https://fonts.gstatic.com/s/ibmplexsans/v23/zYXGKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1swZSAXcomDVmadSD2FlzAKI5loa26g.ttf",
        "600": "https://fonts.gstatic.com/s/ibmplexsans/v23/zYXGKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1swZSAXcomDVmadSDNF5zAKI5loa26g.ttf",
        "700": "https://fonts.gstatic.com/s/ibmplexsans/v23/zYXGKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1swZSAXcomDVmadSDDV5zAKI5loa26g.ttf"
      },
      "type": "google"
    }
  },
  "fonts": [
    {
      "fallbacks": [
        "IBM Plex Sans Fallback",
        "system-ui",
        "sans-serif"
      ],
      "font": "IBM Plex Sans",
      "num_elements": 575,
      "num_words": 14715,
      "percent_elements": 75,
      "percent_words": 98,
      "uses": [
        "body",
        "div",
        "style",
        "script",
        "section",
        "main",
        "svg",
        "line",
        "header",
        "a",
        "span",
        "path",
        "button",
        "p",
        "circle",
        "img",
        "canvas",
        "h1",
        "form",
        "label",
        "input",
        "h2",
        "h3",
        "ol",
        "li",
        "br",
        "nav",
        "blockquote",
        "strong",
        "article",
        "time",
        "details",
        "summary",
        "footer",
        "ul",
        "g",
        "defs",
        "filter",
        "feflood",
        "fecolormatrix",
        "feoffset",
        "fegaussianblur",
        "fecomposite",
        "feblend",
        "next-route-announcer"
      ]
    },
    {
      "fallbacks": [
        "IBM Plex Mono Fallback",
        "ui-monospace",
        "monospace"
      ],
      "font": "IBM Plex Mono",
      "num_elements": 116,
      "num_words": 185,
      "percent_elements": 15,
      "percent_words": 1,
      "uses": [
        "p",
        "span",
        "div",
        "pre",
        "code",
        "a"
      ]
    },
    {
      "fallbacks": [
        "monospace"
      ],
      "font": "ui-monospace",
      "num_elements": 76,
      "num_words": 130,
      "percent_elements": 10,
      "percent_words": 1,
      "uses": [
        "p",
        "span",
        "div"
      ]
    },
    {
      "fallbacks": [],
      "font": "Overused Grotesk",
      "num_elements": 2,
      "num_words": 2,
      "percent_elements": 0,
      "percent_words": 0,
      "uses": [
        "text",
        "tspan"
      ]
    }
  ],
  "key_metadata": {
    "credits_consumed": 5
  },
  "request_id": "f85b0f21-14a7-48d2-8f13-3f332b080f83",
  "status": "ok"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- context-dev: https://openany.si/market/apis/context-dev/context-dev-scrape-fonts/?offering=8cba39c4-c068-4914-aff2-f278e3833cb2

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
