Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Top Ads Search

Tài liệu 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.

Giá
Từ $0.0012USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 5 tùy chọn

Phòng thử nghiệm

Đầu vào
Keyword to search in TikTok Creative Center top video ads.
One-based provider page number (default 1). Tối thiểu: 1.
120
Maximum number of ads requested for this page, from 1 through 20 (default 20). Phạm vi: 1 đến 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.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Top Ads Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/top-ads-search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Top Ads Search có giá bao nhiêu?

Từ $0.0012 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Top Ads Search chấp nhận những tham số nào?

Bắt buộc: query (string). Tùy chọn: page (integer), limit (integer), period (một trong số 7, 30, 180), objective (một trong số traffic, app_installs, conversions, video_views, reach, lead_generation, product_sales) và performanceRank (một trong số top_1_20, top_21_40, top_41_60, top_61_80). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Top Ads Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Top Ads Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.