Important
Authentication is done via a Authorization Header: Authorization: Bearer YOUR_API_TOKEN
To generate an API token, visit the API Dashboard. Log in with your Twitch account and click the Generate API Token button.
GET /api/v1/schedule- Get specific weekly schedules- Parameters:
week(required),year(optional)
- Parameters:
GET /api/v1/twitch/vods- Get all VODsGET /api/v1/twitch/vod- Get specific VOD- Parameters:
streamId(required)
- Parameters:
GET /api/v1/subathon- Get subathon data for specific year- Parameters:
year(required)
- Parameters:
GET /api/ws/ticket- Get one-time WebSocket ticket- Parameters: None
Note
WSS /api/ws also requires authentication during handshake:
- Browser clients: use
?ticket=...from/api/ws/ticket - Server clients: use
Authorization: Bearer YOUR_API_TOKEN
GET /api/v1/schedule/latest- Latest weekly scheduleGET /api/v1/schedule/devstreamtimes- Devstream timestampsGET /api/v1/schedule/weeks- Available schedule week numbers grouped by yearGET /api/v1/twitch/stream- Current stream informationGET /api/v1/subathon/current- Current active subathonGET /api/v1/subathon/years- List of all subathon years (?detailedfor year-to-name map)GET /api/test/geterror- Test error endpoint