querystringwymagane
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.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
querystringwymaganeKeyword to search in TikTok Creative Center top video ads.
pageintegerOne-based provider page number (default 1).
Domyślnie: 1
limitintegerMaximum number of ads requested for this page, from 1 through 20 (default 20).
Domyślnie: 20
periodintegerLookback period in days (default 180).
Domyślnie: 180
Możliwe wartości: 7, 30, 180
objectivestringCampaign objective filter. Omit it to search every objective.
Możliwe wartości: 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.
Możliwe wartości: top_1_20, top_21_40, top_41_60, top_61_80
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
TikTok Top Ads SearchTo API TikTok | Od $0.0012 za wywołanie | JSON |
TikTok | Od $0.0012 za wywołanie | JSON |
TikTok | Od $0.0008 za wywołanie | JSON |
TikTok | Od $0.0008 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
TikTok | $0.001 za wywołanie | JSON |
Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/top-ads-search z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: query (string). Opcjonalne: page (integer), limit (integer), period (jedna z opcji: 7, 30, 180), objective (jedna z opcji: traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales) i performanceRank (jedna z opcji: top_1_20, top_21_40, top_41_60, top_61_80). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. TikTok Top Ads Search działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.