families/:family/:variation

This is documentation for Typekit’s original API. This API is still supported, but we encourage you to try the newer Typekit Platform API. If you have any questions, email us.

A font family variation

Request methods

GET
Returns information about the font family variation

Parameters

Path parameters:

:family
The family ID
:variation
The font variation description

Examples

Getting information on Droid Sans Regular:

$ curl -s https://typekit.com/api/v1/json/families/droid-sans/n4 | jsonpretty
{
  "variation": {
    "id": "gkmg:n4",
    "name": "Droid Sans Regular",
    "family": {
      "id": "gkmg",
      "link": "/api/v1/json/families/gkmg",
      "name": "Droid Sans"
    },
    "font_style": "normal",
    "font_variant": "normal",
    "font_weight": "400",
    "foundry": {
      "name": "Google Android"
      "slug": "google-android",
    },
    "libraries": [
      {
        "id": "trial",
        "link": "/api/v1/json/libraries/trial",
        "name": "Trial Library"
      },
      {
        "id": "personal",
        "link": "/api/v1/json/libraries/personal",
        "name": "Personal Library"
      }
      {
        "id": "full",
        "link": "/api/v1/json/libraries/full",
        "name": "Full Library"
      }
    ],
    "postscript_name": "DroidSans"
  }
}