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.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

问题

常见问题

如何使用 TikTok Ad Transparency Search API?

向 https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。TikTok Ad Transparency Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。