Note
Video on Demand (VOD) and stream informations are fetched straight from the Twitch API but is stored in a cache.
The stream info updates every 30 seconds and the VOD list in the database every 2 hours.
GET https://neuro.appstun.net/api/v1/twitch/stream
GET https://neuro.appstun.net/api/v1/twitch/vods
GET https://neuro.appstun.net/api/v1/twitch/vod
Access Twitch stream data and VOD information. Stream data is publicly available, while VOD endpoints require authentication.
GET https://neuro.appstun.net/api/v1/twitch/stream
Get current Twitch stream information. This is a public endpoint with generous rate limiting.
None
GET https://neuro.appstun.net/api/v1/twitch/stream{
"isLive": true,
"id": "331913732989",
"title": "NEUROSLOP EVIL WASN'T BASED ENOUGH TO DO IT",
"game": {
"id": "509658",
"name": "Just Chatting"
},
"language": "en",
"tags": [
"English",
"Programming",
"Chatting",
"Singing",
"Vtuber"
],
"isMature": false,
"viewerCount": 5799,
"startedAt": 1273638393734,
"thumbnailUrl": "https://static-cdn.jtvnw.net/previews-ttv/live_user_vedal987-{width}x{height}.jpg",
}GET https://neuro.appstun.net/api/v1/twitch/vods
Get all cached VODs from the database.
Required - Valid API token must be provided in Authorization header.
None
GET https://neuro.appstun.net/api/v1/twitch/vods
Authorization: Bearer YOUR_API_TOKEN[
{
"id": "2525705075",
"streamId": "323888365817",
"title": "My First Livestream - Neuro-sama",
"url": "https://www.twitch.tv/videos/2525705075",
"viewable": "public",
"type": "archive",
"language": "en",
"duration": "2h21m20s",
"viewCount": 80346,
"createdAt": 1753812006000,
"publishedAt": 1753812006000,
"thumbnailUrl": "https://static-cdn.jtvnw.net/cf_vods/d3fi1amfgojobc/392eb4c5d5a13379e26f_vedal987_323888365817_1753812000//thumb/thumb0-%{width}x%{height}.jpg"
},
{
"id": "2534657392",
"streamId": "324276445817",
"title": "OUTER WILDS w/ VEDAL AND NEURO",
"url": "https://www.twitch.tv/videos/2534657392",
"viewable": "public",
"type": "archive",
"language": "en",
"duration": "4h27m10s",
"viewCount": 112395,
"createdAt": 1754676005000,
"publishedAt": 1754676005000,
"thumbnailUrl": "https://static-cdn.jtvnw.net/cf_vods/d3fi1amfgojobc/5f171bfa046b419abede_vedal987_324276445817_1754675999//thumb/thumb0-%{width}x%{height}.jpg"
}
]GET https://neuro.appstun.net/api/v1/twitch/vod
Get a specific VOD by stream ID.
Required - Valid API token must be provided in Authorization header.
| Parameter | Type | Required | Description |
|---|---|---|---|
streamId |
string | Yes | Twitch stream (not VOD ID) |
GET https://neuro.appstun.net/api/v1/twitch/vod?streamId=123456789
Authorization: Bearer YOUR_API_TOKEN{
"id": "2540872425",
"streamId": "331632543357",
"title": "neuro saves the life of a fellow AI surely #ad #WhispersfromtheStar",
"url": "https://www.twitch.tv/videos/2540872425",
"viewable": "public",
"type": "archive",
"language": "en",
"duration": "2h42m10s",
"viewCount": 80127,
"createdAt": 1755280804000,
"publishedAt": 1755280804000,
"thumbnailUrl": "https://static-cdn.jtvnw.net/cf_vods/d1m7jfoe9zdc1j/9e7139b8218481657297_vedal987_331632543357_1755280798//thumb/thumb0-%{width}x%{height}.jpg"
}{
"error": {
"code": "VD2",
"message": "No vods found in the database."
}
}{
"error": {
"code": "VD1",
"message": "No vod found with the given stream id."
}
}{
"error": {
"code": "VD1",
"message": "No vod found with the given stream id."
}
}{
"error": {
"code": "AU1",
"message": "Missing or invalid authorization header"
}
}{
"error": {
"code": "AU2",
"message": "Invalid or expired API token"
}
}{
"error": {
"code": "RL4",
"message": "Rate limit exceeded: Maximum 100 requests per minute"
}
}- Stream data is cached for 30 seconds
- VOD data is cached for 15 minutes (all VODs) to 1 hour (specific VOD)
- All Twitch endpoints have rate limiting applied, VOD endpoints require valid API authentication