Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

TikTok Search Module Safety Configuration

API-Dokumentation
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.

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 0 optional

Playground

Eingabe
Kein Eingabeschema verfügbar
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

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

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON
TikTok$0.001 pro AufrufJSON

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

Fragen

FAQ

Wie verwende ich die TikTok Search Module Safety Configuration API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/tiktok/ads/configure-safety mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die TikTok Search Module Safety Configuration API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die TikTok Search Module Safety Configuration API?

TikTok Search Module Safety Configuration benötigt keine Eingabeparameter; senden Sie einen leeren JSON-Body.

Was gibt die TikTok Search Module Safety Configuration API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein TikTok-Entwicklerkonto oder einen API-Schlüssel?

Nein. TikTok Search Module Safety Configuration läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für TikTok API beantragen.