Fonts


Found at api.fontsource.org/v1/fonts.

Returns an array of individual font objects.

[
{
"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"
}
...
]

Queries


Queries can be sent to filter the list of fonts and can be combined together using &.

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


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