ads_idstring必填
Ad ID, required parameter, can be obtained from ad lists or TikTok Ads Creative Center
https://api.sandbase.ai/v1/api/tiktok/ads/ads-detailReturns detailed information about a single TikTok ad, including creative content, creator information, and engagement performance metrics using a specific ad identifier.
[
{
"data": {
"code": 0,
"data": {
"ad_title": "Prism Pavilion — every item earns its place",
"brand_name": "wondermart",
"comment": 553,
"cost": 2,
"country_code": [
"US",
"CA",
"AE",
"… 52 more items in the full response"
],
"ctr": 0.15,
"favorite": false,
"has_summary": true,
"highlight_text": "The video starts with a common and disturbing situation where the audience could relate themselves to gain attention and arouse curiosity, and then introduces the product as a solution, perfectly showcasing product features and applications.",
"id": "7164467399885864962",
"industry_key": "label_15100000000",
"is_search": false,
"keyword_list": null,
"landing_page": "https://zestoraa.myshopify.com/products/charging-bracelet",
"like": 36951,
"objective_key": "campaign_objective_conversion",
"objectives": [
{
"label": "campaign_objective_conversion",
"value": 3
},
{
"label": "campaign_objective_product_sales",
"value": 15
},
{
"label": "campaign_objective_traffic",
"value": 1
},
"… 1 more items in the full response"
],
"pattern_label": [],
"share": 273,
"source": "TikTok Ads Manager",
"source_key": 1,
"tag": 1,
"video_info": {
"cover": "https://p19-common-sign.tiktokcdn.com/tos-useast2a-p-0051c799-euttp/ocZdEUNYLDA01totO9FwBNpAzDegzBB7IPfLvE~tplv-noop.image?dr=18692&refresh_token=6eed9798&x-expires=1790626725&x-signature=QEgumaXRZzCnKufBXR7odVVWR%2F4%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v14033g50000d7nteivog65o65kvtj6g",
"duration": 17.904,
"height": 1024,
"vid": "v14033g50000d7nteivog65o65kvtj6g",
"video_url": {
"360p": "https://v16m-default.tiktokcdn.com/dd464e6c00d4ebe435e847423986fab4/6abacba5/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/oMLDMmTFAqbXQ55GW6AeeAiMfAKg3G9CJ18ucH/?a=0&bti=NTU4QDM1NGA%3D&&bt=635&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=NzQ1OTY2N2VlNTo7NmVoNEBpam15OHI5cmx3OjMzODYzNEBiY2BhYzI0XjMxYzYtX2E2YSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000",
"480p": "https://v16m-default.tiktokcdn.com/c3b6b3f4b703cbf7bc911ed413da449e/6abacba5/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/ospCEBAFnIFhjNQgfcD7qTE9v51cDfRBQOApIv/?a=0&bti=NTU4QDM1NGA%3D&&bt=954&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=PDw4ZTs6M2dlZjo4NTw7NUBpam15OHI5cmx3OjMzODYzNEBiNTAtNTEwNV4xLmBeMmJjYSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000",
"540p": "https://v16m-default.tiktokcdn.com/40a1ead6b2518c9778cdca82365aabc0/6abacba5/video/tos/no1a/tos-no1a-ve-0051-no/oo6TCfsIQXeX7uuA2ATg30iMb60fMDABG8vRMo/?a=0&bti=NTU4QDM1NGA%3D&&bt=937&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=aGYzM2c4OzZmNDY6O2k2O0Bpam15OHI5cmx3OjMzODYzNEBfY14tX18vXjAxNV8uYV41YSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000",
"720p": "https://v16m-default.tiktokcdn.com/2052ea695c7a16de7c3a1e987bc71246/6abacba5/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/o0Xf55mQvFbMAifA0CWTAqeMAJgVXDsc863G9H/?a=0&bti=NTU4QDM1NGA%3D&&bt=1357&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=aDM2ZzRpZmgzN2UzZ2lpOUBpam15OHI5cmx3OjMzODYzNEBiXzAvM2FgXjExYWFiNGFjYSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000"
},
"width": 576
},
"voice_over": false
},
"msg": "OK",
"request_id": "2026092822182790F655C80F26AF5A1B6D"
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
Retrieve comprehensive ad details and performance metrics by providing an ads_id.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/ads-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ads_id": "<ads_id>"}'
| Name | Type | Required | Description |
|---|---|---|---|
ads_id | string | Yes | Ad ID, required parameter, can be obtained from ad lists or TikTok Ads Creative Center |
ads_id can be obtained from ad lists or the TikTok Ads Creative Center.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/ads-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ads_id": "7164467399885864962"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
ads_idstring必填Ad ID, required parameter, can be obtained from ad lists or TikTok Ads Creative Center
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"code": 0,
"data": {
"ad_title": "Prism Pavilion — every item earns its place",
"brand_name": "wondermart",
"comment": 553,
"cost": 2,
"country_code": [
"US",
"CA",
"AE",
"… 52 more items in the full response"
],
"ctr": 0.15,
"favorite": false,
"has_summary": true,
"highlight_text": "The video starts with a common and disturbing situation where the audience could relate themselves to gain attention and arouse curiosity, and then introduces the product as a solution, perfectly showcasing product features and applications.",
"id": "7164467399885864962",
"industry_key": "label_15100000000",
"is_search": false,
"keyword_list": null,
"landing_page": "https://zestoraa.myshopify.com/products/charging-bracelet",
"like": 36951,
"objective_key": "campaign_objective_conversion",
"objectives": [
{
"label": "campaign_objective_conversion",
"value": 3
},
{
"label": "campaign_objective_product_sales",
"value": 15
},
{
"label": "campaign_objective_traffic",
"value": 1
},
"… 1 more items in the full response"
],
"pattern_label": [],
"share": 273,
"source": "TikTok Ads Manager",
"source_key": 1,
"tag": 1,
"video_info": {
"cover": "https://p19-common-sign.tiktokcdn.com/tos-useast2a-p-0051c799-euttp/ocZdEUNYLDA01totO9FwBNpAzDegzBB7IPfLvE~tplv-noop.image?dr=18692&refresh_token=6eed9798&x-expires=1790626725&x-signature=QEgumaXRZzCnKufBXR7odVVWR%2F4%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v14033g50000d7nteivog65o65kvtj6g",
"duration": 17.904,
"height": 1024,
"vid": "v14033g50000d7nteivog65o65kvtj6g",
"video_url": {
"360p": "https://v16m-default.tiktokcdn.com/dd464e6c00d4ebe435e847423986fab4/6abacba5/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/oMLDMmTFAqbXQ55GW6AeeAiMfAKg3G9CJ18ucH/?a=0&bti=NTU4QDM1NGA%3D&&bt=635&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=NzQ1OTY2N2VlNTo7NmVoNEBpam15OHI5cmx3OjMzODYzNEBiY2BhYzI0XjMxYzYtX2E2YSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000",
"480p": "https://v16m-default.tiktokcdn.com/c3b6b3f4b703cbf7bc911ed413da449e/6abacba5/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/ospCEBAFnIFhjNQgfcD7qTE9v51cDfRBQOApIv/?a=0&bti=NTU4QDM1NGA%3D&&bt=954&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=PDw4ZTs6M2dlZjo4NTw7NUBpam15OHI5cmx3OjMzODYzNEBiNTAtNTEwNV4xLmBeMmJjYSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000",
"540p": "https://v16m-default.tiktokcdn.com/40a1ead6b2518c9778cdca82365aabc0/6abacba5/video/tos/no1a/tos-no1a-ve-0051-no/oo6TCfsIQXeX7uuA2ATg30iMb60fMDABG8vRMo/?a=0&bti=NTU4QDM1NGA%3D&&bt=937&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=aGYzM2c4OzZmNDY6O2k2O0Bpam15OHI5cmx3OjMzODYzNEBfY14tX18vXjAxNV8uYV41YSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000",
"720p": "https://v16m-default.tiktokcdn.com/2052ea695c7a16de7c3a1e987bc71246/6abacba5/video/tos/useast2a/tos-useast2a-ve-0051c799-euttp/o0Xf55mQvFbMAifA0CWTAqeMAJgVXDsc863G9H/?a=0&bti=NTU4QDM1NGA%3D&&bt=1357&ft=cApXJCz7ThWH~mOWLGZmo0P&mime_type=video_mp4&rc=aDM2ZzRpZmgzN2UzZ2lpOUBpam15OHI5cmx3OjMzODYzNEBiXzAvM2FgXjExYWFiNGFjYSMzcWgzMmRzYmthLS1kMDFzcw%3D%3D&vvpl=1&l=2026092822182790F655C80F26AF5A1B6D&btag=e000b8000"
},
"width": 576
},
"voice_over": false
},
"msg": "OK",
"request_id": "2026092822182790F655C80F26AF5A1B6D"
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
TikTok Ad Detail此 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/ads-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:ads_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。
不需要。TikTok Ad Detail 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。