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.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
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의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| 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
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/tiktok/top-ads-search에 POST 요청을 보내세요. 이 페이지의 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에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. TikTok Top Ads Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. TikTok API 액세스를 별도로 신청할 필요는 없습니다.