Twitch API
20 endpoints for channels, clips and live status.
Every Twitch endpoint, by group. Each is a GET under /v1/twitch.
Quick Reference
| Property | Value |
|---|---|
| Base path | /v1/twitch |
| Endpoints | 20 |
| Credits | 1 a call |
| Guide | Twitch |
Accounts
GETProfile
/v1/twitch/profileA channel with its follower count and links.1 creditGETProfile Clips/v1/twitch/profile/clipsA channel's clips, most viewed first, 30 a page.1 creditGETProfile Posts/v1/twitch/profile/postsA channel's videos, 30 a page.1 creditGETProfile Schedule/v1/twitch/profile/scheduleA channel's coming broadcasts, 30 a page.1 creditGETLive/v1/twitch/liveWhether a channel is live, with its broadcast.1 creditPosts
GETPost
/v1/twitch/postOne video or clip with its views and a link to play it.1 creditGETPost Comments/v1/twitch/post/commentsA video's chat replay, about 60 messages a page.1 creditCategories
GETCategory
/v1/twitch/categoryA category with its viewers, channels and followers.1 creditGETCategory Clips/v1/twitch/category/clipsA category's clips, most viewed first, 30 a page.1 creditGETCategory Lives/v1/twitch/category/livesA category's live channels, most watched first.1 creditGETCategory Posts/v1/twitch/category/postsA category's videos, 30 a page.1 creditDiscovery
GETSearch
/v1/twitch/searchVideos matching a query, 20 a page.1 creditGETSearch Categories/v1/twitch/search/categoriesCategories matching a query, 30 a page.1 creditGETSearch Lives/v1/twitch/search/livesLive channels matching a query, 30 a page.1 creditGETSearch Suggestions/v1/twitch/search/suggestionsWhat the search box suggests for a few letters.1 creditGETSearch Users/v1/twitch/search/usersChannels matching a query, 30 a page.1 creditGETTrending/v1/twitch/trendingThe live channels most watched now, 30 a page.1 creditGETTrending Categories/v1/twitch/trending/categoriesThe categories most watched now, 30 a page.1 creditBatch
GETBatch Live
/v1/twitch/batch/liveUp to 100 channels' live status at once.1 creditGETBatch Profiles/v1/twitch/batch/profilesUp to 50 channels at once, by their logins.1 creditExample Request
Every Twitch endpoint is called this way: its path, and what to read as query parameters.
import { SocialAPI } from "@socialapihq/sdk";
const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });
const { data } = await client.twitch.profile({ handle: "shroud" });{
"data": {
"id": "37402112",
"username": "shroud",
"displayName": "shroud",
"bio": "I'm back baby",
"avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/c754eebf-745b-4e0a-814a-10bcaecaabbc-profile_image-300x300.png",
"url": "https://www.twitch.tv/shroud",
"verified": true,
"private": false,
"followers": 11286234,
"following": null,
"likes": null,
"posts": 1624,
"externalUrl": null,
"createdAt": "2012-11-03T15:50:32.878Z",
"ext": {
"partner": true,
"affiliate": false,
"live": true,
"bannerUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/dbee25e8-55b7-4565-87f0-e9d4661dcc66-profile_banner-480.jpeg",
"offlineImageUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/0e68b939-5868-4ee5-b2b8-fdb51521c84d-channel_offline_image-1920x1080.jpeg",
"color": "#00ADFF",
"language": "EN",
"links": [
{
"name": "discord",
"title": "Discord",
"url": "https://discord.gg/shroud"
},
{
"name": "twitter",
"title": "Twitter",
"url": "https://twitter.com/shroud"
},
{
"name": "youtube",
"title": "YouTube",
"url": "https://youtube.com/shroud"
}
],
"panels": [
{
"title": null,
"description": null,
"imageUrl": "https://panels.twitch.tv/panel-37402112-image-b4e05d8f-d6ac-44d4-bd27-ee2cc7f3c13a",
"linkUrl": "https://load.gg/shroud-palworldocg"
},
{
"title": null,
"description": null,
"imageUrl": "https://panels.twitch.tv/panel-37402112-image-407517f5-8549-42ec-9433-d19837869c09",
"linkUrl": "https://load.gg/shroudLogitech"
},
{
"title": null,
"description": null,
"imageUrl": "https://panels.twitch.tv/panel-37402112-image-503ca1b8-22d5-4eab-b610-e673c13860d8",
"linkUrl": "https://www.youtube.com/shroud"
}
],
"team": {
"name": "loadedllc",
"displayName": "Loaded",
"url": "https://www.twitch.tv/team/loadedllc"
},
"lastLiveAt": "2026-11-25T17:38:22.069Z",
"lastTitle": "day3.. we finally got lucia the real main character YAHOO!",
"lastCategory": {
"id": "1867279146",
"name": "Grand Theft Auto VI",
"slug": "grand-theft-auto-vi",
"url": "https://www.twitch.tv/directory/category/grand-theft-auto-vi",
"coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/1867279146_IGDB-285x380.jpg"
},
"updatedAt": "2026-11-25T17:35:01.451Z"
}
}
}Errors
A call that fails costs nothing. See Errors for every code.