Platforms/YouTube/Channel streams

YouTube Channel Streams API

GET ยท 1 credit

Send a channel's handle, id or link, and get its live streams, 30 a page: live now, upcoming and past.

GET /v1/youtube/channels/streams

What people use it for

  • Live alerts: check a channel every few minutes and act when a stream's status turns live.
  • Schedule tracking: collect upcoming streams and their scheduled start times.
  • Audience tracking: record how many are watching during a stream.

How it works with other endpoints

Start from the same input Channel takes. A stream's id goes to Video for its details and to Video comments.

Limits

  • 30 streams a page.
  • scheduled is as YouTube words it ("11/20/26, 3:00 PM").
  • A channel that has never streamed answers an empty list.

Example request

const url = `${process.env.API_URL}/v1/youtube/channels/streams?handle=NASA`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
handleNoA channel's handle, with or without the @. Give one of handle, channel_id or url.
channel_idNoA channel's id: UC and 22 characters. Give one of handle, channel_id or url.
urlNoA channel's link: youtube.com/@handle, /channel/<id>, /c/<name> or /user/<name>, with any tab after it. Give one of handle, channel_id or url.
sortNoThe order: latest, popular (most viewed first) or oldest.
cursorNoFor the next page: page.next_cursor from the page before. Send the other parameters again with it.

Example response

{
  "data": [
    {
      "id": "21X5lGlDOfg",
      "url": "https://www.youtube.com/watch?v=21X5lGlDOfg",
      "title": "NASA Live: Official Stream of NASA TV",
      "is_short": null,
      "thumbnail": "https://i.ytimg.com/vi/21X5lGlDOfg/hqdefault_live.jpg",
      "duration_seconds": null,
      "views": null,
      "published": null,
      "channel_id": null,
      "channel_name": null,
      "channel_handle": null,
      "badges": null,
      "description": null,
      "status": "live",
      "watching": 4200,
      "scheduled": null
    }
  ],
  "page": {
    "next_cursor": "eyJ0b2tlbiI6IkVnWlEifQ",
    "has_more": true
  },
  "meta": {
    "platform": "youtube",
    "endpoint": "channel_streams",
    "params": {
      "handle": "NASA",
      "sort": "latest"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

How do I tell live, upcoming and past streams apart?

status is live (on air now), upcoming (scheduled) or past. watching is set while a stream is live, and scheduled for an upcoming one.

Which orders can I pick?

latest (the default), popular for the most viewed first, or oldest.

What if a channel has never streamed?

It answers an empty list, not an error.

Works with

YouTube guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required