Emoji API
The Emoji API provides image and metadata for all Unicode emojis. The data is updated periodically to fetch new emojis.
From 3,259 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 265ms | 295ms | 327ms | 591ms | 1124ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/emoji GET
https://api.api-ninjas.com/v1/emoji
Returns a list of emojis according to input parameters. Returns at most 30 results. To access more than 30 results, use the offset parameter to offset results in multiple API calls.
Parameters
At least one of the following parameters (other than offset) must be set:
nameoptionalDescriptive name of emoji.
codeoptionalUnicode character code for the emoji.
groupoptionalMain category the emoji belongs to. Possible values are:
smileys_emotionpeople_bodycomponentanimals_naturefood_drinktravel_placesactivitiesobjectssymbolsflagssubgroupoptionalSub-category the emoji belongs to. Possible values are:
offsetoptionalNumber of results to offset for pagination.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
codeUnicode character code for the emoji (e.g., "U+1F642").
characterThe emoji character itself.
imageURL to an image of the emoji.
nameDescriptive name of the emoji.
groupMain category the emoji belongs to.
subgroupSub-category the emoji belongs to.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/emoji?name=slightly%20smiling%20faceHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/emoji?name=smile" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
Frequently Asked Questions
Can I use the Emoji API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Emoji API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Emoji API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Emoji API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.How do I look up a specific emoji with the Emoji API?
Set at least one of thename(descriptive name like slightly smiling face),code(Unicode character code such as U+1F642),group, orsubgroupquery parameters to filter the results. You can create a free account to get an API key and try the live demo on the docs page.What data does the Emoji API return for each emoji?
Each result is a JSON object with thecode(Unicode character code),character(the emoji itself),image(a URL to a PNG image of the emoji),name,group, andsubgroupfields. Theimagefield is handy when you need rendered graphics rather than raw glyphs, similar to our Random Image API.How do I get more than 30 emojis in a single category?
A single request returns at most 30 results, so combine a category filter likegroup(e.g. food_drink) orsubgroupwith theoffsetparameter to paginate through additional results across multiple calls. See the available request volume on our pricing page.How fresh is the emoji data and where does it come from?
The API covers every Unicode emoji and the dataset is updated periodically to fetch newly released emojis. If you need image or metadata coverage for other assets, check out the Logo API or browse all our available APIs.