API Overview
The fonts.grida.co API provides programmatic access to Google Fonts metadata, SVG previews, and Apple Color Emoji assets. All endpoints are CORS-enabled and optimized for performance with long-term caching.
Base URL
https://fonts.grida.coAPI Endpoints
Fonts Metadata
GET/webfonts.jsonStandard Google Fonts metadata with all font families and variants
/webfonts-vf.jsonVariable fonts metadata with axis information
SVG Font Previews
GET/svg/[fontname].svgSVG preview of any Google Font. Font names are lowercase with spaces replaced by hyphens.
Apple Color Emoji
GET/apple/emoji/160/[unicode].pngHigh-quality PNG emoji images for Linux compatibility. Unicode should be lowercase hex.
Code Examples
JavaScript/TypeScript
Fetch Font Metadata
const response = await fetch('https://fonts.grida.co/webfonts.json');
const fonts = await response.json();
console.log(fonts.items[0]); // First font familyGet SVG Preview
const svgUrl = 'https://fonts.grida.co/svg/roboto.svg';
const img = document.createElement('img');
img.src = svgUrl;
document.body.appendChild(img);cURL
Get Font Metadata
curl -H "Accept: application/json" \ https://fonts.grida.co/webfonts.json
Download SVG
curl -o roboto.svg \ https://fonts.grida.co/svg/roboto.svg
SVG Font Previews
Live examples of SVG font previews available through our API:
Roboto
/svg/roboto.svgOpen Sans
/svg/opensans.svgLato
/svg/lato.svgPoppins
/svg/poppins.svgInter
/svg/inter.svgMontserrat
/svg/montserrat.svgApple Color Emoji PNG Files
We serve Apple Color Emoji PNG files for Linux compatibility. These are high-quality emoji images that can be used in applications requiring consistent emoji rendering across platforms.
Important Notice
We do not serve AppleColorEmoji.ttf font files as they are proprietary and protected by Apple's EULA. We respect Apple's intellectual property rights and only provide the open-source PNG implementation for Linux compatibility.
Access Pattern
Access emoji PNG files using the following URL pattern:
https://fonts.grida.co/apple/emoji/160/[unicode].pngExamples
Copyright Symbol

/apple/emoji/160/00a9.pngHeart Symbol

/apple/emoji/160/2764.pngSmile Face

/apple/emoji/160/1f642.pngUsage in CSS
You can use these emoji PNG files in your CSS for consistent emoji rendering:
.emoji-heart { background-image: url('https://fonts.grida.co/apple/emoji/160/2764.png'); }Usage Policies
- • No authentication required
- • Commercial use allowed
- • Attribution appreciated but not required
- • Free to use for all applications
Technical Details
CORS Headers
All files are served with CORS headers enabled for cross-origin requests:
Caching
Files are cached for optimal performance: