kits/:kit/published

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.

The current published version of a kit

Request methods

GET
Returns information about the published version of a kit

Parameters

Path parameters:

:kit
The kit ID

Examples

Getting public info for a published kit without any authentication:

$ curl -s https://typekit.com/api/v1/json/kits/nfx3ygt/published | jsonpretty
{
  "kit": {
    "id": "nfx3ygt",
    "families": [
      {
        "id": "gkmg",
        "name": "Droid Sans",
        "slug": "droid-sans",
        "css_names": [
          "droid-sans-1",
          "droid-sans-2"
        ],
        "variations": [
          "n4"
        ],
        "subset": "default"
      }
    ]
  }
}

Getting all info for a published kit with proper authentication:

$ curl -s -H $tk_auth https://typekit.com/api/v1/json/kits/nfx3ygt/published | jsonpretty
{
  "kit": {
    "name": "Example",
    "published": "2010-05-20T21:15:31Z",
    "id": "nfx3ygt",
    "domains": [
      "example.com"
    ],
    "families": [
      {
        "id": "gkmg",
        "name": "Droid Sans",
        "slug": "droid-sans",
        "css_names": [
          "droid-sans-1",
          "droid-sans-2"
        ],
        "css_stack": "\"droid-sans-1\",\"droid-sans-2\",sans-serif",
        "variations": [
          "n4"
        ],
        "subset": "default"
      }
    ]
  }
}