Per l'AI

Oggetto

Oggetto 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.

CampoTipoDalla vistaDescrizione
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 | nullcompactIl titolo della stanza impostato da chi conduce.
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 | nullstandardImmagine di copertina.
hostAccountRefcompactL'account pubblico di chi conduce.
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.
extobjectfullDati aggiuntivi specifici della piattaforma. Restituiti solo con view=full. · solo con view=full

AccountRef

CampoTipoDescrizione
idstringID dell'account sulla piattaforma.
usernamestring | nullHandle, se la piattaforma lo prevede.
namestring | nullNome visualizzato.
avatar_urlstring | nullURL dell'immagine avatar.
followersinteger | nullNumero di follower al momento del recupero.
verifiedboolean | nullSe la piattaforma mostra un badge di verifica.

LiveMetrics

CampoTipoDescrizione
viewersinteger | nullPersone nella stanza in questo momento.
total_viewersinteger | nullPeople who have come into the room since it started; where the platform rounds it (100,000+), the lower bound.
likesinteger | nullMi piace dall'inizio.
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).

Endpoint che restituiscono un oggetto LiveRoom

Collegati una volta, poi chiedi e basta.

Ogni nuova chiave include $0.20 per provarla. Basta una frase per collegare il tuo agent.

Inizia gratis
Collega la tua AI

Incolla questo nel tuo agent

Leggi https://okdata.online/agents.md e configura okdata per me; la mia chiave è nella variabile d'ambiente OKDATA_API_KEY.

Claude Code, Cursor, Codex e gli altri agent in grado di aprire un link si configurano da soli a partire da qui.

Server MCPhttps://api.okdata.online/mcp