Skip to main content

Twitch

Base URL: https://drain.lat/api/v1/twitch
Fetch a Twitch channel profile including live status.
string
required
The Twitch channel username.
string
Twitch user ID.
string
Twitch username.
string
Display name.
string
Channel description.
string
Avatar image URL.
string
Offline banner image URL.
string
Account type: partner, affiliate, or empty string.
number
Total all-time view count.
string
Account creation date (ISO 8601).
boolean
Whether the channel is currently live.
string
Current stream title. Empty string when offline.
string
Game or category being streamed. Empty string when offline.
number
Current viewer count. null when offline.
string
Stream language code.
string[]
Stream tags.
string
Link to the Twitch channel.
Response
Get top clips for a Twitch channel.
string
required
The Twitch channel username.
number
Number of clips to return. Max 20. Default 10.
string
Twitch username.
array
number
Number of clips returned.
Response
Get past broadcasts and VODs for a Twitch channel.
string
required
The Twitch channel username.
number
Number of videos to return. Max 20. Default 10.
string
Twitch username.
array
number
Number of videos returned.
Response