TWITCH API
User Schedule
Retrieve user schedule from Twitch with a single API request.
GET
/api/data/v1/twitch/user/schedule1credit base cost
Request parameters
Up to 1 creditTwitch handle
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/twitch/user/schedule?handle=emongg' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"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_charged": 1,
"credits_remaining": 1000,
"request_id": "00000000-0000-4000-8000-000000000000"
}Illustrative response with example values adapted for FetchGoblin. Run a request to retrieve current platform data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"id": {
"type": "string"
},
"primaryColorHex": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"lastBroadcast": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"startedAt": {
"type": "string"
},
"__typename": {
"type": "string"
}
}
},
"broadcastSettings": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"__typename": {
"type": "string"
}
}
},
"stream": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"viewersCount": {
"type": "integer"
},
"previewImageURL": {
"type": "string"
},
"verticalPreviewImageURL": {
"type": "string"
},
"height": {
"type": "integer"
},
"width": {
"type": "integer"
},
"isDualFormat": {
"type": "boolean"
},
"game": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"__typename": {
"type": "string"
}
}
},
"__typename": {
"type": "string"
}
}
},
"videos": {
"type": "object",
"properties": {
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"node": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"lengthSeconds": {
"type": "integer"
},
"viewCount": {
"type": "integer"
},
"previewThumbnailURL": {
"type": "string"
},
"game": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"__typename": {
"type": "string"
}
}
},
"__typename": {
"type": "string"
}
}
},
"__typename": {
"type": "string"
}
}
}
},
"__typename": {
"type": "string"
}
}
},
"channel": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"schedule": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"nextSegment": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"startAt": {
"type": "string"
},
"__typename": {
"type": "string"
}
}
},
"interruption": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"baseSegmentID": {
"type": "string"
},
"title": {
"type": "string"
},
"startAt": {
"type": "string"
},
"endAt": {
"type": "string"
},
"isCancelled": {
"type": "boolean"
},
"cancelledUntil": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"hasReminder": {
"type": "boolean"
},
"repeatEndsAfterCount": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"categories": {
"type": "array"
},
"__typename": {
"type": "string"
}
}
}
},
"__typename": {
"type": "string"
}
}
},
"__typename": {
"type": "string"
}
}
},
"__typename": {
"type": "string"
},
"credits_charged": {
"type": "integer",
"minimum": 0,
"description": "FetchGoblin credits charged for this request."
},
"credits_remaining": {
"type": "integer",
"description": "Your FetchGoblin credit balance after this request."
},
"request_id": {
"type": "string",
"format": "uuid",
"description": "FetchGoblin request identifier."
}
}
}