Skip to Content

Trending

The live channels most watched now, 30 a page.

GET
/v1/twitch/trending

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

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.trending();
Example Response
{  "data": [    {      "live": true,      "roomId": "318474441316",      "title": "RUSHEADA 🗣️ CUIDAO QUE TE LO PASAS 🗣️ NO CORRAS 🗣️ MÁS LENTO JUAN 🗣️ - Grand Theft Auto VI #6",      "viewers": 72080,      "startedAt": "2026-11-25T16:06:49.000Z",      "coverUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_illojuan-1280x720.jpg",      "host": {        "id": "90075649",        "username": "illojuan",        "displayName": "IlloJuan",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/43bec3fa-0027-4d4f-91ce-f3ebc1ec264d-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/illojuan"      },      "ext": {        "category": {          "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"        },        "language": "ES",        "tags": [          "Español",          "DropsActivados"        ],        "labels": [          "MatureGame"        ],        "rerun": false,        "chatters": null,        "videoId": "2940424560",        "fps": 60,        "width": 2560,        "height": 1440,        "lastLiveAt": "2026-11-25T16:06:49.000Z"      }    },    {      "live": true,      "roomId": "318415094242",      "title": "🔴[DROPS] GTA 6 FULL PLAYTHROUGH *ALMOST DONE*🔴",      "viewers": 36156,      "startedAt": "2026-11-25T13:36:37.000Z",      "coverUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_ohnepixel-1280x720.jpg",      "host": {        "id": "43683025",        "username": "ohnepixel",        "displayName": "ohnePixel",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/5742b015-e6ed-4f7c-a1dd-87cd88fe1eb9-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/ohnepixel"      },      "ext": {        "category": {          "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"        },        "language": "EN",        "tags": [          "English",          "Drops",          "DropsEnabled"        ],        "labels": [          "MatureGame"        ],        "rerun": false,        "chatters": null,        "videoId": "2940322036",        "fps": 60,        "width": 2560,        "height": 1440,        "lastLiveAt": "2026-11-25T13:36:37.000Z"      }    }  ],  "pagination": {    "nextCursor": "eyJzIjo4ODY5LjIyMzc1OTcyNzE0LCJkIjpmYWxzZSwidCI6dHJ1ZX0=",    "hasMore": true  }}