Fontsource
App · 8 actions
Find and use open source fonts from Fontsource, the registry of more than 2,000 self-hostable fonts, every Google Font among them. Search fonts by name, category, language, weight and style, get a font's npm install command and CDN link, get ready-to-paste @font-face CSS and direct WOFF2 links for the weights you need, read a variable font's axes, and see download counts and releases. Start a workflow when a font is added or updated. No account or API key required.
Actions
| Action | What it does |
|---|---|
| Get @font-face CSS | Get ready-to-paste @font-face CSS for the weights and styles of a font you need, exactly as Fontsource's CDN publishes it, pinned to the font's current release, with the font-display you choose. |
| Get a font | Get one font on Fontsource: its category, subsets, weights, styles, licence, versions and where it comes from, with the npm install command and import line (static and variable), its CDN stylesheet as a link and an HTML tag, and the CSS that sets it. |
| Get download statistics | Get how often a font is used: npm downloads of its packages and the times Fontsource's CDN served its files, last month and ever, for the static and variable versions together and apart. |
| Get variable font axes | Get the axes of a variable font, such as weight, width and optical size, each named with its range and default, plus its variable npm package and CDN stylesheet. |
| List font files | List direct links to a font's WOFF2, WOFF and TTF files on Fontsource's CDN for the weights, styles and subsets you choose, each with the characters it covers, to preload, download or host yourself. |
| List package versions | List every release of a font's npm packages, static and variable, newest first, with the latest of each: to check whether a site's pinned font is behind. |
| List variable axis definitions | List the variable font axes Fontsource knows, from weight and width to grade and softness: each tag, what it does, and the widest range and default any font may use. |
| Search fonts | Find open source fonts on Fontsource by family name, narrowed by category, Google Fonts or other, the languages (subsets), weights and styles a font must have, variable or static, and how recently it changed. |
Get @font-face CSS
Get ready-to-paste @font-face CSS for the weights and styles of a font you need, exactly as Fontsource's CDN publishes it, pinned to the font's current release, with the font-display you choose. Also gives the stylesheet link and npm import for each face.
Inputs
- Font
fonttextRequired - The font. Pick it from the list, or type its family name (Open Sans) or its Fontsource id (open-sans).
- Weights
weightslist - The weights to load. Leave empty for 400 (regular), or the font's only weight.One or more of:
100(100 Thin),200(200 Extra Light),300(300 Light),400(400 Regular),500(500 Medium),600(600 Semi Bold),700(700 Bold),800(800 Extra Bold),900(900 Black). - Styles
styleslist - The styles to load. Leave empty for normal.One or more of:
normal,italic. - Font display
font_displaytext - What the browser shows while the font loads. Swap shows a fallback font at once, then swaps in this one.One of:
swap(Swap (Fontsource's default)),auto,block,fallback,optional. Default:swap. - Version
versiontext - Links pinned to the font's current release, which never change under a live site (Fontsource's advice), or links that always load the latest.One of:
pinned(This release (recommended)),latest(Always the latest release). Default:pinned.
Outputs
csstext- The @font-face rules, ready to paste into a stylesheet. Each subset has its unicode-range, so a browser downloads only the files a page needs.
face_countnumber- How many @font-face rules the CSS holds: one per weight, style and subset.
familytext- The font's family name, such as 'Open Sans'.
font_displaytext- The font-display the rules use: swap, auto, block, fallback or optional.
font_family_csstext- The CSS that then sets the font, such as font-family: 'Inter', sans-serif;
font_idtext- The font's Fontsource id, such as 'open-sans': what every Font field takes.
stylesheetslist- The stylesheet the rules come from for each weight and style, to link instead of pasting.
versiontext- The release the CSS and its font links are pinned to, such as '5.3.0', or 'latest'.
Example output
{
"css": "@font-face {\n font-family: 'Space Grotesk';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/vietnamese-400-normal.woff2) format(woff2), url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/vietnamese-400-normal.woff) format(woff);\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n@font-face {\n font-family: 'Space Grotesk';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-ext-400-normal.woff2) format(woff2), url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-ext-400-normal.woff) format(woff);\n unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n@font-face {\n font-family: 'Space Grotesk';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-400-normal.woff2) format(woff2), url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-400-normal.woff) format(woff);\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n\n@font-face {\n font-family: 'Space Grotesk';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/vietnamese-700-normal.woff2) format(woff2), url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/vietnamese-700-normal.woff) format(woff);\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n@font-face {\n font-family: 'Space Grotesk';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-ext-700-normal.woff2) format(woff2), url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-ext-700-normal.woff) format(woff);\n unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n@font-face {\n font-family: 'Space Grotesk';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-700-normal.woff2) format(woff2), url(https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-700-normal.woff) format(woff);\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}\n",
"face_count": 6,
"family": "Space Grotesk",
"font_display": "swap",
"font_family_css": "font-family: 'Space Grotesk', sans-serif;",
"font_id": "space-grotesk",
"stylesheets": [
{
"import_statement": "import \"@fontsource/space-grotesk/400.css\";",
"link_tag": "<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/fontsource/css/space-grotesk@5.3.0/400.css\" />",
"style": "normal",
"url": "https://cdn.jsdelivr.net/fontsource/css/space-grotesk@5.3.0/400.css",
"weight": 400
},
{
"import_statement": "import \"@fontsource/space-grotesk/700.css\";",
"link_tag": "<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/fontsource/css/space-grotesk@5.3.0/700.css\" />",
"style": "normal",
"url": "https://cdn.jsdelivr.net/fontsource/css/space-grotesk@5.3.0/700.css",
"weight": 700
}
],
"version": "5.3.0"
}Get a font
Get one font on Fontsource: its category, subsets, weights, styles, licence, versions and where it comes from, with the npm install command and import line (static and variable), its CDN stylesheet as a link and an HTML tag, and the CSS that sets it.
Inputs
- Font
fonttextRequired - The font. Pick it from the list, or type its family name (Open Sans) or its Fontsource id (open-sans).
Outputs
categorytext- Its style: sans-serif, serif, display, handwriting, monospace, icons or other.
default_subsettext- The subset its default stylesheet loads, usually latin.
familytext- The font's family name, such as 'Open Sans'.
file_countnumber- How many font files it has in each format: one per weight, style and subset.
font_family_csstext- The CSS that sets the font, with a generic fallback, such as font-family: 'Inter', sans-serif;
font_idtext- The font's Fontsource id, such as 'open-sans': what every Font field takes.
font_typetext- 'google' for a Google Font, 'other' for another open source font Fontsource packages.
import_statementtext- The line that loads it in a JavaScript app, at its default weight.
install_commandtext- The command that installs its static package, such as npm install @fontsource/inter.
last_modifiedtext- When the font itself last changed, as YYYY-MM-DD: the date the 'Font updated' trigger watches.
licensetext- Its licence, such as OFL-1.1 (SIL Open Font License) or Apache-2.0.
link_tagtext- An HTML <link> tag for that stylesheet, ready to paste into a page's <head>.
npm_packagetext- Its npm package of static fonts, such as @fontsource/inter.
npm_versiontext- The current release of its static npm package, such as '5.3.0'. Links and stylesheets here are pinned to it.
page_urltext- Its page on fontsource.org, with a preview and install steps.
source_urltext- Where Fontsource takes the font from, such as https://github.com/google/fonts.
styleslist- Its styles: normal, italic or both.
stylesheet_urltext- Its default stylesheet on Fontsource's CDN (jsDelivr), pinned to this release: its default weight (400 for most fonts), every subset.
subsetslist- The scripts and languages it covers, such as latin, latin-ext, cyrillic or japanese.
variabletrue/false- True when it also comes as a variable font, with every weight (and any other axes) in one file.
variable_import_statementtext- The line that loads its variable font. Empty when it is not variable.
variable_install_commandtext- The command that installs its variable package. Empty when it is not variable.
variable_npm_packagetext- Its npm package of the variable font, such as @fontsource-variable/inter. Empty when it is not variable.
versiontext- The version of the font files from their source, such as 'v20' for a Google Font.
weightslist- The weights it comes in, from 100 (thin) to 900 (black).
Example output
{
"category": "sans-serif",
"default_subset": "latin",
"family": "Space Grotesk",
"file_count": 15,
"font_family_css": "font-family: 'Space Grotesk', sans-serif;",
"font_id": "space-grotesk",
"font_type": "google",
"import_statement": "import \"@fontsource/space-grotesk\";",
"install_command": "npm install @fontsource/space-grotesk",
"last_modified": "2025-09-05",
"license": "OFL-1.1",
"link_tag": "<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/fontsource/css/space-grotesk@5.3.0/index.css\" />",
"npm_package": "@fontsource/space-grotesk",
"npm_version": "5.3.0",
"page_url": "https://fontsource.org/fonts/space-grotesk",
"source_url": "https://github.com/google/fonts",
"styles": [
"normal"
],
"stylesheet_url": "https://cdn.jsdelivr.net/fontsource/css/space-grotesk@5.3.0/index.css",
"subsets": [
"latin",
"latin-ext",
"vietnamese"
],
"variable": true,
"variable_import_statement": "import \"@fontsource-variable/space-grotesk\";",
"variable_install_command": "npm install @fontsource-variable/space-grotesk",
"variable_npm_package": "@fontsource-variable/space-grotesk",
"version": "v22",
"weights": [
300,
400,
500,
600,
700
]
}Get download statistics
Get how often a font is used: npm downloads of its packages and the times Fontsource's CDN served its files, last month and ever, for the static and variable versions together and apart.
Inputs
- Font
fonttextRequired - The font. Pick it from the list, or type its family name (Open Sans) or its Fontsource id (open-sans).
Outputs
font_idtext- The font's Fontsource id, such as 'open-sans': what every Font field takes.
jsdelivr_hits_monthlynumber- Times Fontsource's CDN (jsDelivr) served its files in the last month.
jsdelivr_hits_totalnumber- Times the CDN served its files ever.
npm_downloads_monthlynumber- npm downloads of its static and variable packages together in the last month.
npm_downloads_totalnumber- npm downloads of both packages ever.
npm_packagetext- Its static npm package, such as @fontsource/inter.
staticobject- The same counts for the static package alone.
variableobject- The same counts for the variable package alone. Empty when the font is not variable.
Example output
{
"font_id": "space-grotesk",
"jsdelivr_hits_monthly": 10357613,
"jsdelivr_hits_total": 11773315,
"npm_downloads_monthly": 1412935,
"npm_downloads_total": 5500965,
"npm_package": "@fontsource/space-grotesk",
"static": {
"jsdelivr_hits_monthly": 927401,
"jsdelivr_hits_total": 2303850,
"npm_downloads_monthly": 725562,
"npm_downloads_total": 3362521
},
"variable": {
"jsdelivr_hits_monthly": 9430212,
"jsdelivr_hits_total": 9469465,
"npm_downloads_monthly": 687373,
"npm_downloads_total": 2138444
}
}Get variable font axes
Get the axes of a variable font, such as weight, width and optical size, each named with its range and default, plus its variable npm package and CDN stylesheet. 'Variable' is false for a font that only comes static.
Inputs
- Font
fonttextRequired - The font. Pick it from the list, or type its family name (Open Sans) or its Fontsource id (open-sans).
Outputs
axeslist- Each axis the variable font has.
axis_countnumber- How many axes the variable font has.
css_familytext- The family name the variable font goes by in CSS, such as 'Inter Variable'.
familytext- The font's family name, such as 'Open Sans'.
font_family_csstext- The CSS that sets the variable font, such as font-family: 'Inter Variable';
font_idtext- The font's Fontsource id, such as 'open-sans': what every Font field takes.
import_statementtext- The line that loads the variable font in a JavaScript app.
install_commandtext- The command that installs the variable package.
link_tagtext- An HTML <link> tag for that stylesheet, ready to paste.
npm_packagetext- Its variable npm package, such as @fontsource-variable/inter.
stylesheet_urltext- The variable font's default stylesheet on Fontsource's CDN (the face it loads by default, every subset), pinned to that release.
variabletrue/false- True when the font comes as a variable font. False for a static one, and everything after this is then empty.
versiontext- The current release of the variable package.
Example output
{
"axes": [
{
"default": 400,
"description": "Adjust the style from lighter to bolder in typographic color, by varying stroke weights, spacing and kerning, and other aspects of the type. This typically changes overall width, and so may be used in conjunction with Width and Grade axes.",
"max": 700,
"min": 300,
"name": "Weight",
"step": 1,
"tag": "wght"
}
],
"axis_count": 1,
"css_family": "Space Grotesk Variable",
"family": "Space Grotesk",
"font_family_css": "font-family: 'Space Grotesk Variable';",
"font_id": "space-grotesk",
"import_statement": "import \"@fontsource-variable/space-grotesk\";",
"install_command": "npm install @fontsource-variable/space-grotesk",
"link_tag": "<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/fontsource/css/space-grotesk:vf@5.3.0/index.css\" />",
"npm_package": "@fontsource-variable/space-grotesk",
"stylesheet_url": "https://cdn.jsdelivr.net/fontsource/css/space-grotesk:vf@5.3.0/index.css",
"variable": true,
"version": "5.3.0"
}List font files
List direct links to a font's WOFF2, WOFF and TTF files on Fontsource's CDN for the weights, styles and subsets you choose, each with the characters it covers, to preload, download or host yourself.
Inputs
- Font
fonttextRequired - The font. Pick it from the list, or type its family name (Open Sans) or its Fontsource id (open-sans).
- Weights
weightslist - Only these weights. Leave empty for every one.One or more of:
100(100 Thin),200(200 Extra Light),300(300 Light),400(400 Regular),500(500 Medium),600(600 Semi Bold),700(700 Bold),800(800 Extra Bold),900(900 Black). - Styles
styleslist - Only these styles. Leave empty for both.One or more of:
normal,italic. - Subsets
subsetslist - Only these subsets, such as latin. Leave empty for every one, which for a large Chinese, Japanese or Korean font also lists its numbered slices.
- Version
versiontext - Links pinned to the font's current release, which never change under a live site (Fontsource's advice), or links that always load the latest.One of:
pinned(This release (recommended)),latest(Always the latest release). Default:pinned.
Outputs
countnumber- How many files are listed.
familytext- The font's family name, such as 'Open Sans'.
fileslist- One row per weight, style and subset, lightest weight first.
font_idtext- The font's Fontsource id, such as 'open-sans': what every Font field takes.
versiontext- The release the links are pinned to, such as '5.3.0', or 'latest'.
Example output
{
"count": 3,
"family": "Space Grotesk",
"files": [
{
"style": "normal",
"subset": "vietnamese",
"ttf_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/vietnamese-700-normal.ttf",
"unicode_range": "U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB",
"weight": 700,
"woff2_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/vietnamese-700-normal.woff2",
"woff_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/vietnamese-700-normal.woff"
},
{
"style": "normal",
"subset": "latin-ext",
"ttf_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-ext-700-normal.ttf",
"unicode_range": "U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF",
"weight": 700,
"woff2_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-ext-700-normal.woff2",
"woff_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-ext-700-normal.woff"
},
{
"style": "normal",
"subset": "latin",
"ttf_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-700-normal.ttf",
"unicode_range": "U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD",
"weight": 700,
"woff2_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-700-normal.woff2",
"woff_url": "https://cdn.jsdelivr.net/fontsource/fonts/space-grotesk@5.3.0/latin-700-normal.woff"
}
],
"font_id": "space-grotesk",
"version": "5.3.0"
}List package versions
List every release of a font's npm packages, static and variable, newest first, with the latest of each: to check whether a site's pinned font is behind.
Inputs
- Font
fonttextRequired - The font. Pick it from the list, or type its family name (Open Sans) or its Fontsource id (open-sans).
Outputs
font_idtext- The font's Fontsource id, such as 'open-sans': what every Font field takes.
latest_variable_versiontext- The newest release of the variable package. Empty when there is none.
latest_versiontext- The newest release of the static package.
npm_packagetext- Its static npm package, such as @fontsource/inter.
variable_npm_packagetext- Its variable npm package. Empty when the font is not variable.
variable_versionslist- Every release of the variable package, newest first. Empty when there is none.
version_countnumber- How many releases the static package has had.
versionslist- Every release of the static package, newest first.
Example output
{
"font_id": "space-grotesk",
"latest_variable_version": "5.3.0",
"latest_version": "5.3.0",
"npm_package": "@fontsource/space-grotesk",
"variable_npm_package": "@fontsource-variable/space-grotesk",
"variable_versions": [
"5.3.0",
"5.2.10",
"5.2.9",
"5.2.8",
"5.2.7",
"5.2.6",
"5.2.5",
"5.2.4",
"5.2.0",
"5.1.1",
"5.1.0",
"5.0.20",
"5.0.19",
"5.0.18",
"5.0.17",
"5.0.16",
"5.0.15",
"5.0.14",
"5.0.13",
"5.0.12",
"5.0.8",
"5.0.7",
"5.0.6",
"5.0.5",
"5.0.4",
"5.0.3",
"5.0.2",
"5.0.1",
"5.0.0"
],
"version_count": 52,
"versions": [
"5.3.0",
"5.2.10",
"5.2.9",
"5.2.8",
"5.2.7",
"5.2.6",
"5.2.5",
"5.2.4",
"5.2.1",
"5.2.0",
"5.1.1",
"5.1.0",
"5.0.20",
"5.0.19",
"5.0.18",
"5.0.17",
"5.0.16",
"5.0.15",
"5.0.14",
"5.0.13",
"5.0.12",
"5.0.8",
"5.0.7",
"5.0.6",
"5.0.5",
"5.0.4",
"5.0.3",
"5.0.2",
"5.0.1",
"5.0.0",
"4.5.13",
"4.5.12",
"4.5.10",
"4.5.9",
"4.5.8",
"4.5.7",
"4.5.5",
"4.5.3",
"4.5.2",
"4.5.1",
"4.5.0",
"4.4.5",
"4.4.2",
"4.4.0",
"4.3.0",
"4.2.2",
"4.2.1",
"4.2.0",
"4.1.1",
"4.1.0",
"4.0.1",
"4.0.0"
]
}List variable axis definitions
List the variable font axes Fontsource knows, from weight and width to grade and softness: each tag, what it does, and the widest range and default any font may use. Search by tag or word.
Inputs
- Search text
querytext - An axis tag such as GRAD, or a word in its name or description such as width. Leave empty for every axis.
Outputs
axeslist- Each axis, in the registry's order.
countnumber- How many axes are listed.
querytext- The search text, as given. Empty when none was.
Example output
{
"axes": [
{
"default": 0.5,
"description": "Control the substitution of cursive forms along the Slant axis. 'Off' (0) maintains Roman letterforms such as a double-storey a and g, 'Auto' (0.5) allows for Cursive substitution, and 'On' (1) asserts cursive forms even in upright text with a Slant of 0.",
"max": 1,
"min": 0,
"name": "On",
"precision": -1,
"tag": "CRSV"
},
{
"default": 0,
"description": "Adjust the style from upright to slanted. Negative values produce right-leaning forms, also known to typographers as an 'oblique' style. Positive values produce left-leaning forms, also called a 'backslanted' or 'reverse oblique' style.",
"max": 90,
"min": -90,
"name": "Slant",
"precision": 0,
"tag": "slnt"
}
],
"count": 2,
"query": "slant"
}Search fonts
Find open source fonts on Fontsource by family name, narrowed by category, Google Fonts or other, the languages (subsets), weights and styles a font must have, variable or static, and how recently it changed. Each comes with its id, subsets, weights, styles, licence and npm package, best matches first.
Inputs
- Search text
querytext - Words in the font's family name, such as grotesk or Noto Sans. Leave empty to browse with the filters alone.
- Category
categorytext - Only fonts of this style. Leave empty for every one.One of:
sans-serif(Sans serif),serif,display,handwriting,monospace,icons,other. - Font type
font_typetext - Only Google Fonts, or only the other open source fonts Fontsource packages. Leave empty for both.One of:
google(Google Fonts),other(Other open source fonts). - Subsets
subsetslist - Only fonts that cover every one of these scripts or languages, such as Latin and Cyrillic. Leave empty for any.
- Weights
weightslist - Only fonts that come in every one of these weights. Leave empty for any.One or more of:
100(100 Thin),200(200 Extra Light),300(300 Light),400(400 Regular),500(500 Medium),600(600 Semi Bold),700(700 Bold),800(800 Extra Bold),900(900 Black). - Styles
styleslist - Only fonts with every one of these styles: Italic finds fonts that have an italic. Leave empty for any.One or more of:
normal,italic. - Variable
variabletext - Only variable fonts (every weight in one file), only static ones, or both.One of:
any(Variable or not),variable(Variable fonts only),static(Static fonts only). Default:any. - Updated on or after
updated_sincedate - Only fonts whose files changed on this date or later, to catch recent updates.
- Sort
sorttext - Best matches for the search text, then by name; or the most recently updated fonts first.One of:
name(Best match, then by name),updated(Most recently updated first). Default:name. - Limit
limitnumber - How many fonts to return in a page, up to 100.From 1 to 100. Default:
25. - Page
pagenumber - Which page of results to return, from 1.From 1 to 1000. Default:
1.
Outputs
countnumber- How many fonts are on this page.
fontslist- The matching fonts on this page, best matches first.
has_moretrue/false- True when a later page has more matches.
pagenumber- Which page this is, from 1.
querytext- The search text, as given. Empty when none was.
totalnumber- How many fonts match every filter, on every page.
Example output
{
"count": 3,
"fonts": [
{
"category": "sans-serif",
"default_subset": "latin",
"family": "Familjen Grotesk",
"font_id": "familjen-grotesk",
"font_type": "google",
"last_modified": "2025-09-11",
"license": "OFL-1.1",
"npm_package": "@fontsource/familjen-grotesk",
"page_url": "https://fontsource.org/fonts/familjen-grotesk",
"styles": [
"normal",
"italic"
],
"subsets": [
"latin",
"latin-ext",
"vietnamese"
],
"variable": true,
"variable_npm_package": "@fontsource-variable/familjen-grotesk",
"weights": [
400,
500,
600,
700
]
},
{
"category": "sans-serif",
"default_subset": "latin",
"family": "Hanken Grotesk",
"font_id": "hanken-grotesk",
"font_type": "google",
"last_modified": "2025-09-02",
"license": "OFL-1.1",
"npm_package": "@fontsource/hanken-grotesk",
"page_url": "https://fontsource.org/fonts/hanken-grotesk",
"styles": [
"normal",
"italic"
],
"subsets": [
"cyrillic-ext",
"latin",
"latin-ext",
"vietnamese"
],
"variable": true,
"variable_npm_package": "@fontsource-variable/hanken-grotesk",
"weights": [
100,
200,
300,
400,
500,
600,
700,
800,
900
]
},
{
"category": "sans-serif",
"default_subset": "latin",
"family": "Host Grotesk",
"font_id": "host-grotesk",
"font_type": "google",
"last_modified": "2025-09-05",
"license": "OFL-1.1",
"npm_package": "@fontsource/host-grotesk",
"page_url": "https://fontsource.org/fonts/host-grotesk",
"styles": [
"normal",
"italic"
],
"subsets": [
"latin",
"latin-ext"
],
"variable": true,
"variable_npm_package": "@fontsource-variable/host-grotesk",
"weights": [
300,
400,
500,
600,
700,
800
]
}
],
"has_more": true,
"page": 1,
"query": "grotesk",
"total": 5
}