Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

TikTok Ad Transparency Search

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

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

Cena
Od $0.0008USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 8 opcjonalnych

Playground

Wejście
1365
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30. Zakres: od 1 do 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. Zakres: od 1 do 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. Minimum: 0.
Region code for the transparency search. Defaults to DE.
TikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TikTokOd $0.0008 za wywołanieJSON
TikTokOd $0.0012 za wywołanieJSON
TikTokOd $0.0008 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON

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

Pytania

FAQ

Jak używać API TikTok Ad Transparency Search?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API TikTok Ad Transparency Search?

Od $0.0008 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API TikTok Ad Transparency Search?

Nie są wymagane żadne parametry. Opcjonalne: days (integer), sort (string), limit (integer), query (string), cursor (string) i offset (integer) i jeszcze 2. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API TikTok Ad Transparency Search?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego TikTok lub klucza API?

Nie. TikTok Ad Transparency Search działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.