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/v2/schedule- Get specific weekly schedules- Parameters:
week(required),year(optional)
- Parameters:
GET /api/v2/twitch/vods- Get all VODsGET /api/v2/twitch/vod- Get specific VOD- Parameters:
id(required, Twitch stream ID)
- Parameters:
GET /api/v2/subathon- Get subathon data for specific year- Parameters:
year(required)
- Parameters:
GET /api/v2/blog- Get the cached blog feed- Parameters:
raw(optional)
- Parameters:
GET /api/v2/ws/ticket- Get one-time WebSocket ticket- Parameters: None
Note
WSS /api/v2/ws requires authentication during handshake:
- Browser clients: use
?ticket=...from/api/v2/ws/ticket - Server clients: use
Authorization: Bearer YOUR_API_TOKEN
GET /api/v2/schedule/latest- Latest weekly scheduleGET /api/v2/schedule/weeks- Available schedule week numbers grouped by yearGET /api/v2/devstream/times- Devstream timestampsGET /api/v2/twitch/stream- Current stream informationGET /api/v2/subathon- Current active subathons (noyearparam)GET /api/v2/subathon/years- All subathon years with namesGET /api/info- API version infoGET /api/test/geterror- Test error endpoint