Ben Borgers / Posts /

How to programmatically get an image for any emoji

January 24, 2021 by @benborgers

I wanted to be able to get a PNG image of any emoji, so I built a quick API for it.

It's called EMOJICDN, and all you have to do is go to emojicdn.elk.sh/<emoji> to get an image of that emoji. For example (try it!):

emojicdn.elk.sh/🐢

By default, the API returns the Apple artwork for the emoji. However, you can pass in a ?style= parameter to get another platform's artwork. A full list of supported styles is documented here.

emojicdn.elk.sh/🐢?style=messenger

A quick favor: was anything I wrote incorrect or misspelled, or do you still have questions? Please use this form to let me know or ask for help!

Loading...