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 / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 0 จำเป็น · 0 ไม่บังคับ
Playground
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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 ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
ยังไม่มีการเผยแพร่ schema ของพารามิเตอร์สำหรับ API นี้
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
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
คำถาม
คำถามที่พบบ่อย
ฉันจะใช้ TikTok Search Module Safety Configuration API ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
TikTok Search Module Safety Configuration API ราคาเท่าไร?
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
TikTok Search Module Safety Configuration API รับพารามิเตอร์อะไรบ้าง?
TikTok Search Module Safety Configuration ไม่รับพารามิเตอร์อินพุต ส่ง JSON body ว่างเปล่า
TikTok Search Module Safety Configuration API ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?
ไม่จำเป็น TikTok Search Module Safety Configuration ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก
