Documentation

Fonts

The Fonts endpoint provides an array of individual font objects. You can access this endpoint using the URL api.fontsource.org/v1/fonts.

Response

The API response for the Fonts endpoint is an array of font objects. Each font object represents a specific font and provides detailed information about it.
Example response:
⬤⬤
[
{
"id": "abeezee",
"family": "ABeeZee",
"subsets": ["latin"],
"weights": [400],
"styles": ["italic", "normal"],
"defSubset": "latin",
"variable": false,
"lastModified": "2020-09-02",
"category": "sans-serif",
"version": "v14",
"type": "google"
}
...
]
json

Queries

The Fonts endpoint allows you to send queries to filter the list of fonts. Multiple queries can be combined using the & operator.
You can include additional queries in the URL to filter the responses based on specific criteria. For example, api.fontsource.org/v1/fonts?subsets=latin,latin-ext&variable=true will return fonts that match subsets latin and latin-ext, as well as if it is a variable font.

Options

You can use the following queries to filter the list of fonts:
QueryTypeExample
idstringid=roboto
familystringfamily=Roboto
subsetsstringsubsets=latin,latin-ext
weightsnumber[]weights=100,900
stylesstring[]styles=normal,italic
defSubsetstringdefSubset=arabic
variablebooleanvariable=true
lastModifiedstringlastModified=2020-09-02
categorystringcategory=display
versionstringversion=v14
typestringtype=google

Known values

  • subsets: latin, latin-ext, sinhala, greek, kannada, telugu, vietnamese, hebrew, cyrillic, cyrillic-ext, greek-ext, arabic, devanagari, khmer, tamil, thai, bengali, gujarati, oriya, malayalam, gurmukhi, korean, all, japanese, classic, classic-mini, modern, modern-mini, seggchan, seggchan-mini, cherokee, tibetan, kayah-li, chinese-simplified, base, music, adlam, anatolian-hieroglyphs, armenian, avestan, balinese, bamum, bassa-vah, batak, bhaiksuki, brahmi, buginese, buhid, canadian-aboriginal, carian, caucasian-albanian, chakma, cham, coptic, cuneiform, cypriot, deseret, duployan, egyptian-hieroglyphs, elbasan, elymaic, georgian, glagolitic, gothic, grantha, gunjala-gondi, hanifi-rohingya, hanunoo, hatran, chinese-hongkong, imperial-aramaic, indic-siyaq-numbers, inscriptional-pahlavi, inscriptional-parthian, javanese, kaithi, kharoshthi, khojki, khudawadi, lao, lepcha, limbu, linear-a, linear-b, lisu, lycian, lydian, mahajani, mandaic, manichaean, marchen, masaram-gondi, math, mayan-numerals, medefaidrin, meetei-mayek, meroitic, miao, modi, mongolian, mro, multani, myanmar, nko, nabataean, new-tai-lue, newa, nushu, ogham, ol-chiki, old-hungarian, old-italic, old-north-arabian, old-permic, old-persian, old-sogdian, old-south-arabian, old-turkic, osage, osmanya, pahawh-hmong, palmyrene, pau-cin-hau, phags-pa, phoenician, psalter-pahlavi, rejang, runic, samaritan, saurashtra, sharada, shavian, siddham, sogdian, sora-sompeng, soyombo, sundanese, syloti-nagri, symbols, syriac, tagalog, tagbanwa, tai-le, tai-tham, tai-viet, takri, tamil-supplement, chinese-traditional, thaana, tifinagh, tirhuta, ugaritic, vai, wancho, warang-citi, yi, zanabazar-square, ahom, dogra, ethiopic, nyiakeng-puachue-hmong, tangut, yezidi, farsi-digits, farsi-digits-without-latin, without-latin, latin-oblique
  • weights: 100,200,300,400,500,600,700,800,900
  • styles: italic, normal