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

TikTok Ad Library Ad

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

Fetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info).

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

Entorno de pruebas

Entrada
TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

TikTok Ad Library Ad API

This API returns details for one TikTok ad from the Top Ads library. You pass the ad ID or a Top Ads detail URL in adId. The response includes the ad title, target countries, click-through rate, objective, landing page, and video details.

Use cases

  • Check the landing page and campaign objective of an ad you found in a search.
  • Compare the ctr of different ads in the same industry.
  • Download the cover image and video link of an ad for a creative review.
  • See which countries an ad ran in.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-library-ad" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"adId": "7648493525660270600"}'

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

Parameters

NameTypeRequiredDescription
adIdstringYesTikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).

Example response

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

{
  "data": {
    "adId": "7648493525660270600",
    "adTitle": "New Captain Tsubasa Game Arrives!",
    "brandName": "",
    "comments": 0,
    "cost": 0,
    "countries": [
      "US"
    ],
    "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/os0IwlEEv5Y9Ao1jzi…",
    "ctr": 0.87,
    "durationSeconds": 6.016,
    "height": 1280,
    "industry": "label_25100000000",
    "landingPage": "https://captaintsubasa-mg11.com/zh-tw/?utm_source=tiktok&utm_medium=cpc&utm_camp…"
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the ad exists. A lookup that finds nothing returns false.
data.adId / data.adTitleThe ID of the ad and its title text.
data.brandNameName of the brand. It can be an empty string, as in this example.
data.countries[]Country codes where the ad ran, such as US, SG and TW.
data.ctrClick-through rate of the ad. The example value is 0.87.
data.objectiveCampaign objective as a label, such as campaign_objective_conversion.
data.industryIndustry label code, such as label_25100000000. The response gives the code only, not a readable name.
data.landingPageThe URL the ad sends users to, including its tracking parameters.
data.likes / data.comments / data.shares / data.costCounts of likes, comments and shares, and a cost value. All can be 0.
data.videoUrl / data.coverUrl / data.durationSeconds / data.width / data.heightLinks to the video file and cover image, plus the video length in seconds and its size in pixels.

Notes

Pricing

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

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0008 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 Library Ad?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/ad-library-ad 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 Library Ad?

Desde $0.0012 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 Library Ad?

Requeridos: adId (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok Ad Library Ad?

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