MyFonts API Introduction


The MyFonts API lets you build apps that explore the wealth of fonts. You can browse the entire MyFonts font collection using various criteria, get more information about a font family and each font within it, and render font samples with a custom text.

To start using the MyFonts API:

  1. Register your app or website to get an API Key. You’ll need one.
  2. Review our Branding Guidelines and Terms of Use. We’ll appreciate that your app acts friendly.
  3. Explore our API endpoints. Discover, build, test and deploy!

This reference will help you to boldly, widely, lightly and even obliquely go where no font discoverer has gone before. If you build something awesome, let us know!

MyFonts API Endpoints


Overview

Fonts are created by designers such as Hermann Zapf, and then published by different publishers (also called foundries), for example Bitstream. Fonts are organized into families. A family can have many styles (like Helvetica Neue) or just one (like Bombshell Pro). The design of a family is described by categories such as sans serif. MyFonts sells font licenses for various kinds of usage (on desktop computers, websites, in e-books or apps) at a price. But what matters most is what a font looks like, so we provide customized bitmap font samples. With the MyFonts API Endpoints, you can access all this information — just checks the sidebar links!

Limits

Requests are limited to 500 per hour per API Key. If you make too many requests, you will receive a response with a 429 (Too Many Requests) status code. The limit to is encourage efficient usage of the MyFonts API. Font sample image requests don't count towards limit. If you have a use case that requires more requests, please contact us and we can increase the limit for your API Key.

Caching

Caching of MyFonts API data is encouraged, but you must not cache data for longer than specified in the HTTP response headers.

Grouping Requests

Many options allows you to select multiple items in a single request. For example, if you need the price for 10 fonts, you can request all 10 in a single request instead of making 10 requests. This will only count as a single request against your rate limit and will make your application faster.

Responses

All responses are returned in JSON format.

In the event that an invalid entry is used, the MyFonts API will attempt to use the appropriate error code. In addition, if there is a spelling error or an invalid entry, an error message in JSON format will be displayed with specific information about what the error is.

For example:

{"Error": "'abc' is not a valid input for 'id'. This value must be an integer"}

Strict Mode

By default, the API will have ‘strict mode’ turned on. This means that it will verify that all parameters that are entered are valid. An invalid parameter will return an error message as described above. Turning ‘strict mode’ off will ignore this error and proceed to return the information for valid parameters. Please refer to the Family, Price, or Fontsample endpoints for more information.

Error Codes

Code Title Description
200 Ok Success
400 Bad Request Invalid endpoint parameter.
403 Forbidden Invalid API key. Check the api_key option in your request.
404 Not Found Invalid endpoint. Check the end point exists.
429 Too Many Requests You've exceeded your rate limit. The count will reset at the start of the hour. If this is a persistent problem, please contact us and tell us why you need a higher limit.
500 Internal Server Error Unexpected error. Please contact the helpdesk so that we can investigate the problem.

Family

http://api.myfonts.net/v1/family


Get information about Font Families using various search criteria.

Caching

Responses may be cached for up to 12 hours, per response http header.

Examples:

  • Get font families named 'futura'
    • Request

      http://api.myfonts.net/v1/family?api_key=YOUR_API_KEY&name=futura

    • Response

      {
          "total_results": "6",
          "results": {
              "262": {
                  "id": "262",
                  "name": "Futura",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/"
              },
              "1245": {
                  "id": "1245",
                  "name": "Futura",
                  "url": "http:\/\/www.myfonts.com\/fonts\/adobe\/futura\/"
              },
              "2402": {
                  "id": "2402",
                  "name": "Futura",
                  "url": "http:\/\/www.myfonts.com\/fonts\/urw\/futura\/"
              },
              "3799": {
                  "id": "3799",
                  "name": "Futura",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/futura\/"
              },
              "6330": {
                  "id": "6330",
                  "name": "Futura",
                  "url": "http:\/\/www.myfonts.com\/fonts\/ftbauer\/futura\/"
              },
              "77057": {
                  "id": "77057",
                  "name": "Futura",
                  "url": "http:\/\/www.myfonts.com\/fonts\/tilde\/futura\/"
              }
          }
      }

  • Get more info about the first 'futura' family
    • Request

      http://api.myfonts.net/v1/api_key=YOUR_API_KEY&id=262&extra_data=styles|details

    • Response

      {
          "total_results": "1",
          "results": {
              "262": {
                  "id": "262",
                  "name": "Futura",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/",
                  "styles": [
                      {
                          "id": "569",
                          "name": "Futura Light",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/light\/"
                      },
                      {
                          "id": "570",
                          "name": "Futura Light Italic",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/light-italic\/"
                      },
                      {
                          "id": "571",
                          "name": "Futura Book",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/book\/"
                      },
                      {
                          "id": "572",
                          "name": "Futura Book Italic",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/book-italic\/"
                      },
                      {
                          "id": "573",
                          "name": "Futura Medium",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/medium\/"
                      },
                      {
                          "id": "574",
                          "name": "Futura Medium Italic",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/medium-italic\/"
                      },
                      {
                          "id": "577",
                          "name": "Futura Heavy",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/heavy\/"
                      },
                      {
                          "id": "578",
                          "name": "Futura Heavy Italic",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/heavy-italic\/"
                      },
                      {
                          "id": "575",
                          "name": "Futura Bold",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/bold\/"
                      },
                      {
                          "id": "576",
                          "name": "Futura Bold Italic",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/bold-italic\/"
                      },
                      {
                          "id": "579",
                          "name": "Futura ExtraBlack",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/extra-black\/"
                      },
                      {
                          "id": "580",
                          "name": "Futura ExtraBlack Italic",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/extra-black-italic\/"
                      },
                      {
                          "id": "608",
                          "name": "Futura Light Condensed",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/light-condensed\/"
                      },
                      {
                          "id": "609",
                          "name": "Futura Medium Condensed",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/medium-condensed\/"
                      },
                      {
                          "id": "610",
                          "name": "Futura Bold Condensed",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/bold-condensed\/"
                      },
                      {
                          "id": "611",
                          "name": "Futura Bold Italic Condensed",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/bold-italic-condensed\/"
                      },
                      {
                          "id": "612",
                          "name": "Futura Condensed ExtraBlack",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/condensed-extra-black\/"
                      },
                      {
                          "id": "613",
                          "name": "Futura Condensed ExtraBlack Italic",
                          "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/futura\/condensed-extra-black-italic\/"
                      }
                  ],
                  "debut": "2000-01-01 00:00:00",
                  "release_date": "1927",
                  "publisher": [
                      {
                          "id": "6",
                          "name": "Bitstream",
                          "url": "http:\/\/www.myfonts.com\/foundry\/Bitstream\/"
                      }
                  ]
              }
          }
      }

  • Get transitional font families available for web licensing
    • Request

      http://api.myfonts.net/v1/family?api_key=YOUR_API_KEY&category=transitional&license=web

    • Response

      {
          "total_results": "571",
          "results": {
              "30": {
                  "id": "30",
                  "name": "Bernhard Modern",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/bernhard-modern\/"
              },
              "43": {
                  "id": "43",
                  "name": "Carmina BT",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/carmina\/"
              },
              "45": {
                  "id": "45",
                  "name": "Caslon 540",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/caslon-540\/"
              },
              "47": {
                  "id": "47",
                  "name": "Century Expanded",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/century-expanded\/"
              },
              "48": {
                  "id": "48",
                  "name": "Century Oldstyle",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/century-old-style\/"
              },
              "49": {
                  "id": "49",
                  "name": "Century Schoolbook",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/century-schoolbook\/"
              },
              "60": {
                  "id": "60",
                  "name": "Cooper BT",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/cooper\/"
              },
              "62": {
                  "id": "62",
                  "name": "Corona",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/corona\/"
              },
              "70": {
                  "id": "70",
                  "name": "Electra",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/electra\/"
              },
              "76": {
                  "id": "76",
                  "name": "Eurostile",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/eurostile\/"
              },
              "77": {
                  "id": "77",
                  "name": "Excelsior",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/excelsior\/"
              },
              "78": {
                  "id": "78",
                  "name": "Fairfield",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/fairfield\/"
              },
              "102": {
                  "id": "102",
                  "name": "Imprint",
                  "url": "http:\/\/www.myfonts.com\/fonts\/mti\/imprint\/"
              },
              "108": {
                  "id": "108",
                  "name": "Janson Text",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/janson-text\/"
              },
              "124": {
                  "id": "124",
                  "name": "Meridien",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/meridien\/"
              },
              "140": {
                  "id": "140",
                  "name": "Olympian",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/olympian\/"
              },
              "144": {
                  "id": "144",
                  "name": "Oranda",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/oranda\/"
              },
              "154": {
                  "id": "154",
                  "name": "Perpetua",
                  "url": "http:\/\/www.myfonts.com\/fonts\/mti\/perpetua\/"
              },
              "164": {
                  "id": "164",
                  "name": "Romana",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/romana\/"
              },
              "170": {
                  "id": "170",
                  "name": "Simoncini Garamond",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/simoncini-garamond\/"
              },
              "194": {
                  "id": "194",
                  "name": "Windsor",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/windsor\/"
              },
              "204": {
                  "id": "204",
                  "name": "American Garamond",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/american-garamond\/"
              },
              "211": {
                  "id": "211",
                  "name": "Dutch 801",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/dutch-801\/"
              },
              "212": {
                  "id": "212",
                  "name": "Egyptian 505",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/egyptian-505\/"
              },
              "234": {
                  "id": "234",
                  "name": "Industrial 736",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/industrial-736\/"
              },
              "237": {
                  "id": "237",
                  "name": "Lapidary 333",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/lapidary-333\/"
              },
              "239": {
                  "id": "239",
                  "name": "News 701",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/news-701\/"
              },
              "241": {
                  "id": "241",
                  "name": "Revival 565",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/revival-565\/"
              },
              "243": {
                  "id": "243",
                  "name": "Square 721",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/square-721\/"
              },
              "251": {
                  "id": "251",
                  "name": "Transitional 521",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/transitional-521\/"
              },
              "252": {
                  "id": "252",
                  "name": "Transitional 551",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/transitional-551\/"
              },
              "259": {
                  "id": "259",
                  "name": "Modern 735",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/modern-735\/"
              },
              "264": {
                  "id": "264",
                  "name": "Baskerville",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/baskerville\/"
              },
              "265": {
                  "id": "265",
                  "name": "Baskerville No. 2",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/baskerville-no-2\/"
              },
              "270": {
                  "id": "270",
                  "name": "Charter BT",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/charter\/"
              },
              "274": {
                  "id": "274",
                  "name": "Bookman",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/bookman\/"
              },
              "275": {
                  "id": "275",
                  "name": "Bruce Old Style",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/bruce-old-style\/"
              },
              "276": {
                  "id": "276",
                  "name": "Bulmer",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/bulmer\/"
              },
              "279": {
                  "id": "279",
                  "name": "Caslon Old Face",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/caslon-old-face\/"
              },
              "282": {
                  "id": "282",
                  "name": "Century 725",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/century-725\/"
              },
              "283": {
                  "id": "283",
                  "name": "Century 731",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/century-731\/"
              },
              "284": {
                  "id": "284",
                  "name": "Century 751",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/century-751\/"
              },
              "289": {
                  "id": "289",
                  "name": "Dutch 766",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/dutch-766\/"
              },
              "290": {
                  "id": "290",
                  "name": "Dutch 809",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/dutch-809\/"
              },
              "291": {
                  "id": "291",
                  "name": "Dutch 811",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/dutch-811\/"
              },
              "292": {
                  "id": "292",
                  "name": "Dutch 823",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/dutch-823\/"
              },
              "294": {
                  "id": "294",
                  "name": "Engravers\u2019 Oldstyle 205",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/engravers-oldstyle-205\/"
              },
              "308": {
                  "id": "308",
                  "name": "Italian Garamond",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/italian-garamond\/"
              },
              "357": {
                  "id": "357",
                  "name": "Kis",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/kis\/"
              },
              "358": {
                  "id": "358",
                  "name": "Latin 725",
                  "url": "http:\/\/www.myfonts.com\/fonts\/bitstream\/latin-725\/"
              }
          }
      }

  • Get ten newest font families
    • Request

      http://api.myfonts.net/v1/family?api_key=YOUR_API_KEY&sort=debut&sort_type=desc&ipp=10

    • Response

      {
          "total_results": "28335",
          "results": {
              "140206": {
                  "id": "140206",
                  "name": "Industry",
                  "url": "http:\/\/www.myfonts.com\/fonts\/fort-foundry\/industry\/"
              },
              "140212": {
                  "id": "140212",
                  "name": "Industry Inc",
                  "url": "http:\/\/www.myfonts.com\/fonts\/fort-foundry\/industry-inc\/"
              },
              "140214": {
                  "id": "140214",
                  "name": "Prohibition",
                  "url": "http:\/\/www.myfonts.com\/fonts\/fort-foundry\/prohibition\/"
              },
              "140221": {
                  "id": "140221",
                  "name": "Gin",
                  "url": "http:\/\/www.myfonts.com\/fonts\/fort-foundry\/gin\/"
              },
              "140224": {
                  "id": "140224",
                  "name": "Bourbon",
                  "url": "http:\/\/www.myfonts.com\/fonts\/fort-foundry\/bourbon\/"
              },
              "140229": {
                  "id": "140229",
                  "name": "Abolition",
                  "url": "http:\/\/www.myfonts.com\/fonts\/fort-foundry\/abolition\/"
              },
              "141095": {
                  "id": "141095",
                  "name": "GHEA Narek Serif",
                  "url": "http:\/\/www.myfonts.com\/fonts\/armtype\/ghea-narek-serif\/"
              },
              "141099": {
                  "id": "141099",
                  "name": "GHEA Katil",
                  "url": "http:\/\/www.myfonts.com\/fonts\/armtype\/ghea-katil\/"
              },
              "141100": {
                  "id": "141100",
                  "name": "GHEA Kamar",
                  "url": "http:\/\/www.myfonts.com\/fonts\/armtype\/ghea-kamar\/"
              },
              "141101": {
                  "id": "141101",
                  "name": "GHEA Tatevik Display",
                  "url": "http:\/\/www.myfonts.com\/fonts\/armtype\/ghea-tatevik-display\/"
              }
          }
      }

  • Get ten most popular font families
    • Request

      http://api.myfonts.net/v1/family?api_key=YOUR_API_KEY&sort=popularity&sort_type=desc&ipp=10

    • Response

      {
          "total_results": "28335",
          "results": {
              "139967": {
                  "id": "139967",
                  "name": "True North",
                  "url": "http:\/\/www.myfonts.com\/fonts\/cultivated-mind\/true-north\/"
              },
              "72270": {
                  "id": "72270",
                  "name": "Proxima Nova",
                  "url": "http:\/\/www.myfonts.com\/fonts\/marksimonson\/proxima-nova\/"
              },
              "3884": {
                  "id": "3884",
                  "name": "Helvetica Neue",
                  "url": "http:\/\/www.myfonts.com\/fonts\/linotype\/neue-helvetica\/"
              },
              "138511": {
                  "id": "138511",
                  "name": "Eveleth",
                  "url": "http:\/\/www.myfonts.com\/fonts\/yellow-design\/eveleth\/"
              },
              "99840": {
                  "id": "99840",
                  "name": "Brandon Grotesque",
                  "url": "http:\/\/www.myfonts.com\/fonts\/hvdfonts\/brandon-grotesque\/"
              },
              "118056": {
                  "id": "118056",
                  "name": "Bombshell Pro",
                  "url": "http:\/\/www.myfonts.com\/fonts\/emily-lime\/bombshell-pro\/"
              },
              "139808": {
                  "id": "139808",
                  "name": "Peaches And Cream",
                  "url": "http:\/\/www.myfonts.com\/fonts\/fenotype\/peaches-and-cream\/"
              },
              "79195": {
                  "id": "79195",
                  "name": "Museo Sans",
                  "url": "http:\/\/www.myfonts.com\/fonts\/exljbris\/museo-sans\/"
              },
              "137075": {
                  "id": "137075",
                  "name": "Quickpen",
                  "url": "http:\/\/www.myfonts.com\/fonts\/trial-by-cupcakes\/quickpen\/"
              },
              "123556": {
                  "id": "123556",
                  "name": "Thirsty Rough",
                  "url": "http:\/\/www.myfonts.com\/fonts\/yellow-design\/thirsty-rough\/"
              }
          }
      }

Parameters:

Name Description Type Values Default
name Name of font family string
Example: /v1/family?name=helvetica
name_type How strictly to filter names string exact contains startswith exact
Example: /v1/family?name=helvetica&name_type=contains
id Unique ID of font family numerical, one or more comma separated
Example: /v1/family?id=262
style_id Unique ID of a font style within the family numerical, one or more comma separated
Example: /v1/family?style_id=569
pub_id Unique ID of publisher/foundry numerical, one or more comma separated
Example: /v1/family?pub_id=6
category Filter by categories string, concatenate multiple options with | Use categories endpoint to get current list of categories.
Example: /v1/family?category=sansserif
license Filter by license types string, concatenate multiple options with | desktop web app epub server
Example: /v1/family?license=desktop|web
sort How to sort results string name popularity debut name
Example: /v1/family?sort=debut
sort_type How to order sorted results string asc desc asc
Example: /v1/family?sort=debut&sort_type=desc
ipp Number of items to be returned (a maximum limit may apply) numerical 50
Example: /v1/family?ipp=10
page Return items on page number (based on the items per page) numerical 0
Example: /v1/family?ipp=10&page=3
extra_data Return additional data string, concatenate multiple options with | details meta article styles popularitydefault_style_id
Example: /v1/family?name=helvetica&extra_data=details|meta
strict When disabled, input errors are ignored boolean true
Example: /v1/family?name=helvetica&strict=0

'extra_data' Responses:

Name Description
Max ipp*: 50
details
debut MyFonts debut date
release_date Original release date
publisher Publisher ID, Name, and URL of the font family
Max ipp*: 5
meta
foundry Foundry ID, Name, and URL of the original supplier of a font family
designer Designer ID, Name, and URL of designers of a font family
categories Select categories that describe a font family
Max ipp*: 1
article_abstract
article_abstract Article abstract about a font family
Max ipp*: 1
styles
styles Style ID, Name, and URL of available styles within a font family
Max ipp*: 50
popularity
popularity Popularity score of a font family: The higher the number, the more popular it is.
Max ipp*: 50
default_style_id
default_style_id Default Style ID of a font family, usually that of the 'regular' or 'roman' weight.
* Items per page (ipp) maximums will be set at the lowest of the limits for the parameters you've set.

Publishers

http://api.myfonts.net/v1/publishers


Get a list of publishers (foundries).

Caching

Responses may be cached for up to 12 hours, per response http header.

Publishers, often called foundries, are the source of the fonts offered through MyFonts.

Response:

Array with Publisher ID, Name, URL of all the Publishers

Font Sample

http://apicdn.myfonts.net/v1/fontsample


Generate a sample of a font in GIF or PNG format.

Caching

Responses may be cached for up to 7 days, per response http header.

Name Description Format Notes Default
id ID that identifies the font to be used. StyleID by default. numerical
idtype Change ID type. Select between Family ID, Style ID, or Version ID string familyid styleid versionid styleid
width Width of the overall image numerical 512
size Point size of the font in the font in the sample numerical 40
text Words to be used in the font sample string
format Format of the font sample image. Choose between GIF or PNG string gif png gif
fg Font color string 6-digit hex 000000
bg Background color string 6-digit hex ffffff
transparent Transparent background boolean true
border Size of the border around font image numerical 0
strict When disabled input errors are ignored boolean true
behaviour Make additional size adjustments to the image string resize shrink grow smartcrop wrap

resize: Change size so that the text is width pixels wide.

shrink: If necessary, reduce size so that the image is no more than width pixels wide.

grow: If necessary, increase size so that the image is at least width pixels wide.

smartcrop: Crop the image in between glyphs if image is wider than width.

wrap: Wrap text if it doesn't fit within width.

Price

http://api.myfonts.net/v1/price


Get pricing information about fonts. Since prices may be localized, you must supply the IP address or country of the end-user seeing the price.

Caching

Responses may be cached for up to 1 hour, per response http header.

Name Description
id One or more comma-separated font family IDs
country Two-letter country code of end-user (ISO 3166-1). Either country or IP is required.
ip IP address of end-user. Either country or IP is required.
strict When set to false input errors are ignored. Default: true

Categories

http://api.myfonts.net/v1/categories


Get a list of all font categories.

Caching

Responses may be cached for up to 12 hours, per response http header.

Categories are descriptive keywords that are useful if you don’t know a font family name. For example. you can search by keywords such as "script", "decorative", "serif", etc.

All Categories:

sans-serif slab-serif script decorative venetian garalde transitional modern engraving glyphic blackletter computer monospace legible funny math symbol picture