Skip to Content

Category Lives

A category's live channels, most watched first.

GET
/v1/twitch/category/lives

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

name?string

The category's name as written (Just Chatting).

slug?string

The name in its link (just-chatting), instead of name.

id?string

Its numeric id, instead of either.

url?string

Its link, instead of any.

language?string

Only channels broadcasting in this language (en, tr).

tag?string

Only broadcasts with this tag (DropsEnabled).

cursor?string

nextCursor of the previous page.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.

data*array<>
pagination*
Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.twitch.categoryLives({ slug: "just-chatting" });
Example Response
{  "data": [    {      "live": true,      "roomId": "319487525605",      "title": "😎🤙🏿 провожаем пузатую шалупонь в 161616 + vidigame on computer",      "viewers": 32486,      "startedAt": "2026-11-25T17:03:59.000Z",      "coverUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_dangerlyoha-1280x720.jpg",      "host": {        "id": "402093335",        "username": "dangerlyoha",        "displayName": "dangerlyoha",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/85b8bdfa-f8ed-4b8f-ac26-0bf7439cd115-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/dangerlyoha"      },      "ext": {        "category": {          "id": "509658",          "name": "Just Chatting",          "slug": "just-chatting",          "url": "https://www.twitch.tv/directory/category/just-chatting",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/509658-285x380.jpg"        },        "language": "EN",        "tags": [          "Русский",          "DropsВключены"        ],        "labels": [],        "rerun": false,        "chatters": null,        "videoId": "2940471163",        "fps": 60,        "width": 1920,        "height": 1080,        "lastLiveAt": "2026-11-25T17:03:59.000Z"      }    },    {      "live": true,      "roomId": "321297480286",      "title": "[DROPS ON] UNBANNED GTA 6 RELEASE STREAM FOREVER WOW BIG DAY HUGE DRAMA NEW GAMES BIG NEWS !restedXP | @asmongold247",      "viewers": 31943,      "startedAt": "2026-11-25T18:34:55.000Z",      "coverUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_zackrawrr-1280x720.jpg",      "host": {        "id": "552120296",        "username": "zackrawrr",        "displayName": "zackrawrr",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/a9ce83ba-c0bd-49cc-83bd-9d17647a211a-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/zackrawrr"      },      "ext": {        "category": {          "id": "509658",          "name": "Just Chatting",          "slug": "just-chatting",          "url": "https://www.twitch.tv/directory/category/just-chatting",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/509658-285x380.jpg"        },        "language": "EN",        "tags": [          "English",          "politics",          "bald"        ],        "labels": [          "DebatedSocialIssuesAndPolitics"        ],        "rerun": false,        "chatters": null,        "videoId": "2940553066",        "fps": 60,        "width": 1920,        "height": 1080,        "lastLiveAt": "2026-11-25T18:34:55.000Z"      }    }  ],  "pagination": {    "nextCursor": "eyJzIjoxMjUwLjgwMzI5Njk5MDY0NywiZCI6ZmFsc2UsInQiOnRydWV9",    "hasMore": true  }}