Telegram Custom Emoji ID Lookup and JSON API
Find which Telegram pack owns a custom emoji ID, or use the Emoji Library API to search packs and get IDs for bot messages and buttons.
Find a pack by custom emoji ID
Paste the custom_emoji_id from your bot’s message entity or the icon_custom_emoji_id from a keyboard button. Try 5325536405093384220 to find the source of the animated checkmark.
Public JSON endpoints
Use GET on this site. These endpoints are read-only and require no API key. Resolve relative pageUrl, preview, and animation paths against the site origin. Use pageUrl to cite a library pack or telegramUrl for its original Telegram link. Keep every ID as a string.
GET /api/emoji-search
Pass q with words or a fallback emoji. Add pack to restrict matches to a catalog pack’s short name, case-insensitively. The query is clipped to 100 characters and uses up to six word tokens. Results contain up to 60 emoji, or up to 200 with a pack filter. total counts emoji matches before truncation. Pack matches and suggestions are returned separately. A blank query or unknown pack filter returns empty matches with HTTP 200.
{
"ok": true,
"query": "checkmark",
"emoji": [
{
"pack": "checkified",
"id": "5325536405093384220",
"fallback": "✅",
"format": "animated",
"adaptive": true,
"preview": "/api/emoji-pack/checkified/5325536405093384220",
"animation": "/api/emoji-pack/checkified/5325536405093384220/anim",
"score": 5,
"pageUrl": "/emoji/checkified#e=5325536405093384220"
}
],
"packs": [
{
"name": "checkified",
"score": 2.7,
"hits": 1,
"pageUrl": "/emoji/checkified"
}
],
"suggest": {
"complete": [],
"related": [],
"categories": [],
"didYouMean": null
},
"total": 1
}GET /api/emoji-pack/[name]
Use the short name from a Telegram t.me/addemoji/… link. Names use 1–64 ASCII letters, digits, or underscores. The response contains the original pack title and up to 200 emoji. Each entry has a string id, a Unicode fallback, a format of static, animated (TGS), or video (WebM), an adaptive flag for text-color repainting, and relative media paths or null. pageUrl is null for a pack outside this catalog.
Get the full checkified pack. This excerpt shows its checkmark.
{
"ok": true,
"name": "checkified",
"title": "checkified, @svg5926tgsbot",
"emoji": [
{
"id": "5325536405093384220",
"fallback": "✅",
"format": "animated",
"adaptive": true,
"preview": "/api/emoji-pack/checkified/5325536405093384220",
"animation": "/api/emoji-pack/checkified/5325536405093384220/anim"
}
],
"pageUrl": "/emoji/checkified",
"telegramUrl": "https://t.me/addemoji/checkified"
}GET /api/emoji-pack/by-id
Pass ids as a comma-separated list of 1–200 distinct IDs. Each ID is 1–20 digits. Duplicates are collapsed, and unknown IDs are omitted. A valid lookup with no matches returns HTTP 200 and an empty emoji array. Use the returned set with the pack endpoint to get the emoji’s fallback and format.
{
"ok": true,
"emoji": [
{
"id": "5325536405093384220",
"set": "checkified",
"pageUrl": "/emoji/checkified#e=5325536405093384220",
"telegramUrl": "https://t.me/addemoji/checkified"
}
]
}Errors and request limits
Limits apply per client, endpoint, and running server instance over a one-minute window. Search allows 240 requests. Pack reads and ID lookups each allow 30. Cached responses can bypass those counters. On HTTP 429, wait for Retry-After when present, or wait a minute before retrying.
400 BAD_REQUESTfor an invalid ID list, or400 PACK_NAMEfor an invalid pack name.404 PACK_NOT_FOUNDfor an unknown pack and422 NOT_EMOJI_PACKfor a sticker set with a different type.429 RATE_LIMITEDfor throttling. The resolver can also return413 TOO_LARGE,502 TELEGRAM_ERRORorTELEGRAM_UNREACHABLE, and503 BUSYorRESOLVER_OFF.500 INTERNALsignals an unexpected server error.
{
"ok": false,
"error": {
"code": "BAD_REQUEST",
"message": "ids: 1 to 200 custom emoji ids (digits), comma-separated"
}
}Use the ID in your bot
For an HTML message, pass parse_mode: "HTML" with the pack’s fallback emoji inside the tag. A message entity stores the ID in custom_emoji_id. A keyboard button stores the same string in icon_custom_emoji_id.
<tg-emoji emoji-id="5325536405093384220">✅</tg-emoji>See the complete Telegram Bot API payloads and the source pack and checkmark.