daysinteger
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
Padrão: 30
https://api.sandbase.ai/v1/api/tiktok/ad-transparency-searchSearch TikTok's EU Commercial Content Library by keyword or advertiser ID.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
This API searches TikTok's EU Commercial Content Library and returns a list of ads. Each ad includes its title, advertiser name, audience estimate, show dates, and media links. Send a keyword in query or a library advertiser ID in advertiserId.
advertiserId.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"days": 30, "limit": 20, "query": "nike", "region": "DE"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
advertiserId | string | No | TikTok Commercial Content Library advertiser ID. Provide advertiserId or query. |
cursor | string | No | Search cursor from a previous response's nextCursor. |
days | integer | No | Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30. |
limit | integer | No | Maximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request. |
offset | integer | No | Zero-based result offset. Defaults to 0. |
query | string | No | Keyword to search in TikTok's EU Commercial Content Library. Provide query or advertiserId. |
region | string | No | Region code for the transparency search. Defaults to DE. |
sort | string | No | Sort expression. Defaults to last_shown_date,desc. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"ads": [
{
"adTitle": "Neue Winterausrüstung in Nike Factory Stores.",
"advertiserName": "NIKE Retail B.V.",
"estimatedAudience": "300K-400K",
"firstShownUtc": 1792454400,
"format": "2",
"id": "1879578150853922",
"image": "https://p16-common-sign.tiktokcdn.com/ad-site-i18n-sg/20261013c7c72a61615657cc4f…",
"lastShownUtc": 1793577600,
"status": "1",
"videoUrl": "https://library.tiktok.com/api/v1/cdn/1793691828/video/aHR0cHM6Ly92MTZtLnRpa3Rva…"
}
],
"hasMore": false,
"nextCursor": "cur_r-MF0Us35pN_wCPP3qHT6Q",
"offset": 0,
"region": "DE",
"total": 4448
},
"found": true
}
| Field | Meaning |
|---|---|
data.ads[].id | ID of the ad in the Commercial Content Library, returned as a string. |
data.ads[].adTitle | Text title of the ad. |
data.ads[].advertiserName | Name of the advertiser that ran the ad. |
data.ads[].estimatedAudience | Estimated audience size as a range string, for example 300K-400K. |
data.ads[].firstShownUtc / data.ads[].lastShownUtc | Unix timestamps in seconds for the first and last day the ad was shown. |
data.ads[].videoUrl / data.ads[].image | Links to the ad video and the ad image. |
data.ads[].format / data.ads[].status | Coded values for the ad format and ad status, returned as strings such as 2 and 1. |
data.total | Total number of ads that match the search. |
data.hasMore / data.nextCursor | hasMore tells you if more results exist. nextCursor is the value to send as cursor in the next request. |
data.region | Region code used for the search. |
query or advertiserId. Use limit (1 to 50) and offset to page through results.data.nextCursor as cursor in the next request.found: false.Billed at the actual cost of each call, about $0.0008 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-transparency-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"days": 30,
"sort": "last_shown_date,desc",
"limit": 20,
"query": "nike",
"offset": 0,
"region": "DE"
}'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.
daysintegerNumber of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
Padrão: 30
sortstringSort expression. Defaults to last_shown_date,desc.
Padrão: "last_shown_date,desc"
limitintegerMaximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request.
Padrão: 20
querystringKeyword to search in TikTok's EU Commercial Content Library. Provide query or advertiserId.
cursorstringSearch cursor from a previous response's nextCursor.
offsetintegerZero-based result offset. Defaults to 0.
Padrão: 0
regionstringRegion code for the transparency search. Defaults to DE.
Padrão: "DE"
advertiserIdstringTikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
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 Transparency SearchEsta API TikTok | A partir de $0.0008 por chamada | JSON |
TikTok | A partir de $0.0012 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-transparency-search 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.0008 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Nenhum parâmetro é obrigatório. Opcionais: days (integer), sort (string), limit (integer), query (string), cursor (string) e offset (integer) e mais 2. 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 Transparency Search 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.