User Schedule
curl --request GET \
--url https://api.example.com/api/v1/scrape/twitch/user/schedule \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/twitch/user/schedule"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/twitch/user/schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/twitch/user/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/twitch/user/schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/twitch/user/schedule")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/twitch/user/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyTwitch Scraper
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.
GET
/
api
/
v1
/
scrape
/
twitch
/
user
/
schedule
User Schedule
curl --request GET \
--url https://api.example.com/api/v1/scrape/twitch/user/schedule \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/twitch/user/schedule"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/twitch/user/schedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/twitch/user/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/twitch/user/schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/twitch/user/schedule")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/twitch/user/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Twitch handle |
Response Example
{
"success": true,
"data": {
"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"
}
}
Last modified on September 21, 2026

