countinteger
Number of suggestions to return, default 50
https://api.sandbase.ai/v1/api/tiktok/ads/query-suggestionsReturns popular or keyword-based ad search suggestions across TikTok. Filter results by target country code, scenario type, and an optional query string.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Retrieves search query recommendations for ad discovery, using optional filters such as query, country_code, and scenario.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/query-suggestions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
| Name | Type | Required | Description |
|---|---|---|---|
count | integer | No | Number of suggestions to return, default 50 |
query | string | No | Input keyword (optional), returns suggestions based on input; popular ones if omitted |
scenario | integer | No | Scenario type, default 1 |
country_code | string | No | Country code, default US |
query is omitted, the endpoint returns general popular suggestions.country_code defaults to US.count defaults to 50 suggestions per call.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/query-suggestions" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'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.
countintegerNumber of suggestions to return, default 50
country_codestringCountry code, default US
querystringInput keyword (optional), returns suggestions based on input; popular ones if omitted
scenariointegerScenario type, default 1
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 | Prezzo | Risposta |
|---|---|---|
TikTok Ad Query SuggestionsQuesta API 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
Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/ads/query-suggestions 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.
$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Nessun parametro richiesto. Facoltativi: count (integer), country_code (string), query (string) e scenario (integer). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).
No. TikTok Ad Query Suggestions 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.