Skip to content

Channel Live Status

GET/v1/youtube/channel/live1 credit

Tells whether a YouTube channel is live right now and, if it is, which stream, since when and how many people are watching.

01Query parameters

NameTypeDescription
handleoptionalstringChannel handle, with or without `@` (e.g. `MrBeast`). One of `handle`, `channelId` or `url` is required; if several are given, `handle` wins, then `channelId`.
channelIdoptionalstringChannel id starting with `UC`. One of `handle`, `channelId` or `url` is required.
urloptionalstringChannel URL (e.g. `https://www.youtube.com/@LofiGirl`). One of `handle`, `channelId` or `url` is required.

02Request

curl "https://api.scrapesocial.ai/v1/youtube/channel/live?handle=LofiGirl" \
  -H "x-api-key: $SCRAPESOCIAL_KEY"

03Responses

Real answers from the API. Lists are shortened to 2 items.

GET /v1/youtube/channel/live?handle=LofiGirl

{
  "success": true,
  "credits_remaining": 4980,
  "credits_charged": 1,
  "platform": "youtube",
  "is_live": true,
  "live_id": "0sfDth4lMLc",
  "title": "24/7 halloween ambience 🎃 spooky lofi to get chills to",
  "started_at": "2026-10-20T13:55:15Z",
  "viewer_count": 3279,
  "url": "https://www.youtube.com/watch?v=0sfDth4lMLc",
  "owner": {
    "id": "UCSJ4gkVC6NrvII8umztf0Ow",
    "username": "LofiGirl",
    "display_name": "Lofi Girl"
  }
}

Common to every endpoint

Any route can answer these: a missing or wrong key, no credits left, the platform not answering, or a failure on our side. None of them costs credits.

GET /v1/cosmos/profile?handle=design

{
  "success": false,
  "message": "Invalid API key"
}

04Notes

Our own endpoint (ScrapeCreators has no YouTube equivalent), with the same answer on every platform: `platform`, `is_live`, `live_id` (the video id), `title`, `started_at` (ISO-8601 UTC), `viewer_count` (people watching now), `url` (the watch URL) and `owner` (`id` = channel id, `username` = handle without `@`, `display_name`). The broadcast is the one YouTube's own `/live` page for the channel shows, so with several streams at once you get that one. A channel that is not live costs 1 credit too and returns `is_live: false` with `owner` filled and every stream field null. Scheduled streams and premieres that have not started count as not live. An unknown channel answers 404, free; a value that cannot be a channel is a free 400.

05Errors & credits

Every error has success: false, a real HTTP status and costs no credits.

  • 400missing_parameter

    A required parameter is missing or invalid.

  • 403private_account

    The account is private or age-restricted.

  • 404not_found

    No such account.

  • 503upstream_error

    The platform did not answer; retry shortly.