{
"query": "laugh",
"locale": "en",
"count": 6,
"results": [
{
"emoji": "🤣",
"hexcode": "1F923",
"name": "rolling on the floor laughing",
"keywords": [
"crying",
"face",
"floor",
"funny",
"haha",
"happy",
"hehe",
"hilarious",
"joy",
"laugh",
"lmao",
"lol",
"rofl",
"roflmao",
"rolling",
"tear"
],
"category": "smileys & emotion",
"subcategory": "smiling",
"unicodeVersion": 3,
"skinTones": false,
"shortcodes": [
":rofl:"
],
"htmlEntity": "🤣"
},
{
"emoji": "😀",
"hexcode": "1F600",
"name": "grinning face",
"keywords": [
"cheerful",
"cheery",
"face",
"grin",
"grinning",
"happy",
"laugh",
"nice",
"smile",
"smiling",
"teeth"
],
"category": "smileys & emotion",
"subcategory": "smiling",
"unicodeVersion": 1,
"skinTones": false,
"shortcodes": [
":grinning:"
],
"htmlEntity": "😀"
},
{
"emoji": "😄",
"hexcode": "1F604",
"name": "grinning face with smiling eyes",
"keywords": [
"eye",
"eyes",
"face",
"grin",
"grinning",
"happy",
"laugh",
"lol",
"mouth",
"open",
"smile",
"smiling"
],
"category": "smileys & emotion",
"subcategory": "smiling",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":smile:"
],
"htmlEntity": "😄"
},
{
"emoji": "😆",
"hexcode": "1F606",
"name": "grinning squinting face",
"keywords": [
"closed",
"eyes",
"face",
"grinning",
"haha",
"hahaha",
"happy",
"laugh",
"lol",
"mouth",
"open",
"rofl",
"smile",
"smiling",
"squinting"
],
"category": "smileys & emotion",
"subcategory": "smiling",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":laughing:",
":satisfied:"
],
"htmlEntity": "😆"
},
{
"emoji": "😂",
"hexcode": "1F602",
"name": "face with tears of joy",
"keywords": [
"crying",
"face",
"feels",
"funny",
"haha",
"happy",
"hehe",
"hilarious",
"joy",
"laugh",
"lmao",
"lol",
"rofl",
"roflmao",
"tear"
],
"category": "smileys & emotion",
"subcategory": "smiling",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":joy:"
],
"htmlEntity": "😂"
},
{
"emoji": "😹",
"hexcode": "1F639",
"name": "cat with tears of joy",
"keywords": [
"animal",
"cat",
"face",
"joy",
"laugh",
"laughing",
"lol",
"tear",
"tears"
],
"category": "smileys & emotion",
"subcategory": "cat faces",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":joy_cat:"
],
"htmlEntity": "😹"
}
],
"attribution": "Emoji data: Emojibase (MIT)"
}
curl --location --request GET 'https://zylalabs.com/api/14242/emoji+search+api+-+6+languages+shortcodes/35355/search+emojis+by+keyword?q=laugh&locale=en&limit=20' --header 'Authorization: Bearer YOUR_API_KEY'
{
"emoji": "🔥",
"hexcode": "1F525",
"name": "fire",
"keywords": [
"af",
"burn",
"flame",
"hot",
"lit",
"litaf",
"tool"
],
"category": "travel & places",
"subcategory": "weather",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":fire:"
],
"htmlEntity": "🔥",
"codepoints": [
"U+1F525"
],
"attribution": "Emoji data: Emojibase (MIT)"
}
curl --location --request GET 'https://zylalabs.com/api/14242/emoji+search+api+-+6+languages+shortcodes/35356/emoji+details?locale=en&emoji=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"locale": "en",
"categories": [
{
"name": "smileys & emotion",
"count": 171
},
{
"name": "people & body",
"count": 388
},
{
"name": "components",
"count": 9
},
{
"name": "animals & nature",
"count": 160
},
{
"name": "food & drink",
"count": 131
},
{
"name": "travel & places",
"count": 219
},
{
"name": "activities",
"count": 85
},
{
"name": "objects",
"count": 266
},
{
"name": "symbols",
"count": 224
},
{
"name": "flags",
"count": 270
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14242/emoji+search+api+-+6+languages+shortcodes/35357/categories?locale=en' --header 'Authorization: Bearer YOUR_API_KEY'
{
"category": "flags",
"count": 270,
"emojis": [
{
"emoji": "🏁",
"hexcode": "1F3C1",
"name": "chequered flag",
"keywords": [
"checkered",
"chequered",
"finish",
"flag",
"flags",
"game",
"race",
"racing",
"sport",
"win"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":checkered_flag:"
],
"htmlEntity": "🏁"
},
{
"emoji": "🚩",
"hexcode": "1F6A9",
"name": "triangular flag",
"keywords": [
"construction",
"flag",
"golf",
"post",
"triangular"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":triangular_flag_on_post:"
],
"htmlEntity": "🚩"
},
{
"emoji": "🎌",
"hexcode": "1F38C",
"name": "crossed flags",
"keywords": [
"celebration",
"cross",
"crossed",
"flags",
"japanese"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":crossed_flags:"
],
"htmlEntity": "🎌"
},
{
"emoji": "🏴",
"hexcode": "1F3F4",
"name": "black flag",
"keywords": [
"black",
"flag",
"waving"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 1,
"skinTones": false,
"shortcodes": [
":black_flag:"
],
"htmlEntity": "🏴"
},
{
"emoji": "🏳️",
"hexcode": "1F3F3",
"name": "white flag",
"keywords": [
"flag",
"waving",
"white"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 0.7,
"skinTones": false,
"shortcodes": [
":white_flag:"
],
"htmlEntity": "🏳️"
},
{
"emoji": "🏳️🌈",
"hexcode": "1F3F3-FE0F-200D-1F308",
"name": "rainbow flag",
"keywords": [
"bisexual",
"flag",
"gay",
"genderqueer",
"glbt",
"glbtq",
"lesbian",
"lgbt",
"lgbtq",
"lgbtqia",
"pride",
"queer",
"rainbow",
"trans",
"transgender"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 4,
"skinTones": false,
"shortcodes": [
":rainbow_flag:"
],
"htmlEntity": "🏳️🌈"
},
{
"emoji": "🏳️⚧️",
"hexcode": "1F3F3-FE0F-200D-26A7-FE0F",
"name": "transgender flag",
"keywords": [
"blue",
"flag",
"light",
"pink",
"transgender",
"white"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 13,
"skinTones": false,
"shortcodes": [
":transgender_flag:"
],
"htmlEntity": "🏳️⚧️"
},
{
"emoji": "🏴☠️",
"hexcode": "1F3F4-200D-2620-FE0F",
"name": "pirate flag",
"keywords": [
"flag",
"jolly",
"pirate",
"plunder",
"roger",
"treasure"
],
"category": "flags",
"subcategory": "other flags",
"unicodeVersion": 11,
"skinTones": false,
"shortcodes": [
":pirate_flag:"
],
"htmlEntity": "🏴☠️"
},
{
"emoji": "🇦🇨",
"hexcode": "1F1E6-1F1E8",
"name": "flag: Ascension Island",
"keywords": [
"AC",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":ascension_island:"
],
"htmlEntity": "🇦🇨"
},
{
"emoji": "🇦🇩",
"hexcode": "1F1E6-1F1E9",
"name": "flag: Andorra",
"keywords": [
"AD",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":andorra:"
],
"htmlEntity": "🇦🇩"
},
{
"emoji": "🇦🇪",
"hexcode": "1F1E6-1F1EA",
"name": "flag: United Arab Emirates",
"keywords": [
"AE",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":united_arab_emirates:"
],
"htmlEntity": "🇦🇪"
},
{
"emoji": "🇦🇫",
"hexcode": "1F1E6-1F1EB",
"name": "flag: Afghanistan",
"keywords": [
"AF",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":afghanistan:"
],
"htmlEntity": "🇦🇫"
},
{
"emoji": "🇦🇬",
"hexcode": "1F1E6-1F1EC",
"name": "flag: Antigua & Barbuda",
"keywords": [
"AG",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":antigua_barbuda:"
],
"htmlEntity": "🇦🇬"
},
{
"emoji": "🇦🇮",
"hexcode": "1F1E6-1F1EE",
"name": "flag: Anguilla",
"keywords": [
"AI",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":anguilla:"
],
"htmlEntity": "🇦🇮"
},
{
"emoji": "🇦🇱",
"hexcode": "1F1E6-1F1F1",
"name": "flag: Albania",
"keywords": [
"AL",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":albania:"
],
"htmlEntity": "🇦🇱"
},
{
"emoji": "🇦🇲",
"hexcode": "1F1E6-1F1F2",
"name": "flag: Armenia",
"keywords": [
"AM",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":armenia:"
],
"htmlEntity": "🇦🇲"
},
{
"emoji": "🇦🇴",
"hexcode": "1F1E6-1F1F4",
"name": "flag: Angola",
"keywords": [
"AO",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false,
"shortcodes": [
":angola:"
],
"htmlEntity": "🇦🇴"
},
{
"emoji": "🇦🇶",
"hexcode": "1F1E6-1F1F6",
"name": "flag: Antarctica",
"keywords": [
"AQ",
"flag"
],
"category": "flags",
"subcategory": "country flags",
"unicodeVersion": 2,
"skinTones": false
}
],
"_note": "Response truncated for documentation purposes"
}
curl --location --request GET 'https://zylalabs.com/api/14242/emoji+search+api+-+6+languages+shortcodes/35358/emojis+in+a+category?locale=en&cat=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"count": 3,
"emojis": [
{
"emoji": "🙋",
"hexcode": "1F64B",
"name": "person raising hand",
"keywords": [
"gesture",
"hand",
"here",
"know",
"me",
"person",
"pick",
"question",
"raise",
"raising"
],
"category": "people & body",
"subcategory": "gestures",
"unicodeVersion": 0.6,
"skinTones": true,
"shortcodes": [
":raising_hand:"
],
"htmlEntity": "🙋"
},
{
"emoji": "💽",
"hexcode": "1F4BD",
"name": "computer disk",
"keywords": [
"computer",
"disk",
"minidisk",
"optical"
],
"category": "objects",
"subcategory": "computer",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":minidisc:"
],
"htmlEntity": "💽"
},
{
"emoji": "🔏",
"hexcode": "1F50F",
"name": "locked with pen",
"keywords": [
"ink",
"lock",
"locked",
"nib",
"pen",
"privacy"
],
"category": "objects",
"subcategory": "lock & keys",
"unicodeVersion": 0.6,
"skinTones": false,
"shortcodes": [
":lock_with_ink_pen:"
],
"htmlEntity": "🔏"
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14242/emoji+search+api+-+6+languages+shortcodes/35359/random+emojis?count=3&locale=en' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Emoji搜索API - 6种语言短代码 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
每个端点返回关于表情符号的详细信息,包括它们的名称、关键词、类别、短代码、代码点和HTML实体。例如,“按关键词搜索表情符号”端点提供与关键词匹配的表情符号列表及其属性
响应数据中的关键字段包括“emoji”(字符) “hexcode”(Unicode表示) “name”(描述) “keywords”(相关术语) “category”(分组) “shortcodes”(文本表示)和“htmlEntity”(HTML代码)
参数包括“query”用于通过关键字搜索表情符号,“locale”用于选择语言,以及“category”用于过滤表情符号。用户可以通过指定这些参数来自定义请求,以细化搜索结果
响应数据以JSON格式结构化,主对象包含“query”、“locale”和“count”等字段,“results”数组包含单个emoji对象,每个对象都有其属性,使其易于解析和使用
Emoji数据来源于Emojibase,该平台提供全面和标准化的emoji信息。这确保数据准确且符合最新的emoji标准
典型的用例包括在应用程序中集成表情符号搜索功能 增强用户界面以支持表情符号 并为多样化的受众支持多语言表情符号搜索 开发人员可以利用此 API 来丰富用户体验
用户可以通过在应用程序中显示表情符号来利用返回的数据 根据类别或关键字过滤结果 并使用简码便捷地插入表情符号 结构化格式允许在各种平台中轻松集成
如果搜索返回部分或空结果,用户应检查他们的查询是否有拼写错误或尝试更广泛的关键词。实施后备机制,例如建议相关关键词或显示默认表情符号集,可以增强用户体验