querystringzorunlu
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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
querystringzorunluKeyword to search in TikTok Creative Center top video ads.
pageintegerOne-based provider page number (default 1).
Varsayılan: 1
limitintegerMaximum number of ads requested for this page, from 1 through 20 (default 20).
Varsayılan: 20
periodintegerLookback period in days (default 180).
Varsayılan: 180
Olası değerler: 7, 30, 180
objectivestringCampaign objective filter. Omit it to search every objective.
Olası değerler: 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.
Olası değerler: top_1_20, top_21_40, top_41_60, top_61_80
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
TikTok Top Ads SearchBu API TikTok | Kullanım başına $0.0012'den itibaren | JSON |
TikTok | Kullanım başına $0.0012'den itibaren | JSON |
TikTok | Kullanım başına $0.0008'den itibaren | JSON |
TikTok | Kullanım başına $0.0008'den itibaren | JSON |
TikTok | $0.001 çağrı başına | JSON |
TikTok | $0.001 çağrı başına | JSON |
Kılavuzlar:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/tiktok/top-ads-search adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0012'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: query (string). İsteğe bağlı: page (integer), limit (integer), period (7, 30, 180 arasından biri), objective (traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales arasından biri) ve performanceRank (top_1_20, top_21_40, top_41_60, top_61_80 arasından biri). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. TikTok Top Ads Search, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. TikTok API erişimi için ayrıca başvuru yapmanız gerekmez.