Twitch監視配信一覧を取得

13 件のエンドポイント • ベース: https://openapi.scdata.cc

1つの監視IDについて記録された配信を新しい順に返し、各配信の視聴者概要を含みます。

GET/api/v1/twitch/monitor/live/list

クォータ消費: このエンドポイントへの成功したリクエスト 1 件あたり、プランのクォータが 1 単位消費されます。

リクエストパラメータ

必須パラメータ

名前位置型説明
monitor_idquerystringmonitor_id
example: db78ef84a28644b4983ce6c07b4eeec9

任意パラメータ

名前位置型説明
pagequeryintegerPage number
page_sizequeryintegerPage size

レスポンスフィールド

名前型説明
successbooleanSuccess
codeintegerCode
messagestringMessage
dataobject-
data.itemsarray<object>Items
data.totalintegerTotal
data.pageintegerPage
data.page_sizeintegerPage Size
data.total_pagesintegerTotal Pages

お試し実行

https://openapi.scdata.cc/api/v1/twitch/monitor/live/list
ダッシュボードのAPIキーを選択
リクエストを送信する前にAPIキーを入力してください。ダッシュボードを開く

クエリパラメータ

monitor_id*
page
page_size

cURL の例

bash
curl -X GET "https://openapi.scdata.cc/api/v1/twitch/monitor/live/list?monitor_id=db78ef84a28644b4983ce6c07b4eeec9" \
-H "Authorization: YOUR_API_KEY"

レスポンス例 (200 application/json)

json
{
"success": true,
"code": 200,
"message": "Request successful",
"data": {
"items": [
{
"live_id": 0,
"user_id": 0,
"user_login": "string",
"user_name": "string",
"game_id": 0,
"game_name": "string",
"type": "string",
"title": "string",
"viewer_count": 0,
"started_at": "2019-08-24T14:15:22.123Z",
"ended_at": "2019-08-24T14:15:22.123Z",
"language": "string",
"thumbnail_url": "string",
"tags": "string",
"is_mature": 0
}
],
"total": 0,
"page": 0,
"page_size": 0,
"total_pages": 0
}
}

ユースケース

  • 配信ごとの報告 — スポンサー配信者について、セッションごとの視聴者テーブルを作成します。
  • スケジュール分析 — 配信者が通常いつ配信を始め、どれくらい続けるかを把握します。

関連エンドポイント