API para TikTok: Música
Obtenha os detalhes de uma música ou som do TikTok (título, autor, duração, capa e quantos vídeos o usam).
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"album": "example",
"author": "Alex Rivera",
"coverUrl": "https://example.com/page",
"duration": 13,
"isOriginal": true,
"shareUrl": "https://example.com/page",
"songId": "a1b2c3d4",
"title": "Example title",
"videoCount": 12500
},
"found": true,
"reason": "not_found"
}interface TiktokSongResponse {
data: {
album: string;
author: string;
coverUrl: string;
duration: number;
isOriginal: boolean;
shareUrl: string;
songId: string;
title: string;
videoCount: 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.song \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"clipId":"7439295283975702544"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| clipId | string | "7439295283975702544"O identificador de clip da música, encontrado nas URLs de música do TikTok (ex.: 7439295283975702544). |
| Resposta | ||
| data | object | |
| data.album | string | Populated whenever the provider has data for the entity. |
| data.author | string | Populated whenever the provider has data for the entity. |
| data.coverUrl | string | Populated whenever the provider has data for the entity. |
| data.duration | integer | Populated whenever the provider has data for the entity. |
| data.isOriginal | boolean | |
| data.shareUrl | string | Populated whenever the provider has data for the entity. |
| data.songId | string | Populated whenever the provider has data for the entity. |
| data.title | string | Populated whenever the provider has data for the entity. |
| data.videoCount | 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,0009 |
| Preço /mil req. | USD | US$ 0,90 |
Dúvidas frequentes
Sobre o endpoint Música da API para TikTok
O endpoint Música da AnyAPI para TikTok retorna dados de TikTok em JSON normalizado com uma chamada POST para /v1/run/tiktok.song. Obtenha os detalhes de uma música ou som do TikTok (título, autor, duração, capa e quantos vídeos o usam). 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 Música da API para TikTok feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,2 segundos, em 3 chamadas medidas.