Emoji API
The Emoji API provides image and metadata for all Unicode emojis. The data is updated periodically to fetch new emojis.
/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:
- nameoptional- Descriptive name of emoji. 
- codeoptional- Unicode character code for the emoji. 
- groupoptional- Main category the emoji belongs to. Possible values are: - smileys_emotion- people_body- component- animals_nature- food_drink- travel_places- activities- objects- symbols- flags
- subgroupoptional- Sub-category the emoji belongs to. Possible values are: 
- offsetoptional- Number of results to offset for pagination. 
Headers
- X-Api-Keyrequired- API Key associated with your account. 
Sample Request Live Demo!
https://api.api-ninjas.com/v1/emoji?name=slightly smiling faceHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
1
2
3
4
5
6
7
8
9
10
[
        {
          "code": "U+1F642",
          "character": "🙂",
          "image": "https://api-ninjas-data.s3.us-west-2.amazonaws.com/emojis/U%2B1F642.png",
          "name": "slightly smiling face",
          "group": "Smileys & Emotion",
          "subgroup": "face-smiling"
        }
      ]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.