Skip to Content

Live

Whether a channel is live, with its broadcast.

GET
/v1/kick/live

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

handle?string

The channel's name in its link (xqc).

url?string

The channel's link (https://kick.com/xqc), instead of handle.

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

One item, as every single-item endpoint answers: { "data": … }.

data*

A live broadcast, or a channel's live status.

Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.kick.live({ handle: "xqc" });
Example Response
{  "data": {    "live": false,    "roomId": null,    "title": null,    "viewers": null,    "startedAt": null,    "coverUrl": null,    "host": {      "id": "668",      "username": "xqc",      "displayName": "xQc",      "avatarUrl": "https://files.kick.com/images/user/676/profile_image/conversion/931b4e8f-5445-427c-bd82-b473530390cc-fullsize.webp",      "verified": true,      "url": "https://kick.com/xqc"    },    "ext": {      "category": null,      "language": null,      "tags": [],      "mature": false,      "playbackUrl": null    }  }}