Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

TikTok Search Module Safety Configuration

Dokumentasi API
https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety

Returns 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.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib ยท 0 opsional

Playground

Input
Tidak ada skema input yang tersedia
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

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

FieldMeaning
codeStatus code of the call. 0 appears together with msg set to OK in the sample response.
data.top_ads_searchSwitch for the top ads search module. The sample value is 0.
data.keyword_searchSwitch for the keyword search module. The sample value is 0.
data.hashtag_searchSwitch for the hashtag search module. The sample value is 0.
data.sound_searchSwitch for the sound search module. The sample value is 0.
data.creator_searchSwitch for the creator search module. The sample value is 0.
data.cc_banner_keyBanner 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 0 in the sample response. The response does not state what 0 or 1 means, 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON

Panduan:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API TikTok Search Module Safety Configuration?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API TikTok Search Module Safety Configuration?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API TikTok Search Module Safety Configuration?

TikTok Search Module Safety Configuration tidak memiliki parameter input; kirim body JSON kosong.

Apa yang dikembalikan API TikTok Search Module Safety Configuration?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API TikTok?

Tidak. TikTok Search Module Safety Configuration berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.