Para IA

Objeto

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

CampoTipoDa viewDescrição
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 | nullcompactO título da sala definido pelo apresentador.
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 | nullstandardImagem de capa.
hostAccountRefcompactA conta pública do apresentador.
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.
extobjetocompletoExtras específicos da plataforma. Retornados apenas com view=full. · apenas com view=full

AccountRef

CampoTipoDescrição
idstringID da conta na plataforma.
usernamestring | nullHandle, quando a plataforma tem.
namestring | nullNome de exibição.
avatar_urlstring | nullURL da imagem do avatar.
followersinteger | nullNúmero de seguidores no momento da coleta.
verifiedboolean | nullSe a plataforma mostra um selo de verificação.

LiveMetrics

CampoTipoDescrição
viewersinteger | nullPessoas na sala agora.
total_viewersinteger | nullPeople who have come into the room since it started; where the platform rounds it (100,000+), the lower bound.
likesinteger | nullCurtidas desde o início.
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).

Endpoints que retornam LiveRoom

Conecte uma vez e é só perguntar.

Toda chave nova vem com $0.20 para testar. Uma frase conecta seu agente.

Comece grátis
Conecte sua IA

Cole isto no seu agente

Leia https://okdata.online/agents.md e configure okdata para mim; minha chave está na variável de ambiente OKDATA_API_KEY.

Claude Code, Cursor, Codex e outros agentes que conseguem abrir um link se configuram sozinhos a partir dele.

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