daysinteger
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
Predefinito: 30
https://api.sandbase.ai/v1/api/tiktok/ad-transparency-searchSearch TikTok's EU Commercial Content Library by keyword or advertiser ID.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
daysintegerNumber of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
Predefinito: 30
sortstringSort expression. Defaults to last_shown_date,desc.
Predefinito: "last_shown_date,desc"
limitintegerMaximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request.
Predefinito: 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.
Predefinito: 0
regionstringRegion code for the transparency search. Defaults to DE.
Predefinito: "DE"
advertiserIdstringTikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
TikTok Ad Transparency SearchQuesta API TikTok | Da $0.0008 per chiamata | JSON |
TikTok | Da $0.0012 per chiamata | JSON |
TikTok | Da $0.0008 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0008 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Nessun parametro richiesto. Facoltativi: days (integer), sort (string), limit (integer), query (string), cursor (string) e offset (integer) e altri 2. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. TikTok Ad Transparency Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.