adIdstringobrigatório
TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
https://api.sandbase.ai/v1/api/tiktok/ad-library-adFetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info).
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
This API returns details for one TikTok ad from the Top Ads library. You pass the ad ID or a Top Ads detail URL in adId. The response includes the ad title, target countries, click-through rate, objective, landing page, and video details.
ctr of different ads in the same industry.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-library-ad" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"adId": "7648493525660270600"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
adId | string | Yes | TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"adId": "7648493525660270600",
"adTitle": "New Captain Tsubasa Game Arrives!",
"brandName": "",
"comments": 0,
"cost": 0,
"countries": [
"US"
],
"coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/os0IwlEEv5Y9Ao1jzi…",
"ctr": 0.87,
"durationSeconds": 6.016,
"height": 1280,
"industry": "label_25100000000",
"landingPage": "https://captaintsubasa-mg11.com/zh-tw/?utm_source=tiktok&utm_medium=cpc&utm_camp…"
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the ad exists. A lookup that finds nothing returns false. |
data.adId / data.adTitle | The ID of the ad and its title text. |
data.brandName | Name of the brand. It can be an empty string, as in this example. |
data.countries[] | Country codes where the ad ran, such as US, SG and TW. |
data.ctr | Click-through rate of the ad. The example value is 0.87. |
data.objective | Campaign objective as a label, such as campaign_objective_conversion. |
data.industry | Industry label code, such as label_25100000000. The response gives the code only, not a readable name. |
data.landingPage | The URL the ad sends users to, including its tracking parameters. |
data.likes / data.comments / data.shares / data.cost | Counts of likes, comments and shares, and a cost value. All can be 0. |
data.videoUrl / data.coverUrl / data.durationSeconds / data.width / data.height | Links to the video file and cover image, plus the video length in seconds and its size in pixels. |
outputs[0].data. If the ad is not found, the call still succeeds and returns found: false.adId accepts a numeric Top Ads ID such as 7648493525660270600, or a Top Ads detail URL.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-library-ad" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"adId": "7648493525660270600"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
adIdstringobrigatórioTikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
TikTok Ad Library AdEsta API TikTok | A partir de $0.0012 por chamada | JSON |
TikTok | A partir de $0.0008 por chamada | JSON |
TikTok | A partir de $0.0008 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
TikTok | $0.001 por chamada | JSON |
Guias:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/ad-library-ad com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
A partir de $0.0012 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: adId (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. TikTok Ad Library Ad funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do TikTok separadamente.