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.
- Prezzo
- $0.001USD / chiamata
- Metodo
- POST
- Risposta
- JSON
- Parametri
- 0 obbligatori · 0 opzionali
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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
| 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.
Inizia a costruire
Invia la tua prima richiesta
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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. Autenticazione
Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
3. Parametri
Non è stato pubblicato alcuno schema dei parametri per questa API.
4. Risposta
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
API correlate
| API | Prezzo | Risposta |
|---|---|---|
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Domande
FAQ
Come uso l'API TikTok Search Module Safety Configuration?
Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
Quanto costa l'API TikTok Search Module Safety Configuration?
$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Quali parametri accetta l'API TikTok Search Module Safety Configuration?
TikTok Search Module Safety Configuration non accetta parametri di input; invia un body JSON vuoto.
Cosa restituisce l'API TikTok Search Module Safety Configuration?
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
Mi serve un account sviluppatore o una chiave API TikTok?
No. TikTok Search Module Safety Configuration funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.
