Skip to Content

Search Lives

Live channels matching a query, 30 a page.

GET
/v1/twitch/search/lives

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

query*string

What to search for.

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.searchLives({ query: "valorant" });
Example Response
{  "data": [    {      "live": true,      "roomId": "321353907164",      "title": "[SUBATHON MIAMI] MATCHDAY - VCT 2027 EMEA Kickoff Swiss Stage [BO3] : Joblife vs WIP Esports | 0-0 | !holy !free !astro !bfd !tr",      "viewers": 15701,      "startedAt": "2026-11-25T06:42:20.000Z",      "coverUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_jltomy-1280x720.jpg",      "host": {        "id": "155601320",        "username": "jltomy",        "displayName": "JLTomy",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/aa2bc80a-e317-494a-a94d-7492889e4f66-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/jltomy"      },      "ext": {        "category": {          "id": "516575",          "name": "VALORANT",          "slug": "valorant",          "url": "https://www.twitch.tv/directory/category/valorant",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/516575-285x380.jpg"        },        "language": "FR",        "tags": [          "Français",          "DropsActivés"        ],        "labels": [],        "rerun": false,        "chatters": null,        "videoId": "2940143792",        "fps": 60,        "width": 2560,        "height": 1440,        "lastLiveAt": "2026-11-25T06:42:20.000Z"      }    },    {      "live": true,      "roomId": "318417988578",      "title": "SOLOQ VALORANT PRIME HEHE LOL WOWERS",      "viewers": 1026,      "startedAt": "2026-11-25T18:24:55.000Z",      "coverUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_mixwell-1280x720.jpg",      "host": {        "id": "96116107",        "username": "mixwell",        "displayName": "Mixwell",        "avatarUrl": "https://static-cdn.jtvnw.net/jtv_user_pictures/6d3b4513-6824-4912-848c-dc046ee262ad-profile_image-300x300.png",        "verified": true,        "url": "https://www.twitch.tv/mixwell"      },      "ext": {        "category": {          "id": "516575",          "name": "VALORANT",          "slug": "valorant",          "url": "https://www.twitch.tv/directory/category/valorant",          "coverUrl": "https://static-cdn.jtvnw.net/ttv-boxart/516575-285x380.jpg"        },        "language": "ES",        "tags": [          "Español",          "pro",          "otakar"        ],        "labels": [],        "rerun": false,        "chatters": null,        "videoId": "2940543880",        "fps": 60,        "width": 1920,        "height": 1080,        "lastLiveAt": "2026-11-25T18:24:55.000Z"      }    }  ],  "pagination": {    "nextCursor": "MzA=",    "hasMore": true  }}