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
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/ads/ads-detail。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:ads_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。
不需要。TikTok Ad Detail 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。