Emoji Family

Emoji API

Emoji Family is powered by our Emoji API, which you can use for free (subject to limits). On this page, we'll dive into the different ways you can use the Emoji API to view metadata about emojis and how you can use the Emoji API to add emojis to your website.

List all emojis

GET
/api/emojis

List metadata for all emojis. The response will be large so you probably want to filter and/or search using the search parameters below.

Search parameters

groupstring

Return emojis in this group

subgroupstring

Return emojis in this subgroup

tagstring

Return emojis with this tag

searchstring

Search the emoji's annotation, subgroup, tags and shortcodes for the given string

includeVariationsboolean

Include emoji variations including skin tone and other modifiers (default is false)

Response

application/jsonhttps://www.emoji.family/api/emojis?group=smileys-emotion&search=smile
Loading...

Example

curl "https://www.emoji.family/api/emojis?search=smile&group=smileys-emotion"

Get emoji metadata

GET
/api/emojis/emoji

Get metadata for a single emoji.

Parameters

emojistring

The emoji character (e.g. πŸŽ‰) or its hexcode (e.g. 1F389)

Errors

404Emoji not found

Response

application/jsonhttps://www.emoji.family/api/emojis/πŸŽ‰
Loading...

Example

curl "https://www.emoji.family/api/emojis/πŸŽ‰"

Get emoji SVG

GET
/api/emojis/emoji/pack/svg

Get an emoji in SVG format.

Parameters

emojistring

The emoji character (e.g. πŸŽ‰) or its hexcode (e.g. 1F389)

packstring

The emoji pack you want to use, at the moment we support noto, twemoji, openmoji, blobmoji, fluent, fluentflat

Errors

404Emoji not found or pack not available

Response

image/svg+xmlhttps://www.emoji.family/api/emojis/πŸŽ‰/fluent/svg

Example

curl "https://www.emoji.family/api/emojis/πŸŽ‰/noto/svg" > party.svg

Get emoji PNG

GET
/api/emojis/emoji/pack/png/size

Get an emoji in PNG format.

Parameters

emojistring

The emoji character (e.g. πŸŽ‰) or its hexcode (e.g. 1F389)

packstring

The emoji pack you want to use, at the moment we support noto, twemoji, openmoji, blobmoji, fluent, fluentflat

sizenumber

Optionally, specify the size of the PNG (default is 512)

Errors

404Emoji not found or pack not available

Response

image/pnghttps://www.emoji.family/api/emojis/πŸŽ‰/fluent/png/64

Example

curl "https://www.emoji.family/api/emojis/πŸŽ‰/noto/png/256" > party.png

Response schema

Both the list all emojis and get emoji metadata endpoints return emoji objects with the following fields. The list endpoint returns an array of these objects, while the metadata endpoint returns a single object.

FieldTypeDescription
emojistringThe emoji character
hexcodestringHexadecimal code point(s), hyphen-separated for multi-codepoint emojis
groupstringThe emoji group (e.g. "smileys-emotion")
subgroupstringThe emoji subgroup (e.g. "face-smiling")
annotationstringHuman-readable name of the emoji
tagsstring[]Searchable tags associated with the emoji
shortcodesstring[]Shortcodes like :party-popper:
emoticonsstring[]ASCII emoticons like :-)
directionalbooleanWhether the emoji has directional variants
variationbooleanWhether this is a skin tone or other variation
variationBasestring | nullHexcode of the base emoji if this is a variation
unicodenumberUnicode version the emoji was introduced
ordernumberSort order within the emoji set
skintonenumber | number[] | nullSkin tone modifier(s) if applicable
skintoneCombinationstring | null"single", "multiple", or null
skintoneBasestring | nullHexcode of the non-skin-tone base emoji

The SVG and PNG endpoints return the image directly with Content-Type: image/svg+xml or Content-Type: image/png respectively.

Groups

Each emoji belongs to a group and a subgroup. Here is a breakdown of all the groups and their respective subgroups:

Limits

The Emoji API is free for both personal and commercial use. However, if you are a large company or expect a high volume of traffic, please contact us to discuss your use case.