Twitch
Read Twitch users, streams, channels, clips and the subscriber count of your channel.
Get Twitch user
Looks up a Twitch account by its login name.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Connection | Text | No | The Twitch connection from the Integrations page that this action uses. Maximum length: 64 characters. |
| Login name | Text | Yes | The name in the channel address, for example twitchdev for twitch.tv/twitchdev. Maximum length: 25 characters. |
Outputs
| Name | Type | Details |
|---|---|---|
| Found | Yes/No | Whether the account exists. When it does not, everything else is empty. |
| Twitch ID | ID | The Twitch ID of the account. May be empty. |
| Login name | Text | The login name in lowercase. May be empty. |
| Display name | Text | The name Twitch shows. May be empty. |
| About | Text | The channel description. May be empty. |
| Profile picture | URL | The profile picture of the account. May be empty. |
| Partner status | Text | partner, affiliate, or empty text for other channels. May be empty. |
| Created at | Date and time | When the account was created. May be empty. |
Get stream
Checks whether a channel is live and reads its stream. When the channel is not live, everything but "Is live" is empty.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Connection | Text | No | The Twitch connection from the Integrations page that this action uses. Maximum length: 64 characters. |
| Login name | Text | Yes | The login name of the channel, for example twitchdev. Maximum length: 25 characters. |
Outputs
| Name | Type | Details |
|---|---|---|
| Is live | Yes/No | Whether the channel is live right now. |
| Title | Text | The title of the stream. May be empty. |
| Game | Text | The game or category being streamed. May be empty. |
| Viewers | Whole number | How many people are watching. May be empty. |
| Live since | Date and time | When the stream started. May be empty. |
| Language | Text | The language of the stream, for example en. May be empty. |
Get channel info
Reads the title, game and tags of a channel by its Twitch ID.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Connection | Text | No | The Twitch connection from the Integrations page that this action uses. Maximum length: 64 characters. |
| Twitch ID | ID | No | The Twitch ID of the channel. Get it with "Get Twitch user". Leave empty to use the connected Twitch account. |
Outputs
| Name | Type | Details |
|---|---|---|
| Found | Yes/No | Whether the channel exists. When it does not, everything else is empty. |
| Display name | Text | The name Twitch shows. May be empty. |
| Login name | Text | The login name of the channel. May be empty. |
| Language | Text | The language of the channel, for example en. May be empty. |
| Game | Text | The game or category of the current or last stream. May be empty. |
| Title | Text | The title of the current or last stream. May be empty. |
| Tags | List of Text | The tags of the channel. May be empty. |
Get latest clips
Gets the clips of a channel made in the week after a time, most viewed first. Set the time to 7 days ago for this week's clips.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Connection | Text | No | The Twitch connection from the Integrations page that this action uses. Maximum length: 64 characters. |
| Twitch ID | ID | No | The Twitch ID of the channel. Get it with "Get Twitch user". Leave empty to use the connected Twitch account. |
| Made after | Date and time | No | Start of the week to read clips from. Empty: the most viewed clips of all time. |
| How many | Whole number | No | How many clips to get, 1 to 100. Value: 1 to 100. Default: 5. |
Outputs
| Name | Type | Details |
|---|---|---|
| Clips | List of Twitch clip | The clips, most viewed first. |
Get subscriber count
Reads how many people subscribe to your channel. Only works for the channel whose Twitch account is connected.
Inputs
| Name | Type | Required | Details |
|---|---|---|---|
| Connection | Text | No | The Twitch connection from the Integrations page that this action uses. Maximum length: 64 characters. |
| Twitch ID | ID | No | The Twitch ID of your channel. Leave empty to use the connected Twitch account. |
Outputs
| Name | Type | Details |
|---|---|---|
| Subscribers | Whole number | How many people subscribe. |
| Subscriber points | Whole number | Points from all subscriptions: tier 1 counts 1, tier 2 counts 2, tier 3 counts 6. |
Need more help?
Can't find what you're looking for? Our team is happy to help.