Free JSON API

A free symbols API for developers.

Every glyph in CopyGlyph is available as static JSON: the character, its Unicode code point, HTML entities, CSS escape, alt code and category. No key, no rate limit, CORS enabled. Build your own picker, docs or cheat sheet on it.

Endpoints

All symbols

The full dataset, 285+ symbols in one file.

GET https://copyglyph.dev/api/symbols.json

A single symbol by code point

Pass the decimal code point. For the degree sign (U+00B0 = 176):

GET https://copyglyph.dev/api/symbol/176.json

Categories

GET https://copyglyph.dev/api/categories.json

Example response

{
  "char": "\u00b0",
  "codePoint": 176,
  "unicode": "U+00B0",
  "slug": "u00b0",
  "name": "Degree Sign",
  "categories": ["math"],
  "keywords": ["degree symbol", "degrees", "temperature"],
  "altCode": "Alt 0176 or Alt 248",
  "htmlEntityNamed": "°",
  "htmlEntityDecimal": "°",
  "htmlEntityHex": "°",
  "css": "\\00B0",
  "jsEscape": "\\u00B0",
  "utf8Bytes": "0xC2 0xB0",
  "url": "https://copyglyph.dev/symbol/u00b0"
}

Fetch it

const res = await fetch("https://copyglyph.dev/api/symbols.json");
const { symbols } = await res.json();
const degree = symbols.find((s) => s.codePoint === 176);
console.log(degree.char, degree.unicode); // ° U+00B0

Frequently asked questions

Is the CopyGlyph API really free?

Yes. It is a set of static JSON files served from the CDN. There is no key, no rate limit and no sign up. CORS is open, so you can fetch it from the browser.

Can I use it in a commercial project?

Yes. The data describes public Unicode characters and is free to use. A link back to CopyGlyph is appreciated but not required.

How often does the data change?

It changes when new symbols are added to the reference. Because the files are static and cached, pin to the fields you use rather than assuming a fixed length.

Prefer a drop-in UI? Grab the embeddable symbol picker instead of wiring the API yourself.