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.
开始构建
具备统一身份验证和使用情况跟踪的平台 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 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_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
问题
向 https://api.sandbase.ai/v1/api/tiktok/ads/search-ads 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
无需参数。 可选:ad_format (integer), ad_language (string), country_code (string), industry (string), keyword (string) 和 like (integer) 以及另外 8 项。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。TikTok Creative Center Ad Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。