AI 向け

オブジェクト

LiveRoom オブジェクト

A live room as it is now: whether it is on, its title, host, start time and room-level counts. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

フィールド種類view から説明
idstring | nullcompactThe room's ID; the endpoints that read a room take it. Null where the platform names no room: an account that is not live, or a board entry that links to the host only.
urlstring | nullcompactThe room's web page; null where the platform gives the room none.
statusstringcompactlive: streaming now. offline: not streaming (the other fields then describe the last session, where the platform still shows it).
titlestring | nullcompactホストが設定したルームのタイトル。
categorystring | nullcompactThe room's category or game, in the platform's words (Twitch's game, Bilibili's area); null where the platform gives none.
cover_urlstring | nullstandardカバー画像。
hostAccountRefcompactホストの公開アカウント。
started_atstring | nullcompactWhen the current (or last) session started, ISO 8601 in UTC.
rankinteger | nullcompactPlace on the board, from 1; null outside boards.
metricsLiveMetricscompactRoom-level counts at fetch time; a count the platform does not show is null.
extオブジェクト全体プラットフォーム固有の追加情報。view=full の場合のみ返されます。 · view=full の場合のみ

AccountRef

フィールド種類説明
idstringプラットフォーム上のアカウント ID。
usernamestring | nullハンドル(プラットフォームにある場合)。
namestring | null表示名。
avatar_urlstring | nullアバター画像の URL。
followersinteger | null取得時点のフォロワー数。
verifiedboolean | nullプラットフォームに認証バッジが表示されているかどうか。

LiveMetrics

フィールド種類説明
viewersinteger | null現在ルームにいる人数。
total_viewersinteger | nullPeople who have come into the room since it started; where the platform rounds it (100,000+), the lower bound.
likesinteger | null開始以降のいいね数。
heatinteger | nullThe platform's own popularity score for the room, not a head count (Kuaishou's and Bilibili's).
productsinteger | nullProducts on sale in the room (the shopping bag).

LiveRoom を返すエンドポイント

一度つなげば、あとは聞くだけ。

新しいキーには $0.20 の無料クレジットが付きます。AI に1文貼るだけで接続できます。

無料で始める
AI につなぐ

これを AI エージェントに貼り付けてください

https://okdata.online/agents.md を読んで、okdata を設定してください。キーは環境変数 OKDATA_API_KEY に入っています。

Claude Code、Cursor、Codex など、リンクを開ける AI エージェントなら、読んで自分で設定します。

MCP サーバーhttps://api.okdata.online/mcp