Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

TikTok Ads Library Search Ads

Documentazione API
https://api.sandbase.ai/v1/api/tiktok-ads-library/search-ads

Search the TikTok Ad Library for ads matching a query (advertiser name or keyword).

Prezzo
$0.06USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 7 opzionali

Playground

Input
Search query (advertiser name or keyword)
Number of results per page (max 50)
Pagination offset (0-based). Requires search_id from a previous response for values > 0.
Region/country code filter (e.g. 'FR', 'DE', 'GB') or 'all' for all regions. Use get_supported_regions for the full list of accepted codes.
Sort order: 'last_shown_date,desc' or 'last_shown_date,asc'
End of date range as Unix timestamp (seconds). Defaults to now.
Search ID returned from a previous search_ads call. Required when offset > 0 to paginate through results.
Start of date range as Unix timestamp (seconds). Defaults to 1 year ago.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

TikTok Ads Library Search Ads API

Search the TikTok Ad Library for ads matching a query (advertiser name or keyword).

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "tiktok-ads-library/search-ads", "limit": 12, "query": "nike", "offset": 0, "region": "all", "sort_by": "last_shown_date,desc", "search_id": ""}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch query (advertiser name or keyword)
end_timeintegerNoEnd of date range as Unix timestamp (seconds). Defaults to now.
limitintegerNoNumber of results per page (max 50)
offsetintegerNoPagination offset (0-based). Requires search_id from a previous response for values > 0.
regionstringNoRegion/country code filter (e.g. 'FR', 'DE', 'GB') or 'all' for all regions. Use get_supported_regions for the full list of accepted codes. One of: all, FR, DE, GB.
search_idstringNoSearch ID returned from a previous search_ads call. Required when offset > 0 to paginate through results.
sort_bystringNoSort order: 'last_shown_date,desc' or 'last_shown_date,asc' One of: last_shown_date,desc, last_shown_date,asc.
start_timeintegerNoStart of date range as Unix timestamp (seconds). Defaults to 1 year ago.

Pricing

Flat $0.06 per call. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TikTok Ads Library$0.06 per chiamataJSON
TikTok Ads Library$0.03 per chiamataJSON
TikTok Ads Library$0.03 per chiamataJSON

Domande

FAQ

Come uso l'API TikTok Ads Library Search Ads?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok-ads-library/search-ads 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 Ads Library Search Ads?

$0.06 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API TikTok Ads Library Search Ads?

Richiesti: query (string). Facoltativi: limit (integer), offset (integer), region (uno tra all, FR, DE, GB), sort_by (uno tra last_shown_date,desc, last_shown_date,asc), end_time (integer) e search_id (string) e altri 1. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API TikTok Ads Library Search Ads?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).

Mi serve un account sviluppatore o una chiave API TikTok Ads Library?

No. TikTok Ads Library Search Ads 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 Ads Library.