Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok Ad Transparency Search

Documentación de la API
https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search

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

Precio
Desde $0.0008USD / llamada
Método
POST
Respuesta
JSON
Parámetros
0 obligatorios · 8 opcionales

Entorno de pruebas

Entrada
1365
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30. Rango: de 1 a 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. Rango: de 1 a 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. Mínimo: 0.
Region code for the transparency search. Defaults to DE.
TikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTokDesde $0.0008 por llamadaJSON
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok Ad Transparency Search?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok Ad Transparency Search?

Desde $0.0008 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de TikTok Ad Transparency Search?

No se requieren parámetros. Opcionales: days (integer), sort (string), limit (integer), query (string), cursor (string) y offset (integer) y 2 más. La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok Ad Transparency Search?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok Ad Transparency Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.