Skip to Content

Twitch API

20 endpoints for channels, clips and live status.

Every Twitch endpoint, by group. Each is a GET under /v1/twitch.

Quick Reference

PropertyValue
Base path/v1/twitch
Endpoints20
Credits1 a call
GuideTwitch

Accounts

Posts

Categories

Discovery

Batch

Example 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" });
Response
{
  "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.