Introducing the Instagram APIRead more →

Twitch Schedule API. Upcoming streams, page by page.

Upcoming streams a channel has announced. We handle the proxies, blocks and platform changes.

Twitch Schedule API at a glance

Returns the streams a public Twitch channel has scheduled and not yet started, soonest first, from its login, link or numeric ID. Each slot has its title, category, start and end time, whether it was cancelled and how often it repeats, with the channel's numeric ID, login, name and Partner badge. Each page covers a week.

GET /v1/twitch/schedule

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 17 typed fields null when unknown
  • 50 upcoming streams per page, soonest first, a week per page
  • handle is all it needs, e.g. riotgames

Send one request. Get up to 50 upcoming streams back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = riotgames
GET /v1/twitch/scheduleTry in
const params = new URLSearchParams({
  handle: "riotgames",
});
const res = await fetch(`https://socialtap.dev/v1/twitch/schedule?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/twitch/scheduleLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 2 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Twitch doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The Twitch channel: its login with or without the @ (riotgames), a channel link (twitch.tv/riotgames/schedule), or its numeric ID (36029255).

  • Write one parser

    Twitch and TikTok answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native ID of the broadcast (string; TikTok room ID, YouTube video ID).
urlstring
Public page of the broadcast (TikTok: the host's LIVE page, tiktok.com/@<username>/live).
statusstring
live: on air now; scheduled: announced, not started; ended: over. New values may be added; treat an unknown value as not live.
titlestring
The broadcast's title as the host set it.
textstring
Description as plain text; null where the platform has none.
categorystring
The topic or game the broadcast is filed under, as the platform names it.
hostobject
The broadcasting account.

What teams build with the Twitch Schedule API.

  • Know when a streamer goes live next

  • Build a calendar of a community's channels

  • Plan sponsorships around announced streams

  • Track what an esports league schedules and cancels

Good to know before you build.

  • A slot leaves the list when it starts, and Twitch doesn't say whether it aired. For what is on air now, use the Twitch Profile API.
  • A cancelled slot stays on the list with status scheduled and platform_specific.twitch.is_cancelled true, as Twitch's schedule keeps it.
  • A walk covers twelve weeks. A weekly slot repeats with no end and a one-off can sit further out, so a walk that gets there ends with page.end_reason platform_limit, unless Twitch says nothing is left.
  • A channel that set no schedule returns an empty list. A channel Twitch has suspended or taken down returns private_or_unavailable, and a name nobody holds, or a channel its owner closed, not_found.
  • A bare number is read as an account's ID. A login can also be all digits: write it with its @ (@12345) or send its link.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Twitch Schedule API.

More in the API reference.

How much does the Twitch Schedule API cost?
A page of up to 50 upcoming streams costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs