Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Ad Transparency Search

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search

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

Giá
Từ $0.0008USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 8 tùy chọn

Phòng thử nghiệm

Đầu vào
1365
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30. Phạm vi: 1 đến 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. Phạm vi: 1 đến 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. Tối thiểu: 0.
Region code for the transparency search. Defaults to DE.
TikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Ad Transparency Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Ad Transparency Search có giá bao nhiêu?

Từ $0.0008 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Ad Transparency Search chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: days (integer), sort (string), limit (integer), query (string), cursor (string) và offset (integer) và 2 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Ad Transparency Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Ad Transparency Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.