Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

TikTok Top Ads Search

Docs da 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.

Preço
A partir de $0.0012USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 5 opcionais

Playground

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). Intervalo: 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.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da 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 mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
TikTokA partir de $0.0012 por chamadaJSON
TikTokA partir de $0.0012 por chamadaJSON
TikTokA partir de $0.0008 por chamadaJSON
TikTokA partir de $0.0008 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON

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

Perguntas

FAQ

Como eu uso a API TikTok Top Ads Search?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/top-ads-search com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API TikTok Top Ads Search?

A partir de $0.0012 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API TikTok Top Ads Search aceita?

Obrigatórios: query (string). Opcionais: page (integer), limit (integer), period (um de 7, 30, 180), objective (um de traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales) e performanceRank (um de top_1_20, top_21_40, top_41_60, top_61_80). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API TikTok Top Ads Search retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor TikTok ou de uma chave de API?

Não. TikTok Top Ads Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do TikTok separadamente.