Für KI

Objekt

LiveRoom-Objekt

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.

FeldArtAus viewBeschreibung
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 | nullcompactDer vom Host festgelegte Titel des Raums.
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 | nullstandardTitelbild.
hostAccountRefcompactDas öffentliche Konto des Hosts.
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.
extObjektvollständigPlattformspezifische Zusatzfelder. Nur mit view=full. · nur mit view=full

AccountRef

FeldArtBeschreibung
idstringKonto-ID auf der Plattform.
usernamestring | nullHandle, sofern die Plattform eines hat.
namestring | nullAnzeigename.
avatar_urlstring | nullURL des Profilbilds.
followersinteger | nullFollower-Zahl zum Abrufzeitpunkt.
verifiedboolean | nullOb die Plattform ein Verifizierungsabzeichen anzeigt.

LiveMetrics

FeldArtBeschreibung
viewersinteger | nullAktuelle Zuschauer im Raum.
total_viewersinteger | nullPeople who have come into the room since it started; where the platform rounds it (100,000+), the lower bound.
likesinteger | nullLikes seit Beginn.
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).

Endpunkte, die ein LiveRoom-Objekt liefern

Einmal verbinden, dann einfach fragen.

Jeder neue Key enthält $0.20 zum Testen. Ein Satz verbindet Ihren Agent.

Kostenlos starten
KI verbinden

Fügen Sie das in Ihren Agent ein

Lies https://okdata.online/agents.md und richte okdata für mich ein; mein Key steht in der Umgebungsvariable OKDATA_API_KEY.

Claude Code, Cursor, Codex und andere Agents, die Links öffnen können, richten sich damit selbst ein.

MCP-Serverhttps://api.okdata.online/mcp