Twitch

App · Video & Audio · 3 actions · 1 trigger

Look up Twitch profiles, find live streams, and list channel followers.

Triggers

Start a workflow when something happens in Twitch. See how triggers work.

Twitch channel goes live

Starts the workflow when a channel you specify starts streaming.

Filters

Narrow which events start a run.

channelRequired

Event fields

What a run starts with. Later steps read each field with an @ reference.

stream_idtext
user_idtext
user_logintext
user_nametext
game_idtext
game_nametext
titletext
viewer_countnumber
started_attext

Actions

ActionWhat it does
Get user profileLook up a Twitch user's profile by their username.
List channel followersList the people who follow a channel, along with when they followed and the total follower count.
List live streamsList live streams by channel name or game.

Get user profile

Look up a Twitch user's profile by their username.

Inputs

Usernameuser_logintextRequired
The Twitch username to look up, for example 'ninja'.

Outputs

userobject
The user's profile details.
Example output
{
  "user": {
    "description": "mock_value",
    "display_name": "mock_value",
    "id": "mock_value",
    "login": "mock_value"
  }
}

List channel followers

List the people who follow a channel, along with when they followed and the total follower count. You can only list followers for your own channel or a channel you moderate.

Inputs

Channel usernamechanneltextRequired
The channel's Twitch username, for example 'ninja'. This must be your own channel or one you moderate.
Number of followersfirstnumber
Maximum number of followers to return, from 1 to 100. Defaults to 20.Default: 20.

Outputs

followerslist
The people who follow the channel.
totalnumber
The total number of people who follow the channel.
Example output
{
  "followers": [
    {
      "followed_at": "mock_value",
      "user_id": "mock_value",
      "user_name": "mock_value"
    }
  ],
  "total": 1024
}

List live streams

List live streams by channel name or game.

Inputs

Channel usernameuser_logintext
Only show the live stream for this channel's username, for example 'ninja'.
Game or category IDgame_idtext
Only show streams playing this game or category. Use the numeric ID Twitch assigns to the game or category.
Number of streamsfirstnumber
Maximum number of streams to return, from 1 to 100. Defaults to 20.Default: 20.

Outputs

streamslist
The live streams that matched your search.
Example output
{
  "streams": [
    {
      "id": "mock_value",
      "title": "mock_value",
      "user_id": "mock_value",
      "user_name": "mock_value",
      "viewer_count": 123
    }
  ]
}

On this page