100 free credits. No credit card required. Get a key

Twitch stream schedule API

A channel’s published stream schedule as Helix’s Schedule: upcoming segments with start, end, title and category, and any vacation.

GET /v1/twitch/users/{handle}/schedule1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/twitch/users/lirik/schedule",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"data": {
"segments": [
{
"id": "eyJzZWdtZW50SUQiOiJiNzU0MDEzZC1iOTRlLTRlNmEtYWFmYi03YmM0NmMzNDEzODciLCJpc29ZZWFyIjoyMDI2LCJpc29XZWVrIjo0N30=",
"start_time": "2026-11-22T17:00:00Z",
"end_time": null,
"title": "",
"canceled_until": null,
"category": null,
"is_recurring": true
},
{
"id": "eyJzZWdtZW50SUQiOiI0YjczZTVjYi05ODQzLTQ5ZmQtYjg2Yi0zYzVjMjYwNjQ0YjIiLCJpc29ZZWFyIjoyMDI2LCJpc29XZWVrIjo0OH0=",
"start_time": "2026-11-23T17:00:00Z",
"end_time": null,
"title": "",
"canceled_until": null,
"category": null,
"is_recurring": true
},
"… 4 more"
],
"broadcaster_id": "23161357",
"broadcaster_name": "LIRIK",
"broadcaster_login": "lirik",
"vacation": null
}
}

Parameters

NameTypeDescription
handlepath · requiredstringTwitch login (username) or channel URL. Example: ninja.
Response fields

200 with a TwitchScheduleResponse, in the shape of Twitch’s Helix API objects.

FieldTypeDescription
dataobject
Status codes
StatusMeaning
200The schedule.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404No Twitch channel or clip by that name.
429Too many requests. Wait for Retry-After seconds.
503Twitch is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

What if a channel has no schedule?

You get an empty segments list, charged as a normal call.

Twitch is a trademark of Twitch Interactive, Inc. We are not affiliated with or endorsed by Twitch.