Get TikTok ad detail
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/ads/{ad_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/ads/{ad_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://scrapebadger.com/v1/tiktok/ads/{ad_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/tiktok/ads/{ad_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/tiktok/ads/{ad_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/tiktok/ads/{ad_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/ads/{ad_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ad": {
"id": "1873163420032386",
"name": "Nike Store",
"title": "@nike",
"first_shown_date": 1786320000000,
"last_shown_date": 1786406400000,
"videos": [
{
"video_url": "https://library.tiktok.com/api/v1/cdn/ad.mp4",
"cover_img": "https://p16-common-sign.tiktokcdn.com/cover.image"
}
],
"estimated_audience": "10K-100K",
"advertising_objective": "Reach",
"call_to_action": "Learn more",
"external_url": "https://www.nike.com/de/"
},
"advertiser": {
"name": "Nike Store",
"adv_biz_ids": "7564865556147552273",
"registry_location": "Germany",
"sponsor": "Nike Store",
"tt_user": null
},
"targeting": {
"location": {
"total_region": 1,
"total_impressions": "10K-100K",
"data": [
{
"region": "DE",
"impressions": "23K",
"breakdowns": [
{
"age": "18-24",
"gender": "FEMALE",
"impressions": "9K"
},
{
"age": "25-34",
"gender": "FEMALE",
"impressions": "5K"
}
]
}
]
},
"target_audience_size": "22.8M-27.9M",
"interest": "Home Design, Education",
"countries": [
"DE"
],
"languages": [
"German"
],
"operating_systems": [
"ALL"
]
},
"display_mode": "enhanced",
"region": "DE"
}Ads
Get Ad Detail
A single TikTok ad’s advertiser, creatives, and the full EU-DSA targeting and impression breakdown — per-region impressions by age and gender, audience size, interests, countries, languages and devices.
GET
/
v1
/
tiktok
/
ads
/
{ad_id}
Get TikTok ad detail
curl --request GET \
--url https://scrapebadger.com/v1/tiktok/ads/{ad_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/tiktok/ads/{ad_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://scrapebadger.com/v1/tiktok/ads/{ad_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/tiktok/ads/{ad_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/tiktok/ads/{ad_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/tiktok/ads/{ad_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/tiktok/ads/{ad_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ad": {
"id": "1873163420032386",
"name": "Nike Store",
"title": "@nike",
"first_shown_date": 1786320000000,
"last_shown_date": 1786406400000,
"videos": [
{
"video_url": "https://library.tiktok.com/api/v1/cdn/ad.mp4",
"cover_img": "https://p16-common-sign.tiktokcdn.com/cover.image"
}
],
"estimated_audience": "10K-100K",
"advertising_objective": "Reach",
"call_to_action": "Learn more",
"external_url": "https://www.nike.com/de/"
},
"advertiser": {
"name": "Nike Store",
"adv_biz_ids": "7564865556147552273",
"registry_location": "Germany",
"sponsor": "Nike Store",
"tt_user": null
},
"targeting": {
"location": {
"total_region": 1,
"total_impressions": "10K-100K",
"data": [
{
"region": "DE",
"impressions": "23K",
"breakdowns": [
{
"age": "18-24",
"gender": "FEMALE",
"impressions": "9K"
},
{
"age": "25-34",
"gender": "FEMALE",
"impressions": "5K"
}
]
}
]
},
"target_audience_size": "22.8M-27.9M",
"interest": "Home Design, Education",
"countries": [
"DE"
],
"languages": [
"German"
],
"operating_systems": [
"ALL"
]
},
"display_mode": "enhanced",
"region": "DE"
}The TikTok Ad Library is EU-only (EU Digital Services Act ad transparency).
Pass an ad
id from a Search the Ad Library
result and an EU region.Each request costs 8 credits. Failed requests are not charged.
The real per-region impression numbers live in
targeting.location.data[].breakdowns
(by age and gender). The top-level impression and spent fields are usually
0/"" for EU disclosures — sum the breakdowns to size a campaign’s reach.Authorizations
Path Parameters
Ad id from an ads/search result.
Query Parameters
EU region code — the Ad Library is EU-only.
Response
200 - application/json
Ad detail
An ad from the Commercial Content Library.
Show child attributes
Show child attributes
The advertiser behind an ad.
Show child attributes
Show child attributes
Targeting + impression breakdown disclosed for an ad (EU-DSA).
Show child attributes
Show child attributes
TikTok disclosure mode, e.g. "enhanced".
⌘I

