ad_formatinteger
Ad format, 1=Video ads
https://api.sandbase.ai/v1/api/tiktok/ads/search-adsSearches ad materials in the TikTok Creative Center using filters such as keyword, industry, country, and performance metrics. Returns ad titles, brand names, IDs, and video metadata.
[
{
"data": {
"code": 0,
"data": {
"materials": [
{
"ad_title": "Upgrade your dog's gear",
"brand_name": "Tactipup",
"cost": 2,
"ctr": 0.22,
"favorite": false,
"id": "7172587525965332482",
"industry_key": "label_19106000000",
"is_search": true,
"like": 69817,
"objective_key": "campaign_objective_conversion",
"video_info": {
"cover": "https://p16-common-sign.tiktokcdn.com/v0201/oYEIQQTSgAZeBvKBNeb5ijnB8linKDDiOcC2BU~tplv-noop.image?dr=18692&refresh_token=c650bdf3&x-expires=1791312045&x-signature=JNSZrclq70bKRYgRIYUXH%2BZtoQE%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v10033g50000ce52ctjc77u5bv4520ig",
"duration": 29.92,
"height": 1024,
"vid": "v10033g50000ce52ctjc77u5bv4520ig",
"video_url": {
"720p": "https://v16m-default.tiktokcdn.com/b78e1e48f802ea221ac61412dc823ae8/6ac540ad/video/tos/alisg/tos-alisg-ve-0051c001-sg/ooOhURkXzEb5lWFMARfQoSm7AANPxFAIhYw8Bx/?a=0&bti=NTU4QDM1NGA%3D&&bt=1430&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=ODg2aDRlaDg6PGc8OTQ2ZkBpajM4eTg6Znc1aDMzODYzNEBhYi9iLzFiXmAxNS8uNjM1YSNmLzFfcjRnYDJgLS1kMC1zcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00088000"
},
"width": 576
}
},
{
"ad_title": "Your favorite Marvel characters, all in one app. Access 30,000+ comics on Marvel Unlimited today!",
"brand_name": "Marvel Unlimited",
"cost": 2,
"ctr": 0.22,
"favorite": false,
"id": "7129612298582228993",
"industry_key": "label_20102000000",
"is_search": true,
"like": 255087,
"objective_key": "campaign_objective_traffic",
"video_info": {
"cover": "https://p16-common-sign.tiktokcdn.com/v0201/507c537798c840e6b73c9944aa2f6099~tplv-noop.image?dr=18692&refresh_token=1b74add1&x-expires=1791312075&x-signature=xW9CSoU5ipSTjC37yqNEd02HYUs%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v10033g50000cbonhrrc77u8a45ifv3g",
"duration": 58.987,
"height": 1024,
"vid": "v10033g50000cbonhrrc77u8a45ifv3g",
"video_url": {
"720p": "https://v16m-default.tiktokcdn.com/5ec2de2f18b41dfe14017f365879ab67/6ac540cb/video/tos/alisg/tos-alisg-ve-0051c001-sg/okDLZLNDIBAboEIpQibghHoPQBejfZ8nX5RvQQ/?a=0&bti=NTU4QDM1NGA%3D&&bt=1586&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=NWc8aTg6aTs5NjRkNGhmN0BpanlsNzs6ZnVxZTMzODYzNEBeMjU2X2MzNi0xYmIwLWI0YSMwYzJecjRvZWxgLS1kMC1zcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00088000"
},
"width": 576
}
},
{
"ad_title": "The most sentimental gift for your loved ones and the best way to cherish your own memories.",
"brand_name": "PaintYourLife.com",
"cost": 2,
"ctr": 0.21,
"favorite": false,
"id": "7091614269021208577",
"industry_key": "label_26104000000",
"is_search": true,
"like": 1714412,
"objective_key": "campaign_objective_conversion",
"video_info": {
"cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/83ad99deaa9044f8a7684d5c4d24d6f7~tplv-noop.image?dr=18692&refresh_token=23c0daa6&x-expires=1791312046&x-signature=h%2BikNK27N3ORy%2BvX9Ss9Aj%2Fq8vo%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v14033g50000d9c6qdvog65pn5obnaeg",
"duration": 30.063,
"height": 1024,
"vid": "v14033g50000d9c6qdvog65pn5obnaeg",
"video_url": {
"720p": "https://v16m-default.tiktokcdn.com/8a1ddcb7d2c789820515afbac364c2eb/6ac540ae/video/tos/alisg/tos-alisg-v-0000/414fe167784b48378329c849aabed965/?a=0&bti=NTU4QDM1NGA%3D&&bt=1403&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=aDYzMzRnMzw7OTc3OTw1N0BpamRlOHM5cmc5PDMzODYzNEAuNDRjNjU1XjExYWIwYGEzYSNia2xrMmRzbmBhLS1kMDFzcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00048000"
},
"width": 576
}
},
"… 17 more items in the full response"
],
"pagination": {
"has_more": true,
"page": 1,
"size": 20,
"total_count": 400
}
},
"msg": "OK"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Searches TikTok Creative Center ad materials and returns a page of matching ads with titles, brand names, like counts, click-through rates and video details. No input is required. You can narrow results with keyword, industry, country_code, period and other filters.
ctr and like across ads with different campaign objectives.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/search-ads" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
ad_format | integer | No | Ad format, 1=Video ads |
ad_language | string | No | Ad language code, e.g., en, zh |
country_code | string | No | Country code, e.g., US, UK, JP |
duration | string | No | 视频时长筛选值(可选)/Video duration filter value (optional) |
industry | string | No | Industry ID list, multiple IDs separated by commas. |
keyword | string | No | Search keyword, optional, returns all ads if empty |
like | integer | No | Like count filter, 1=All |
limit | integer | No | Items per page, default 20, max 50 |
objective | integer | No | Ad objective, 1=All |
order_by | string | No | Sort method, "for_you"=Recommended, "likes"=Sort by likes |
page | integer | No | Page number, default 1 |
pattern_label | string | No | 创意趋势标签(可选)/Creative pattern label (optional) |
period | integer | No | Time period in days, e.g., 7, 30, 120, 180 days |
search_id | string | No | Search ID (optional) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"materials": [
{
"ad_title": "Prism Pavilion — every item earns its place",
"brand_name": "wondermart",
"cost": 2,
"ctr": 0.16,
"favorite": false,
"id": "7164467399885864962",
"industry_key": "label_15100000000",
"is_search": true,
"like": 36951,
"objective_key": "campaign_objective_traffic",
"tag": 1,
"video_info": {
"cover": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0051c799-euttp/ocZdEUNYLDA0…",
"duration": 17.904,
"height": 1024,
"vid": "v14033g50000d7nteivog65o65kvtj6g",
"video_url": {
"360p": "https://v16m-default.tiktokcdn.com/3880605c9b6dfc909a49f6d67c0fc8ad/6ae9e52b/vid…",
"480p": "https://v16m-default.tiktokcdn.com/08003f78c06f5df8e4e3a125013dd0d7/6ae9e52b/vid…",
"540p": "https://v16m-default.tiktokcdn.com/b4f69654b8cbb8170275f69bfc79d20f/6ae9e52b/vid…",
"720p": "https://v16m-default.tiktokcdn.com/a2fa185eb2001a03e614595a0bc26843/6ae9e52b/vid…"
},
"width": 576
}
}
],
"pagination": {
"has_more": true,
"page": 1,
"size": 20,
"total_count": 400
}
},
"msg": "OK"
}
| Field | Meaning |
|---|---|
data.materials[].id | ID of the ad material. Pass it to other ad APIs that ask for a material ID. |
data.materials[].ad_title / data.materials[].brand_name | Title text of the ad and the name of the brand that runs it. |
data.materials[].like | Like count of the ad. |
data.materials[].ctr | Click-through rate value of the ad, as a number such as 0.16. |
data.materials[].cost | Cost level value of the ad, returned as a small integer such as 2. |
data.materials[].industry_key / data.materials[].objective_key | Industry label code and campaign objective of the ad, for example campaign_objective_traffic. |
data.materials[].video_info.cover | URL of the cover image of the ad video. |
data.materials[].video_info.duration / data.materials[].video_info.width / data.materials[].video_info.height | Length of the video, and its frame width and height. |
data.materials[].video_info.video_url | Video file URLs keyed by resolution, such as 720p. Some ads list only one resolution. |
data.pagination.has_more / data.pagination.total_count | Whether more pages exist, and the total number of matching ads. |
page and limit. The response data.pagination shows the current page and size.order_by to likes to sort by like count, or for_you for recommended order.industry separated by commas.id from data.materials[] with TikTok Ad Percentile Rankings or TikTok Ad Keyframe Analysis for deeper analysis of one ad.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/search-ads" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
ad_formatintegerAd format, 1=Video ads
ad_languagestringAd language code, e.g., en, zh
country_codestringCountry code, e.g., US, UK, JP
industrystringIndustry ID list, multiple IDs separated by commas.
keywordstringSearch keyword, optional, returns all ads if empty
likeintegerLike count filter, 1=All
limitintegerItems per page, default 20, max 50
objectiveintegerAd objective, 1=All
order_bystringSort method, "for_you"=Recommended, "likes"=Sort by likes
pageintegerPage number, default 1
periodintegerTime period in days, e.g., 7, 30, 120, 180 days
search_idstringSearch ID (optional)
durationany视频时长筛选值(可选)/Video duration filter value (optional)
pattern_labelany创意趋势标签(可选)/Creative pattern label (optional)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"code": 0,
"data": {
"materials": [
{
"ad_title": "Upgrade your dog's gear",
"brand_name": "Tactipup",
"cost": 2,
"ctr": 0.22,
"favorite": false,
"id": "7172587525965332482",
"industry_key": "label_19106000000",
"is_search": true,
"like": 69817,
"objective_key": "campaign_objective_conversion",
"video_info": {
"cover": "https://p16-common-sign.tiktokcdn.com/v0201/oYEIQQTSgAZeBvKBNeb5ijnB8linKDDiOcC2BU~tplv-noop.image?dr=18692&refresh_token=c650bdf3&x-expires=1791312045&x-signature=JNSZrclq70bKRYgRIYUXH%2BZtoQE%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v10033g50000ce52ctjc77u5bv4520ig",
"duration": 29.92,
"height": 1024,
"vid": "v10033g50000ce52ctjc77u5bv4520ig",
"video_url": {
"720p": "https://v16m-default.tiktokcdn.com/b78e1e48f802ea221ac61412dc823ae8/6ac540ad/video/tos/alisg/tos-alisg-ve-0051c001-sg/ooOhURkXzEb5lWFMARfQoSm7AANPxFAIhYw8Bx/?a=0&bti=NTU4QDM1NGA%3D&&bt=1430&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=ODg2aDRlaDg6PGc8OTQ2ZkBpajM4eTg6Znc1aDMzODYzNEBhYi9iLzFiXmAxNS8uNjM1YSNmLzFfcjRnYDJgLS1kMC1zcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00088000"
},
"width": 576
}
},
{
"ad_title": "Your favorite Marvel characters, all in one app. Access 30,000+ comics on Marvel Unlimited today!",
"brand_name": "Marvel Unlimited",
"cost": 2,
"ctr": 0.22,
"favorite": false,
"id": "7129612298582228993",
"industry_key": "label_20102000000",
"is_search": true,
"like": 255087,
"objective_key": "campaign_objective_traffic",
"video_info": {
"cover": "https://p16-common-sign.tiktokcdn.com/v0201/507c537798c840e6b73c9944aa2f6099~tplv-noop.image?dr=18692&refresh_token=1b74add1&x-expires=1791312075&x-signature=xW9CSoU5ipSTjC37yqNEd02HYUs%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v10033g50000cbonhrrc77u8a45ifv3g",
"duration": 58.987,
"height": 1024,
"vid": "v10033g50000cbonhrrc77u8a45ifv3g",
"video_url": {
"720p": "https://v16m-default.tiktokcdn.com/5ec2de2f18b41dfe14017f365879ab67/6ac540cb/video/tos/alisg/tos-alisg-ve-0051c001-sg/okDLZLNDIBAboEIpQibghHoPQBejfZ8nX5RvQQ/?a=0&bti=NTU4QDM1NGA%3D&&bt=1586&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=NWc8aTg6aTs5NjRkNGhmN0BpanlsNzs6ZnVxZTMzODYzNEBeMjU2X2MzNi0xYmIwLWI0YSMwYzJecjRvZWxgLS1kMC1zcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00088000"
},
"width": 576
}
},
{
"ad_title": "The most sentimental gift for your loved ones and the best way to cherish your own memories.",
"brand_name": "PaintYourLife.com",
"cost": 2,
"ctr": 0.21,
"favorite": false,
"id": "7091614269021208577",
"industry_key": "label_26104000000",
"is_search": true,
"like": 1714412,
"objective_key": "campaign_objective_conversion",
"video_info": {
"cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/83ad99deaa9044f8a7684d5c4d24d6f7~tplv-noop.image?dr=18692&refresh_token=23c0daa6&x-expires=1791312046&x-signature=h%2BikNK27N3ORy%2BvX9Ss9Aj%2Fq8vo%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v14033g50000d9c6qdvog65pn5obnaeg",
"duration": 30.063,
"height": 1024,
"vid": "v14033g50000d9c6qdvog65pn5obnaeg",
"video_url": {
"720p": "https://v16m-default.tiktokcdn.com/8a1ddcb7d2c789820515afbac364c2eb/6ac540ae/video/tos/alisg/tos-alisg-v-0000/414fe167784b48378329c849aabed965/?a=0&bti=NTU4QDM1NGA%3D&&bt=1403&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=aDYzMzRnMzw7OTc3OTw1N0BpamRlOHM5cmc5PDMzODYzNEAuNDRjNjU1XjExYWIwYGEzYSNia2xrMmRzbmBhLS1kMDFzcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00048000"
},
"width": 576
}
},
"… 17 more items in the full response"
],
"pagination": {
"has_more": true,
"page": 1,
"size": 20,
"total_count": 400
}
},
"msg": "OK"
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | JSON |
TikTok | $0.001 ต่อการเรียก | 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/ads/search-ads โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: ad_format (integer), ad_language (string), country_code (string), industry (string), keyword (string) และ like (integer) และอีก 8 รายการ ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Creative Center Ad Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก