Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok Top Ads Search

Documentación de la API
https://api.sandbase.ai/v1/api/tiktok/top-ads-search

Search TikTok Creative Center top video ads by keyword, with campaign objective, performance percentile, and time-window filters.

Precio
Desde $0.0012USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 5 opcionales

Entorno de pruebas

Entrada
Keyword to search in TikTok Creative Center top video ads.
One-based provider page number (default 1). Mínimo: 1.
120
Maximum number of ads requested for this page, from 1 through 20 (default 20). Rango: de 1 a 20.
Lookback period in days (default 180).
Campaign objective filter. Omit it to search every objective.
Ad performance percentile bucket, where top_1_20 is the highest-performing 20 percent. Omit it to search every bucket.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

TikTok Top Ads Search API

This API searches TikTok Creative Center top video ads for a keyword. It returns a page of ads with title, brand, likes, click-through rate, video length, and media links. It needs a query and accepts optional filters for objective, performance bucket, and lookback period.

Use cases

  • Collect high-performing glasses ads to study the hooks and offers that competitors run.
  • Filter by objective to compare conversion ads with video view ads for the same keyword.
  • Narrow results to the top_1_20 performance bucket to build a swipe file of the strongest creatives.
  • Track which brands advertise a product category by listing brandName across several pages.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/top-ads-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "glasses"}'

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

Parameters

NameTypeRequiredDescription
querystringYesKeyword to search in TikTok Creative Center top video ads.
limitintegerNoMaximum number of ads requested for this page, from 1 through 20 (default 20).
objectivestringNoCampaign objective filter. Omit it to search every objective.
pageintegerNoOne-based provider page number (default 1).
performanceRankstringNoAd performance percentile bucket, where top_1_20 is the highest-performing 20 percent. Omit it to search every bucket.
periodintegerNoLookback period in days (default 180).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "ads": [
      {
        "adId": "7231584422875676673",
        "adTitle": "The best way to clean - 80% off, ends soon-634222",
        "brandName": "متجر الخليج",
        "cost": 2,
        "ctr": 0.16,
        "durationSeconds": 14.8,
        "height": 1024,
        "image": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/oEBKAY2XAFC1PC2AIoEDhcfiQ…",
        "industry": "label_18106000000",
        "likes": 17219,
        "objective": "campaign_objective_conversion",
        "videoUrl": "https://v16m-default.tiktokcdn.com/3a0edf7542973ffeb3b20f2f5b890b2f/6ae9e540/vid…"
      }
    ],
    "hasMore": true,
    "page": 1,
    "pageSize": 20,
    "total": 300
  },
  "found": true
}

Response fields

FieldMeaning
data.ads[].adIdID of the ad as a string. Use it to identify the same ad across searches.
data.ads[].adTitle / data.ads[].brandNameTitle text of the ad and the name of the advertiser brand.
data.ads[].likesNumber of likes on the ad.
data.ads[].ctrClick-through rate of the ad as a decimal number, for example 0.16.
data.ads[].costCost level of the ad as a small whole number. The response does not show what the scale means.
data.ads[].durationSecondsLength of the ad video in seconds.
data.ads[].objective / data.ads[].industryCampaign objective of the ad, such as campaign_objective_conversion, and an industry label code such as label_22101000000.
data.ads[].videoUrl / data.ads[].imageLinks to the ad video and its cover image.
data.ads[].width / data.ads[].heightPixel size of the ad video, for example 576 by 1024.
data.hasMore / data.page / data.pageSize / data.totalPagination info: whether more pages exist, the current page number, the page size, and the total number of matching ads.

Notes

  • Set page to get the next page while data.hasMore is true. limit accepts 1 to 20 ads per page.
  • The objective filter uses values like conversions, but each ad returns its objective as a value like campaign_objective_conversion.
  • The media links in videoUrl and image include signed parameters, so save the files if you need them later.
  • To look at one ad in depth, try TikTok Ad Detail. For keyword ideas, try TikTok Ad Query Suggestions.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok Top Ads Search?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/top-ads-search con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok Top Ads Search?

Desde $0.0012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de TikTok Top Ads Search?

Requeridos: query (string). Opcionales: page (integer), limit (integer), period (una de 7, 30, 180), objective (una de traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales) y performanceRank (una de top_1_20, top_21_40, top_41_60, top_61_80). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok Top Ads Search?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok Top Ads Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.