Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

TikTok Ad Library Ad

Docs 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).

Prix
À partir de $0.0012USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs

Bac à sable

Entrée
TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
TikTokÀ partir de $0.0012 par appelJSON
TikTokÀ partir de $0.0008 par appelJSON
TikTokÀ partir de $0.0008 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON

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

Questions

FAQ

Comment utiliser l’API TikTok Ad Library Ad ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/ad-library-ad avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API TikTok Ad Library Ad ?

À partir de $0.0012 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API TikTok Ad Library Ad accepte-t-elle ?

Obligatoire : adId (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API TikTok Ad Library Ad ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API TikTok ?

Non. TikTok Ad Library Ad fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.