Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

TikTok Top Ads Search

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

Prix
À partir de $0.0012USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 5 facultatifs

Bac à sable

Entrée
Keyword to search in TikTok Creative Center top video ads.
One-based provider page number (default 1). Minimum : 1.
120
Maximum number of ads requested for this page, from 1 through 20 (default 20). Plage : de 1 à 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.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
TikTokÀ partir de $0.0012 par appelJSON
TikTokÀ partir de $0.0012 par appelJSON
TikTokÀ partir de $0.0008 par appelJSON
TikTokÀ partir de $0.0008 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON

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

Questions

FAQ

Comment utiliser l’API TikTok Top Ads Search ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/top-ads-search avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API TikTok Top Ads Search ?

À partir de $0.0012 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API TikTok Top Ads Search accepte-t-elle ?

Obligatoire : query (string). Facultatif : page (integer), limit (integer), period (l’un de 7, 30, 180), objective (l’un de traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales) et performanceRank (l’un de top_1_20, top_21_40, top_41_60, top_61_80). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API TikTok Top Ads Search ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API TikTok ?

Non. TikTok Top Ads Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.