adIdstringrequerido
TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
https://api.sandbase.ai/v1/api/tiktok/ad-library-adFetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info).
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
ctr of different ads in the same industry.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.
| Name | Type | Required | Description |
|---|---|---|---|
adId | string | Yes | TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600). |
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
}
| Field | Meaning |
|---|---|
found | true when the ad exists. A lookup that finds nothing returns false. |
data.adId / data.adTitle | The ID of the ad and its title text. |
data.brandName | Name 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.ctr | Click-through rate of the ad. The example value is 0.87. |
data.objective | Campaign objective as a label, such as campaign_objective_conversion. |
data.industry | Industry label code, such as label_25100000000. The response gives the code only, not a readable name. |
data.landingPage | The URL the ad sends users to, including its tracking parameters. |
data.likes / data.comments / data.shares / data.cost | Counts of likes, comments and shares, and a cost value. All can be 0. |
data.videoUrl / data.coverUrl / data.durationSeconds / data.width / data.height | Links to the video file and cover image, plus the video length in seconds and its size in pixels. |
outputs[0].data. If the ad is not found, the call still succeeds and returns found: false.adId accepts a numeric Top Ads ID such as 7648493525660270600, or a Top Ads detail URL.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
adIdstringrequeridoTikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
TikTok Ad Library AdEsta API TikTok | Desde $0.0012 por llamada | JSON |
TikTok | Desde $0.0008 por llamada | JSON |
TikTok | Desde $0.0008 por llamada | JSON |
TikTok | $0.001 por llamada | JSON |
TikTok | $0.001 por llamada | JSON |
TikTok | $0.001 por llamada | JSON |
Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Preguntas
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.
Desde $0.0012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: adId (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
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.