Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

TikTok Ad Library Ad

API 文件
https://api.sandbase.ai/v1/api/tiktok/ad-library-ad

Fetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info).

價格
自 $0.0012 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填

Playground

輸入
TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

TikTok Ad Library Ad API

This API returns details for one TikTok ad from the Top Ads library. You pass the ad ID or a Top Ads detail URL in adId. The response includes the ad title, target countries, click-through rate, objective, landing page, and video details.

Use cases

  • Check the landing page and campaign objective of an ad you found in a search.
  • Compare the ctr of different ads in the same industry.
  • Download the cover image and video link of an ad for a creative review.
  • See which countries an ad ran in.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-library-ad" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"adId": "7648493525660270600"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
adIdstringYesTikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "adId": "7648493525660270600",
    "adTitle": "New Captain Tsubasa Game Arrives!",
    "brandName": "",
    "comments": 0,
    "cost": 0,
    "countries": [
      "US"
    ],
    "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/os0IwlEEv5Y9Ao1jzi…",
    "ctr": 0.87,
    "durationSeconds": 6.016,
    "height": 1280,
    "industry": "label_25100000000",
    "landingPage": "https://captaintsubasa-mg11.com/zh-tw/?utm_source=tiktok&utm_medium=cpc&utm_camp…"
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the ad exists. A lookup that finds nothing returns false.
data.adId / data.adTitleThe ID of the ad and its title text.
data.brandNameName of the brand. It can be an empty string, as in this example.
data.countries[]Country codes where the ad ran, such as US, SG and TW.
data.ctrClick-through rate of the ad. The example value is 0.87.
data.objectiveCampaign objective as a label, such as campaign_objective_conversion.
data.industryIndustry label code, such as label_25100000000. The response gives the code only, not a readable name.
data.landingPageThe URL the ad sends users to, including its tracking parameters.
data.likes / data.comments / data.shares / data.costCounts of likes, comments and shares, and a cost value. All can be 0.
data.videoUrl / data.coverUrl / data.durationSeconds / data.width / data.heightLinks to the video file and cover image, plus the video length in seconds and its size in pixels.

Notes

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
TikTok每次呼叫 $0.0012 起JSON
TikTok每次呼叫 $0.0008 起JSON
TikTok每次呼叫 $0.0008 起JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON

指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

問題

常見問題

我要如何使用 TikTok Ad Library Ad API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/ad-library-ad。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

TikTok Ad Library Ad API 的費用是多少?

每次起 $0.0012,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

TikTok Ad Library Ad API 接受哪些參數?

必要:adId (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

TikTok Ad Library Ad API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 TikTok 開發者帳號或 API 金鑰嗎?

不需要。TikTok Ad Library Ad 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。