API para TikTok: Respostas a comentários
Liste as respostas a um comentário do TikTok com paginação por cursor (texto, autor, curtidas).
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"comments": [
{
"author": "Alex Rivera",
"authorImage": "https://example.com/image.jpg",
"authorName": "Alex Rivera",
"createdUtc": 12.5,
"id": "a1b2c3d4",
"likes": 12500,
"text": "A short example description of this item.",
"videoId": "a1b2c3d4"
}
],
"nextCursor": "example"
},
"found": true,
"reason": "not_found"
}interface TiktokCommentRepliesResponse {
data: {
comments: {
author: string;
authorImage?: string;
authorName?: string;
createdUtc: number;
id: string;
likes: number;
text: string;
videoId?: string;
}[];
nextCursor: string | null;
} | 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.comment_replies \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"commentId":"7623828115408274207","url":"https://www.tiktok.com/@stoolpresidente/video/7623818255903329566"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| commentId | string | "7623828115408274207"ID do comentário do TikTok (o cid do comentário, vindo do endpoint de comentários). |
| url | string | "https://www.tiktok.com/@stoolpresidente/video/7623818255903329566"URL do vídeo do TikTok ao qual o comentário pertence. |
| cursor | string | Cursor de paginação de uma resposta anterior. |
| Resposta | ||
| data | object | |
| data.comments | object[] | |
| data.comments[].author | string | Populated whenever the provider has data for the entity. |
| data.comments[].authorImage | string | Reply author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact. |
| data.comments[].authorName | string | Reply author's display name. |
| data.comments[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.comments[].id | string | Populated whenever the provider has data for the entity. |
| data.comments[].likes | integer | |
| data.comments[].text | string | Populated whenever the provider has data for the entity. |
| data.comments[].videoId | string | Identifier of the video the reply belongs to. |
| data.nextCursor | string | Opaque cursor for the next page of comments, or null when this lane has no more. Pass it back as cursor to continue. |
| 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,0009 |
| Preço /mil req. | USD | US$ 0,90 |
Dúvidas frequentes
Sobre o endpoint Respostas a comentários da API para TikTok
O endpoint Respostas a comentários da AnyAPI para TikTok retorna dados de TikTok em JSON normalizado com uma chamada POST para /v1/run/tiktok.comment_replies. Liste as respostas a um comentário do TikTok com paginação por cursor (texto, autor, curtidas). A AnyAPI distribui cada requisição entre 4 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,90 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Respostas a comentários da API para TikTok feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,5 segundos, em 1 chamadas medidas.