Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

TikTok Top Ads Search

เอกสาร 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.

ราคา
เริ่มต้นที่ $0.0012USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 5 ไม่บังคับ

Playground

อินพุต
Keyword to search in TikTok Creative Center top video ads.
One-based provider page number (default 1). ขั้นต่ำ: 1.
120
Maximum number of ads requested for this page, from 1 through 20 (default 20). ช่วง: 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.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
TikTokเริ่มต้นที่ $0.0012 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0012 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON

คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ TikTok Top Ads Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/top-ads-search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

TikTok Top Ads Search API ราคาเท่าไร?

เริ่มต้นที่ $0.0012 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok Top Ads Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: query (string). ตัวเลือก: page (integer), limit (integer), period (หนึ่งใน 7, 30, 180), objective (หนึ่งใน traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales) และ performanceRank (หนึ่งใน top_1_20, top_21_40, top_41_60, top_61_80). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok Top Ads Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?

ไม่จำเป็น TikTok Top Ads Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก