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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform 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 key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ 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 SearchAPI นี้ 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 key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน 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 ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก