Skip to content
twitch.apiv2.0

Reference / API groups

twitch.tags

Stream tags (deprecated by Twitch, kept for completeness).

Every method of twitch.tags, with its parameters, what it returns and the token it needs.

twitch.tags.all(params?, options?): Paginator<StreamTag>

Deprecated. Twitch replaced these tags with free text ones in 2023 and this endpoint no longer returns any.

Lists the stream tags defined by Twitch.

Token: app or user.

NameTypeDescription
tag_idstring | readonly string[]Only these tags. Up to 100 IDs.
firstnumberItems per page, 1 to 100. Twitch defaults to 20.
afterstringCursor of the next page.

options: Request options for this call: as, token, signal, timeout, retries.

Paginator<StreamTag>

Fields of StreamTag
NameTypeDescription
tag_idstringID of the tag.
is_autobooleanWhether Twitch applies the tag by itself. Broadcasters cannot add such a tag.
localization_namesRecord<string, string>Name of the tag in each language. Keys are locales such as "en-us".
localization_descriptionsRecord<string, string>Description of the tag in each language. Keys are locales such as "en-us".
const tags = await twitch.tags.all().all();

Twitch reference

twitch.tags.ofChannel(params, options?): Promise<StreamTag[]>

Deprecated. Twitch replaced these tags with free text ones in 2023. Read the tags field of the channel information instead.

Lists the Twitch defined tags applied to a channel.

Token: app or user.

NameTypeDescription
broadcaster_id requiredstringBroadcaster whose tags to list.

options: Request options for this call: as, token, signal, timeout, retries.

Promise<StreamTag[]>

Fields of StreamTag
NameTypeDescription
tag_idstringID of the tag.
is_autobooleanWhether Twitch applies the tag by itself. Broadcasters cannot add such a tag.
localization_namesRecord<string, string>Name of the tag in each language. Keys are locales such as "en-us".
localization_descriptionsRecord<string, string>Description of the tag in each language. Keys are locales such as "en-us".
const tags = await twitch.tags.ofChannel({ broadcaster_id: "141981764" });

Twitch reference