Twitch User Schedule API
Twitch channel schedule — startAt/endAt, title, game, isRecurring (0 credits when empty).
GET request to /v1/twitch/user-schedule that responds with clean JSON and costs 1 credit. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.What is the Twitch User Schedule API?
Pass a Twitch channel URL or username and get upcoming schedule segments as clean JSON. Each segment: id (stable segment key for dedup), title and game/gameId when Twitch exposes them, startAt/endAt (future-events tense — not startedAt/endedAt), isRecurring (false on one-offs, never null), isCancelled, canceledUntil (skip segments where this is set — a canceled broadcast still appears in Twitch's list), firstOccurrenceAt only when isRecurring is true. This is the canonical full schedule; twitch/profile.schedule[] is only a short preview (up to 10). Anonymous GQL does not expose timezone or vacation mode. Empty schedule (totalReturned=0) is 0 credits. Pass limit (default 50, max 100).
What you get
- Segment id + isRecurring + canceledUntil / isCancelled
- startAt/endAt only (no past-tense startedAt twin on a future event)
- title + game/gameId when the segment has them
- Canonical full schedule — profile.schedule[] is a lean preview only
Try it
Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).
Parameters
curl "https://api.captapi.com/v1/twitch/user-schedule?url=https%3A%2F%2Fwww.twitch.tv%2Fshroud" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."Edit the parameters and the code updates instantly. Switch languages and hit copy.
Example response
{
"success": true,
"data": {
"platform": "twitch",
"handle": "shroud",
"totalReturned": 2,
"schedule": [
{
"id": "eyJzZWdtZW50SUQiOiI4OTdjMTZjNy1jYTYyLTQ4OGItODI4ZS0wY2Q1OTdjMzEyNzUiLCJpc29ZZWFyIjoyMDI2LCJpc29XZWVrIjozM30=",
"startAt": "2026-08-16T18:00:00Z",
"endAt": "2026-08-17T02:00:00Z",
"isRecurring": false,
"isCancelled": false
},
{
"id": "eyJzZWdtZW50SUQiOiJkNDYzZDJmNy1jNGQ3LTQ0ZTgtYWU0OS01OTlkNjI1Y2RkMTMiLCJpc29ZZWFyIjoyMDI2LCJpc29XZWVrIjozNH0=",
"startAt": "2026-08-17T18:00:00Z",
"endAt": "2026-08-18T02:00:00Z",
"isRecurring": true,
"isCancelled": false,
"firstOccurrenceAt": "2025-11-24T19:00:00Z"
}
]
}
}Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.
Response structure
A successful call returns success and a data object with the following fields:
Top-level fields
platformPlatform identifier for this response (matches the endpoint's platform).handleChannel login this schedule belongs to.totalReturnedNumber of items returned in this response.
Schedule
Each item in schedule contains:
idId of this schedule item.startAtSegment start (ISO-8601 UTC). Future-events tense — this endpoint lists upcoming slots, not a stream that already started.endAtSegment end (ISO-8601 UTC).isRecurringWhether the segment is a recurring series. false on one-offs — never null.isCancelledWhether this occurrence is cancelled.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Twitch channel URL or username, e.g. https://www.twitch.tv/shroud. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| limit | integer | No | Max schedule segments to return (default 50, max 100). Flat 1 credit per call. |
| cache | boolean | No | Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. |
Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 1 credit. Pass cache=true for a free 24h cache hit; default is always fresh.
How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Send one request to
/v1/twitch/user-scheduleand parse the JSON response.
Use cases
Calendar sync
Build a stream calendar; skip rows where canceledUntil or isCancelled is set.
Recurring series
Use isRecurring + id to track weekly slots without mistaking one-offs.
Category planning
Read game/gameId per segment for upcoming content mix.
Preview vs full
profile.schedule[] is a short preview — this endpoint is the canonical full schedule.
Frequently asked questions
What does the Twitch User Schedule API do?+
The Twitch User Schedule API lets you list items in bulk with metadata from a public Twitch user schedule using one GET request to /v1/twitch/user-schedule. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Twitch User Schedule API cost?+
Each successful call costs 1 credit. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.
Do I need a Twitch API key or OAuth?+
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Do empty schedules cost a credit?+
No. totalReturned=0 bills 0 credits — same published line as the rest of the catalogue.
Why startAt and not startedAt?+
These segments are upcoming. startedAt is past tense (and was a duplicate of startAt). firstOccurrenceAt is omitted on one-offs — not present as null.
Is the Twitch User Schedule API suitable for production use?+
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.
More Twitch APIs
Ready to use the Twitch User Schedule API?
Sign up, grab your key, and make your first call in 60 seconds.