Returns the recorded chat of a video in pages ordered by time, so reactions can be aligned with what happened on stream.
GET
/api/v1/twitch/video/messagesQuota usage: Each successful request to this endpoint deducts 1 quota units from your plan.
Request Parameters
Required Parameters
| Name | In | Type | Description |
|---|---|---|---|
video_id | query | string | Video ID example: 2300924413 |
Optional Parameters
| Name | In | Type | Description |
|---|---|---|---|
page | query | integer | Page number |
page_size | query | integer | Page size |
Response Fields
| Name | Type | Description |
|---|---|---|
success | boolean | Success |
code | integer | Code |
message | string | Message |
data | object | - |
data.items | array<object> | Items |
data.total | integer | Total |
data.page | integer | Page |
data.page_size | integer | Page Size |
data.total_pages | integer | Total Pages |
Try It
https://openapi.scdata.cc/api/v1/twitch/video/messages
Select an API key from Dashboard
Add an API key before sending a request.Go to Dashboard
Query Params
video_id*pagepage_sizecURL Example
bash
curl -X GET "https://openapi.scdata.cc/api/v1/twitch/video/messages?video_id=2300924413" \-H "Authorization: YOUR_API_KEY"
Response Example (200 application/json)
json
{"success": true,"code": 200,"message": "Request successful","data": {"items": [{"message_id": "string","commenter_id": 0,"commenter_name": "string","commenter_display_name": "string","content_offset_seconds": 0,"created_at": "2019-08-24T14:15:22.123Z","message_fragments": "string","message_user_badges": "string","message_user_color": "string"}],"total": 0,"page": 0,"page_size": 0,"total_pages": 0}}
Use Cases
- Sponsor mention analysis — Measure how chat reacted in the minutes around a sponsored segment.
- Sentiment scoring — Feed messages into a sentiment model to score audience mood per stream.