Skip to content

Work in progress

This documentation page is currently work in progress.
Not all existing DecAPI endpoints are documented here yet. For the currently active documentation, please visit docs.decapi.me.

List BetterTTV channel emotes

Returns a space-separated list of BetterTTV emotes available in the channel.
For users that have the BetterTTV browser extension installed (or use a BetterTTV-enabled chat client), the result will display as emotes in chat.

Endpoint URL

https://decapi.me/bttv/emotes/YOUR_TWITCH_CHANNEL_NAME

See examples below for different ways to use the endpoint, using a real Twitch channel name.

Required URL parameters

  • channel - The Twitch channel name to retrieve emotes from.

Query parameters

  • types - Optional - A comma-separated list of types to return. Your options are:
    • all - Default if not specified. Returns all types of emotes.
    • gif - Returns only animated GIF emotes.
    • png - Returns only static PNG image emotes.

Examples

These examples use the Twitch channel name: decicus
Make sure to replace decicus in the URL with the correct Twitch channel name for the channel you wish to get the emotes for.

Examples for bots

Nightbot

Note: Nightbot will automatically convert variables, such as $(channel) or $(touser) to the correct channel name / username, when the command is used.
You do not have to change those variables.

Fossabot

Note: Fossabot will automatically convert variables, such as $(channel) or $(user.login) to the correct channel name / username, when the command is used.
You do not have to change those variables.

StreamElements

Note: StreamElements will automatically convert variables, such as ${channel} or ${touser} to the correct channel name / username, when the command is used.
You do not have to change those variables.

Streamlabs Chat Bot

Note: Streamlabs Chat Bot will automatically convert variables, such as $mychannel or $touserid to the correct channel name / username, when the command is used.
You do not have to change those variables.

Streamlabs Cloudbot

Note: Streamlabs Cloudbot will automatically convert variables, such as {channel.name} or {touser.name} to the correct channel name / username, when the command is used.
You do not have to change those variables.

Deepbot

Note: Deepbot will automatically convert variables, such as @stream@ or @user@ to the correct channel name / username, when the command is used.
You do not have to change those variables.

PhantomBot

Note: PhantomBot will automatically convert variables, such as (channelname) or (touser) to the correct channel name / username, when the command is used.
You do not have to change those variables.