TikTok Search Module Safety Configuration
https://api.sandbase.ai/v1/api/tiktok/ads/configure-safetyReturns the safety and availability configuration switches for TikTok Creative Center search modules. It indicates whether searches for top ads, keywords, hashtags, sounds, and creators are currently available.
- मूल्य
- $0.001USD / कॉल
- मेथड
- POST
- प्रतिक्रिया
- JSON
- पैरामीटर
- 0 आवश्यक · 0 वैकल्पिक
प्लेग्राउंड
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
API README
TikTok Search Module Safety Configuration API
Returns a set of configuration switches for the TikTok Creative Center search modules. It needs no input. The response has one flag each for top ads, keyword, hashtag, sound, and creator search.
Use cases
- Check the switches before you call a Creative Center search API, so your job can skip a module that is turned off.
- Poll the response to log when a search module changes state.
- Show a status panel for top ads, keyword, hashtag, sound, and creator search in an internal dashboard.
Request
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"cc_banner_key": "",
"creator_search": 0,
"hashtag_search": 0,
"keyword_search": 0,
"sound_search": 0,
"top_ads_search": 0
},
"msg": "OK"
}
Response fields
| Field | Meaning |
|---|---|
code | Status code of the call. 0 appears together with msg set to OK in the sample response. |
data.top_ads_search | Switch for the top ads search module. The sample value is 0. |
data.keyword_search | Switch for the keyword search module. The sample value is 0. |
data.hashtag_search | Switch for the hashtag search module. The sample value is 0. |
data.sound_search | Switch for the sound search module. The sample value is 0. |
data.creator_search | Switch for the creator search module. The sample value is 0. |
data.cc_banner_key | Banner key string for the Creative Center. It is an empty string in the sample response. |
Notes
- Send an empty JSON body
{}. The API has no request parameters. - All five search switches are
0in the sample response. The response does not state what0or1means, so compare values over time rather than assuming a meaning. - To search ads after checking the switches, call TikTok Creative Center Ad Search.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
अपना पहला अनुरोध भेजें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. प्रमाणीकरण
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
इस API के लिए कोई parameter schema प्रकाशित नहीं किया गया है।
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
संबंधित APIs
| API | कीमत | प्रतिक्रिया |
|---|---|---|
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | JSON |
TikTok | $0.001 प्रति कॉल | 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
प्रश्न
FAQ
TikTok Search Module Safety Configuration API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
TikTok Search Module Safety Configuration API की लागत कितनी है?
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
TikTok Search Module Safety Configuration API कौन-से parameters स्वीकार करती है?
TikTok Search Module Safety Configuration कोई input parameters नहीं लेता; एक खाली JSON body भेजें।
TikTok Search Module Safety Configuration API क्या लौटाती है?
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक TikTok developer account या API key चाहिए?
नहीं। TikTok Search Module Safety Configuration SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।
