querystringобязательно
Keyword to search in TikTok Creative Center top video ads.
https://api.sandbase.ai/v1/api/tiktok/top-ads-searchSearch TikTok Creative Center top video ads by keyword, with campaign objective, performance percentile, and time-window filters.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
This API searches TikTok Creative Center top video ads for a keyword. It returns a page of ads with title, brand, likes, click-through rate, video length, and media links. It needs a query and accepts optional filters for objective, performance bucket, and lookback period.
objective to compare conversion ads with video view ads for the same keyword.top_1_20 performance bucket to build a swipe file of the strongest creatives.brandName across several pages.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/top-ads-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "glasses"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Keyword to search in TikTok Creative Center top video ads. |
limit | integer | No | Maximum number of ads requested for this page, from 1 through 20 (default 20). |
objective | string | No | Campaign objective filter. Omit it to search every objective. |
page | integer | No | One-based provider page number (default 1). |
performanceRank | string | No | Ad performance percentile bucket, where top_1_20 is the highest-performing 20 percent. Omit it to search every bucket. |
period | integer | No | Lookback period in days (default 180). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"ads": [
{
"adId": "7231584422875676673",
"adTitle": "The best way to clean - 80% off, ends soon-634222",
"brandName": "متجر الخليج",
"cost": 2,
"ctr": 0.16,
"durationSeconds": 14.8,
"height": 1024,
"image": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/oEBKAY2XAFC1PC2AIoEDhcfiQ…",
"industry": "label_18106000000",
"likes": 17219,
"objective": "campaign_objective_conversion",
"videoUrl": "https://v16m-default.tiktokcdn.com/3a0edf7542973ffeb3b20f2f5b890b2f/6ae9e540/vid…"
}
],
"hasMore": true,
"page": 1,
"pageSize": 20,
"total": 300
},
"found": true
}
| Field | Meaning |
|---|---|
data.ads[].adId | ID of the ad as a string. Use it to identify the same ad across searches. |
data.ads[].adTitle / data.ads[].brandName | Title text of the ad and the name of the advertiser brand. |
data.ads[].likes | Number of likes on the ad. |
data.ads[].ctr | Click-through rate of the ad as a decimal number, for example 0.16. |
data.ads[].cost | Cost level of the ad as a small whole number. The response does not show what the scale means. |
data.ads[].durationSeconds | Length of the ad video in seconds. |
data.ads[].objective / data.ads[].industry | Campaign objective of the ad, such as campaign_objective_conversion, and an industry label code such as label_22101000000. |
data.ads[].videoUrl / data.ads[].image | Links to the ad video and its cover image. |
data.ads[].width / data.ads[].height | Pixel size of the ad video, for example 576 by 1024. |
data.hasMore / data.page / data.pageSize / data.total | Pagination info: whether more pages exist, the current page number, the page size, and the total number of matching ads. |
page to get the next page while data.hasMore is true. limit accepts 1 to 20 ads per page.objective filter uses values like conversions, but each ad returns its objective as a value like campaign_objective_conversion.videoUrl and image include signed parameters, so save the files if you need them later.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/top-ads-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"limit": 20,
"query": "glasses",
"period": 180
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
querystringобязательноKeyword to search in TikTok Creative Center top video ads.
pageintegerOne-based provider page number (default 1).
По умолчанию: 1
limitintegerMaximum number of ads requested for this page, from 1 through 20 (default 20).
По умолчанию: 20
periodintegerLookback period in days (default 180).
По умолчанию: 180
Возможные значения: 7, 30, 180
objectivestringCampaign objective filter. Omit it to search every objective.
Возможные значения: traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales
performanceRankstringAd performance percentile bucket, where top_1_20 is the highest-performing 20 percent. Omit it to search every bucket.
Возможные значения: top_1_20, top_21_40, top_41_60, top_61_80
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
TikTok Top Ads SearchЭтот API TikTok | От $0.0012 за запрос | JSON |
TikTok | От $0.0012 за запрос | JSON |
TikTok | От $0.0008 за запрос | JSON |
TikTok | От $0.0008 за запрос | 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/top-ads-search, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.0012 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: query (string). Необязательные: page (integer), limit (integer), period (один из 7, 30, 180), objective (один из traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales) и performanceRank (один из top_1_20, top_21_40, top_41_60, top_61_80). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. TikTok Top Ads Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.