daysinteger
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
По умолчанию: 30
https://api.sandbase.ai/v1/api/tiktok/ad-transparency-searchSearch TikTok's EU Commercial Content Library by keyword or advertiser ID.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
daysintegerNumber of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
По умолчанию: 30
sortstringSort expression. Defaults to last_shown_date,desc.
По умолчанию: "last_shown_date,desc"
limitintegerMaximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request.
По умолчанию: 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.
По умолчанию: 0
regionstringRegion code for the transparency search. Defaults to DE.
По умолчанию: "DE"
advertiserIdstringTikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
TikTok Ad Transparency SearchЭтот API TikTok | От $0.0008 за запрос | JSON |
TikTok | От $0.0012 за запрос | JSON |
TikTok | От $0.0008 за запрос | JSON |
TikTok | $0.001 за запрос | JSON |
TikTok | $0.001 за запрос | JSON |
TikTok | $0.001 за запрос | JSON |
Руководства:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.0008 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Параметры не требуются. Необязательные: days (integer), sort (string), limit (integer), query (string), cursor (string) и offset (integer) и еще 2. В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. TikTok Ad Transparency Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.