adIdstringerforderlich
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).
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
adIdstringerforderlichTikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
TikTok Ad Library AdDiese API TikTok | Ab $0.0012 pro Aufruf | JSON |
TikTok | Ab $0.0008 pro Aufruf | JSON |
TikTok | Ab $0.0008 pro Aufruf | JSON |
TikTok | $0.001 pro Aufruf | JSON |
TikTok | $0.001 pro Aufruf | JSON |
TikTok | $0.001 pro Aufruf | JSON |
Anleitungen:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/tiktok/ad-library-ad mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
Ab $0.0012 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: adId (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. TikTok Ad Library Ad läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für TikTok API beantragen.