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

TikTok Ad Transparency Search

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

Search TikTok's EU Commercial Content Library by keyword or advertiser ID.

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

Playground

輸入
1365
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30. 範圍:1 到 365。
Sort expression. Defaults to last_shown_date,desc.
150
Maximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request. 範圍:1 到 50。
Keyword to search in TikTok's EU Commercial Content Library. Provide query or advertiserId.
Search cursor from a previous response's nextCursor.
Zero-based result offset. Defaults to 0. 最小值:0。
Region code for the transparency search. Defaults to DE.
TikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

TikTok Ad Transparency Search API

This API searches TikTok's EU Commercial Content Library and returns a list of ads. Each ad includes its title, advertiser name, audience estimate, show dates, and media links. Send a keyword in query or a library advertiser ID in advertiserId.

Use cases

  • Track which ads a brand such as Nike runs on TikTok in Germany.
  • Check how long a campaign has been running by comparing its first and last shown dates.
  • Collect ad videos and images from competitors for creative research.
  • List all ads from one advertiser by passing its advertiserId.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"days": 30, "limit": 20, "query": "nike", "region": "DE"}'

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

Parameters

NameTypeRequiredDescription
advertiserIdstringNoTikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
cursorstringNoSearch cursor from a previous response's nextCursor.
daysintegerNoNumber of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
limitintegerNoMaximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request.
offsetintegerNoZero-based result offset. Defaults to 0.
querystringNoKeyword to search in TikTok's EU Commercial Content Library. Provide query or advertiserId.
regionstringNoRegion code for the transparency search. Defaults to DE.
sortstringNoSort expression. Defaults to last_shown_date,desc.

Example response

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

{
  "data": {
    "ads": [
      {
        "adTitle": "Neue Winterausrüstung in Nike Factory Stores.",
        "advertiserName": "NIKE Retail B.V.",
        "estimatedAudience": "300K-400K",
        "firstShownUtc": 1792454400,
        "format": "2",
        "id": "1879578150853922",
        "image": "https://p16-common-sign.tiktokcdn.com/ad-site-i18n-sg/20261013c7c72a61615657cc4f…",
        "lastShownUtc": 1793577600,
        "status": "1",
        "videoUrl": "https://library.tiktok.com/api/v1/cdn/1793691828/video/aHR0cHM6Ly92MTZtLnRpa3Rva…"
      }
    ],
    "hasMore": false,
    "nextCursor": "cur_r-MF0Us35pN_wCPP3qHT6Q",
    "offset": 0,
    "region": "DE",
    "total": 4448
  },
  "found": true
}

Response fields

FieldMeaning
data.ads[].idID of the ad in the Commercial Content Library, returned as a string.
data.ads[].adTitleText title of the ad.
data.ads[].advertiserNameName of the advertiser that ran the ad.
data.ads[].estimatedAudienceEstimated audience size as a range string, for example 300K-400K.
data.ads[].firstShownUtc / data.ads[].lastShownUtcUnix timestamps in seconds for the first and last day the ad was shown.
data.ads[].videoUrl / data.ads[].imageLinks to the ad video and the ad image.
data.ads[].format / data.ads[].statusCoded values for the ad format and ad status, returned as strings such as 2 and 1.
data.totalTotal number of ads that match the search.
data.hasMore / data.nextCursorhasMore tells you if more results exist. nextCursor is the value to send as cursor in the next request.
data.regionRegion code used for the search.

Notes

  • Send either query or advertiserId. Use limit (1 to 50) and offset to page through results.
  • To get the next page, pass data.nextCursor as cursor in the next request.
  • A search with no match returns found: false.
  • For details on a single ad, try TikTok Ad Library Ad. For another ad search, see TikTok Ad Library Search.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
TikTok每次呼叫 $0.0008 起JSON
TikTok每次呼叫 $0.0012 起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 Transparency Search API?

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

TikTok Ad Transparency Search API 的費用是多少?

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

TikTok Ad Transparency Search API 接受哪些參數?

不需要任何參數。 選填:days (integer), sort (string), limit (integer), query (string), cursor (string) 和 offset (integer),以及另外 2 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

TikTok Ad Transparency Search API 會回傳什麼?

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

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

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