← Back to API Ninjas
Get Emojis
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.
API Ninjas·$0.001 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/emoji"
});
console.log(output);Query parameters
name
string
Descriptive name of emoji.
code
string
Unicode character code for the emoji.
group
string
Main category the emoji belongs to. (Allowed: smileys_emotion, people_body, component, animals_nature, food_drink, travel_places, activities, objects, symbols, flags)
subgroup
string
Sub-category the emoji belongs to.
offset
number
Number of results to offset for pagination.