daysinteger
Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
डिफ़ॉल्ट: 30
https://api.sandbase.ai/v1/api/tiktok/ad-transparency-searchSearch TikTok's EU Commercial Content Library by keyword or advertiser ID.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
This API searches TikTok's EU Commercial Content Library and returns a list of ads. Each ad includes its title, advertiser name, audience estimate, show dates, and media links. Send a keyword in query or a library advertiser ID in advertiserId.
advertiserId.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"days": 30, "limit": 20, "query": "nike", "region": "DE"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
advertiserId | string | No | TikTok Commercial Content Library advertiser ID. Provide advertiserId or query. |
cursor | string | No | Search cursor from a previous response's nextCursor. |
days | integer | No | Number of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30. |
limit | integer | No | Maximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request. |
offset | integer | No | Zero-based result offset. Defaults to 0. |
query | string | No | Keyword to search in TikTok's EU Commercial Content Library. Provide query or advertiserId. |
region | string | No | Region code for the transparency search. Defaults to DE. |
sort | string | No | Sort expression. Defaults to last_shown_date,desc. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"ads": [
{
"adTitle": "Neue Winterausrüstung in Nike Factory Stores.",
"advertiserName": "NIKE Retail B.V.",
"estimatedAudience": "300K-400K",
"firstShownUtc": 1792454400,
"format": "2",
"id": "1879578150853922",
"image": "https://p16-common-sign.tiktokcdn.com/ad-site-i18n-sg/20261013c7c72a61615657cc4f…",
"lastShownUtc": 1793577600,
"status": "1",
"videoUrl": "https://library.tiktok.com/api/v1/cdn/1793691828/video/aHR0cHM6Ly92MTZtLnRpa3Rva…"
}
],
"hasMore": false,
"nextCursor": "cur_r-MF0Us35pN_wCPP3qHT6Q",
"offset": 0,
"region": "DE",
"total": 4448
},
"found": true
}
| Field | Meaning |
|---|---|
data.ads[].id | ID of the ad in the Commercial Content Library, returned as a string. |
data.ads[].adTitle | Text title of the ad. |
data.ads[].advertiserName | Name of the advertiser that ran the ad. |
data.ads[].estimatedAudience | Estimated audience size as a range string, for example 300K-400K. |
data.ads[].firstShownUtc / data.ads[].lastShownUtc | Unix timestamps in seconds for the first and last day the ad was shown. |
data.ads[].videoUrl / data.ads[].image | Links to the ad video and the ad image. |
data.ads[].format / data.ads[].status | Coded values for the ad format and ad status, returned as strings such as 2 and 1. |
data.total | Total number of ads that match the search. |
data.hasMore / data.nextCursor | hasMore tells you if more results exist. nextCursor is the value to send as cursor in the next request. |
data.region | Region code used for the search. |
query or advertiserId. Use limit (1 to 50) and offset to page through results.data.nextCursor as cursor in the next request.found: false.Billed at the actual cost of each call, about $0.0008 for the request above. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"days": 30,
"sort": "last_shown_date,desc",
"limit": 20,
"query": "nike",
"offset": 0,
"region": "DE"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
daysintegerNumber of days of Commercial Content Library history to search, from 1 to 365. Defaults to 30.
डिफ़ॉल्ट: 30
sortstringSort expression. Defaults to last_shown_date,desc.
डिफ़ॉल्ट: "last_shown_date,desc"
limitintegerMaximum number of ads to return, from 1 to 50. Defaults to 20. Billing is flat per request.
डिफ़ॉल्ट: 20
querystringKeyword to search in TikTok's EU Commercial Content Library. Provide query or advertiserId.
cursorstringSearch cursor from a previous response's nextCursor.
offsetintegerZero-based result offset. Defaults to 0.
डिफ़ॉल्ट: 0
regionstringRegion code for the transparency search. Defaults to DE.
डिफ़ॉल्ट: "DE"
advertiserIdstringTikTok Commercial Content Library advertiser ID. Provide advertiserId or query.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
TikTok | $0.0008 प्रति कॉल से | JSON |
TikTok | $0.0012 प्रति कॉल से | JSON |
TikTok | $0.0008 प्रति कॉल से | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/tiktok/ad-transparency-search पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0008 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: days (integer), sort (string), limit (integer), query (string), cursor (string) और offset (integer) और 2 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। TikTok Ad Transparency Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।