Public APIs
Google Fonts favicon

Google Fonts

Development

Metadata for all families served by Google Fonts.

Google Fonts's website screenshot

About Google Fonts

The Google Fonts Developer API provides metadata for all font families served by Google Fonts, letting applications query available families through a REST endpoint that returns JSON data. Each family object includes fields such as name, subsets (supported scripts), variants (styles), version, last modified date, font files by variant, and optionally axes (for variable fonts) and tags. Requests require an API key appended as a query parameter.

The API supports sorting results alphabetically, by date added, by number of styles, by trending usage, or by popularity, and supports filtering by family name, subset, or category. It also supports optimization options, including retrieving font files in WOFF2 format and retrieving variable font files with axis range metadata via a capability parameter.

The documentation is intended for web and application developers and assumes knowledge of JavaScript.

Key features

  • Query metadata for all font families served by Google Fonts via REST API
  • Returns JSON with family name, subsets, variants, version, and files
  • Sort families by alpha, date added, popularity, style count, or trending
  • Filter results by family name, subset, or category
  • Retrieve font files in WOFF2 or as variable fonts via capability parameter

Frequently asked questions

Is the Google Fonts Developer API free to use?

The page does not state a price; it requires an API key obtained via the Get a Key flow or the Credentials page.

How do I authenticate requests?

Include an API key as the key query parameter with every request; the key is safe to embed directly in URLs.

What data format does the API return?

It returns JSON data containing an array of font family objects with fields like family, subsets, variants, version, lastModified, and files.

Who is this API intended for?

It is intended for web and application developers, and using it requires knowledge of JavaScript.

Can I get variable font files instead of static ones?

Yes, setting capability=VF returns the variable font file along with available axes range metadata instead of static font files.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product