API para TikTok: Ao vivo
Verifique se um criador do TikTok está ao vivo e obtenha a live atual (título, espectadores, horário de início) pelo nome de usuário.
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"avatarUrl": "https://example.com/image.jpg",
"bio": "A short example description of this item.",
"coverUrl": "https://example.com/page",
"displayName": "Alex Rivera",
"enterCount": 12500,
"followers": 12500,
"following": 12500,
"handle": "alex_rivera",
"private": false,
"roomId": "a1b2c3d4",
"secUid": "a1b2c3d4",
"startTime": 42,
"status": 42,
"title": "Example title",
"userId": "a1b2c3d4",
"verified": true,
"viewers": 12500
},
"found": true,
"reason": "not_found"
}interface TiktokLiveResponse {
data: {
avatarUrl?: string;
bio?: string;
coverUrl: string;
displayName: string;
enterCount: number;
followers?: number;
following?: number;
handle: string;
private?: boolean;
roomId: string;
secUid?: string;
startTime: number;
status: number;
title: string;
userId?: string;
verified?: boolean;
viewers: number;
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/tiktok.live \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"thejustalex"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| handle | string | "thejustalex"Nome de usuário do TikTok sem o @ inicial (ex.: "thejustalex"). |
| Resposta | ||
| data | object | |
| data.avatarUrl | string | Host's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact. |
| data.bio | string | Host's bio text. |
| data.coverUrl | string | Populated whenever the provider has data for the entity. |
| data.displayName | string | Populated whenever the provider has data for the entity. |
| data.enterCount | integer | |
| data.followers | integer | Host's follower count. |
| data.following | integer | Number of accounts the host follows. |
| data.handle | string | Populated whenever the provider has data for the entity. |
| data.private | boolean | Whether the host's account is private. |
| data.roomId | string | Populated whenever the provider has data for the entity. |
| data.secUid | string | Host's opaque secondary TikTok user id. |
| data.startTime | integer | |
| data.status | integer | |
| data.title | string | Populated whenever the provider has data for the entity. |
| data.userId | string | Host's numeric TikTok user id. |
| data.verified | boolean | Whether the host's account carries a TikTok verification badge. |
| data.viewers | integer | |
| found | boolean | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Ao vivo da API para TikTok
O endpoint Ao vivo da AnyAPI para TikTok retorna dados de TikTok em JSON normalizado com uma chamada POST para /v1/run/tiktok.live. Verifique se um criador do TikTok está ao vivo e obtenha a live atual (título, espectadores, horário de início) pelo nome de usuário. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Ao vivo da API para TikTok feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,5 segundos, em 1 chamadas medidas.