Appearance
User Schedule
GET /v1/twitch/user/schedule
Fetches a user's schedule by handle, returning a list of scheduled events with start time, end time, title, description, and thumbnail URL. Supports pagination via cursor and a trim option for lighter responses.
Authentication
All requests require the x-api-key header. Get your key at scrapecreators.com.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
handle | string | yes | Twitch handle | emongg |
Example Request
curl
bash
curl 'https://api.scrapecreators.com/v1/twitch/user/schedule?handle=emongg' \
-H 'x-api-key: $SCRAPECREATORS_API_KEY'Node / TypeScript
js
const params = new URLSearchParams({ handle: 'emongg' });
const res = await fetch(`https://api.scrapecreators.com/v1/twitch/user/schedule?${params}`, {
headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);Python
python
import os, requests
r = requests.get(
'https://api.scrapecreators.com/v1/twitch/user/schedule',
headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
params={'handle': 'emongg'},
)
r.raise_for_status()
print(r.json())CLI
bash
scrapecreators twitch user-schedule --helpExample Response
json
{
"success": true,
"credits_remaining": 49998307788,
"id": "23220337",
"primaryColorHex": null,
"lastBroadcast": {
"id": "318502443360",
"startedAt": "2026-05-02T08:26:08.899139Z",
"__typename": "Broadcast"
},
"broadcastSettings": {
"id": "23220337",
"title": "Checking out Diablo IV: Lord of Hatred! !diablo #DiabloPartner #ad",
"__typename": "BroadcastSettings"
},
"stream": {
"id": "318502443360",
"createdAt": "2026-05-02T08:26:00Z",
"viewersCount": 2994,
"previewImageURL": "https://static-cdn.jtvnw.net/previews-ttv/live_user_emongg-320x180.jpg",
"verticalPreviewImageURL": "https://static-cdn.jtvnw.net/previews-ttv/live_user_emongg-180x320.jpg",
"height": 900,
"width": 1600,
"isDualFormat": false,
"game": {
"id": "515024",
"slug": "diablo-iv",
"name": "Diablo IV",
"__typename": "Game"
},
"__typename": "Stream"
},
"videos": {
"edges": [
{
"node": {
"id": "2762226372",
"title": "[!DROPS ENABLED + WINTON BADGE] watching owcs, gaming",
"createdAt": "2026-05-02T08:26:09Z",
"lengthSeconds": 41352,
"viewCount": 196,
"previewThumbnailURL": "https://vod-secure.twitch.tv/_404/404_processing_320x180.png",
"game": {
"id": "515025",
"slug": "overwatch-2",
"name": "Overwatch",
"__typename": "Game"
},
"__typename": "Video"
},
"__typename": "VideoEdge"
}
],
"__typename": "VideoConnection"
},
"channel": {
"id": "23220337",
"schedule": {
"id": "schedule-23220337",
"nextSegment": {
"id": "eyJzZWdtZW50SUQiOiI4ZThhMTczMS1hYjU0LTQxZDMtOTEzMy02N2JjZTM0NTRiMzUiLCJpc29ZZWFyIjoyMDI2LCJpc29XZWVrIjoxOH0=",
"startAt": "2026-05-03T11:00:00Z",
"__typename": "ScheduleSegment"
},
"interruption": null,
"segments": [
{
"id": "eyJzZWdtZW50SUQiOiI5NjU1NWMwMC03OGZkLTQ4NTQtYTIyZS1kYWNjOGU3ZWZlYzkiLCJpc29ZZWFyIjoyMDI2LCJpc29XZWVrIjoxOH0=",
"baseSegmentID": "96555c00-78fd-4854-a22e-dacc8e7efec9",
"title": "",
"startAt": "2026-04-27T11:00:00Z",
"endAt": "2026-04-27T21:00:00Z",
"isCancelled": false,
"cancelledUntil": null,
"hasReminder": false,
"repeatEndsAfterCount": null,
"categories": [],
"__typename": "ScheduleSegment"
}
],
"__typename": "Schedule"
},
"__typename": "Channel"
},
"__typename": "User"
}Credits
Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.
Errors
| Status | Meaning | Action |
|---|---|---|
| 200 | Success. | Use the JSON payload. |
| 400 | Invalid or missing parameter. | Verify required parameters and value format. |
| 401 | Missing or invalid x-api-key. | Pass a valid API key in the header. |
| 402 | Out of credits. | Top up at scrapecreators.com or wait for plan reset. |
| 404 | Resource not found or private. | Confirm the handle, URL, or id and that the resource is public. |
| 429 | Rate limited. | Backoff and retry with exponential delay. |
| 500 | Server error or upstream platform failure. | Retry with backoff; report persistent errors to support. |