Skip to main content
GET
/
fonts
List fonts
curl --request GET \
  --url https://api.example.com/fonts
[
  {
    "name": "Roboto",
    "displayName": "Roboto Regular",
    "type": "sans-serif",
    "sources": {
      "regular": "https://fonts.gstatic.com/roboto/regular.woff2"
    }
  }
]

Query Parameters

subset
string | null

Unicode subset to filter fonts (e.g., 'latin', 'cyrillic')

category
string | null

Font category to filter by (e.g., 'serif', 'sans-serif')

name
string | null

Font name to search for (partial match)

Response

Fonts retrieved successfully

name
string

Font name identifier

Example:

"Roboto"

displayName
string

Display name of the font

Example:

"Roboto Regular"

type
string

Font type

Example:

"sans-serif"

sources
object

Map of source identifiers to URLs

Example:
{
"regular": "https://fonts.gstatic.com/roboto/regular.woff2"
}