Skip to Content

Profile Lives

A channel's live streams, on now and past, 30 a page.

GET
/v1/youtube/profile/lives

Authorization

apiKey
headerAuthorizationBearer <token>

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

Query Parameters

handle?string

The channel's handle, with or without @.

channelId?string

The channel's id, instead of handle.

url?string

The channel's link, instead of either.

sort?string

latest (the default), popular or oldest.

Value in"latest""popular""oldest"
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.youtube.profileLives({ handle: "LinusTechTips" });
Example Response
{  "data": [    {      "id": "Z1sqWFs86uU",      "url": "https://www.youtube.com/watch?v=Z1sqWFs86uU",      "text": null,      "createdAt": null,      "author": {        "id": "UCXuqSBlHAE6Xw-yeJA0Tunw",        "username": "LinusTechTips",        "displayName": null,        "avatarUrl": null,        "verified": false,        "url": "https://www.youtube.com/@LinusTechTips"      },      "stats": {        "views": 1400000,        "likes": null,        "comments": null,        "shares": null,        "saves": null,        "engagementRate": null      },      "media": [        {          "kind": "video",          "url": null,          "thumbnailUrl": "https://i.ytimg.com/vi/Z1sqWFs86uU/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCgaMBoZiNxupMBAHn3tecnOERLkw",          "width": null,          "height": null,          "durationSeconds": 13091        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "kind": "video",        "title": "Building the Rarest PC",        "durationSeconds": 13091,        "publishedText": "Streamed 2 months ago",        "category": null,        "keywords": [],        "chapters": [],        "music": [],        "liveNow": false,        "unlisted": false,        "familySafe": null,        "membersOnly": false,        "channelSubscribers": null      }    },    {      "id": "o4ub_WOWFoo",      "url": "https://www.youtube.com/watch?v=o4ub_WOWFoo",      "text": null,      "createdAt": null,      "author": {        "id": "UCXuqSBlHAE6Xw-yeJA0Tunw",        "username": "LinusTechTips",        "displayName": null,        "avatarUrl": null,        "verified": false,        "url": "https://www.youtube.com/@LinusTechTips"      },      "stats": {        "views": 730000,        "likes": null,        "comments": null,        "shares": null,        "saves": null,        "engagementRate": null      },      "media": [        {          "kind": "video",          "url": null,          "thumbnailUrl": "https://i.ytimg.com/vi/o4ub_WOWFoo/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCN7VE949dhPfZMxJc946DBwMIuBw",          "width": null,          "height": null,          "durationSeconds": 14025        }      ],      "hashtags": [],      "mentions": [],      "ext": {        "kind": "video",        "title": "I Love The Steam Machine More Already - WAN Show June 26, 2026",        "durationSeconds": 14025,        "publishedText": "Streamed 4 months ago",        "category": null,        "keywords": [],        "chapters": [],        "music": [],        "liveNow": false,        "unlisted": false,        "familySafe": null,        "membersOnly": false,        "channelSubscribers": null      }    }  ],  "pagination": {    "nextCursor": "4qmFsgL9DBIYVUNYdXFTQmxIQUU2WHcteWVKQTBUdW53GuAMOGdiRUNSckJDWEstQ1RxN0NRb2tObVJtTm1Rek0ySXRNREF3TUMweU5EbG1MVGxrWWprdFpEUm1OVFEzWmpBeU5qZ3dFcEFKUVdOV09GWmtWM1ZUWTFaaldqaFZRMnhzU0dVMFlXczJWRWxhVjFaUE9IUlNPV3gyUkhweE5XSXdhVTExT1VOVlZVNVBTM0JCU2pkTWVuRldlamREUVZoMVkxcDFaekYwUWs1cE1qUlhXRkJqWlhsdlIyaFJWVXh1Y2tseFQxRmhSVE5SVmsxQmRsTnZPVWxFYzBoRlVEaHplVXRYVjFCeFYySlpZbkl3Y2w5U05EUTBWVEZaVG1kWmJXRkdaME4y…",    "hasMore": true  }}