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

TikTok Ad Library Ad

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/ad-library-ad

Fetch full details for a single TikTok ad (brand, title, spend, CTR, objectives, landing page, and video info).

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 · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
Đầ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 Ad Library Ad API

This API returns details for one TikTok ad from the Top Ads library. You pass the ad ID or a Top Ads detail URL in adId. The response includes the ad title, target countries, click-through rate, objective, landing page, and video details.

Use cases

  • Check the landing page and campaign objective of an ad you found in a search.
  • Compare the ctr of different ads in the same industry.
  • Download the cover image and video link of an ad for a creative review.
  • See which countries an ad ran in.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ad-library-ad" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"adId": "7648493525660270600"}'

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

Parameters

NameTypeRequiredDescription
adIdstringYesTikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).

Example response

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

{
  "data": {
    "adId": "7648493525660270600",
    "adTitle": "New Captain Tsubasa Game Arrives!",
    "brandName": "",
    "comments": 0,
    "cost": 0,
    "countries": [
      "US"
    ],
    "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/os0IwlEEv5Y9Ao1jzi…",
    "ctr": 0.87,
    "durationSeconds": 6.016,
    "height": 1280,
    "industry": "label_25100000000",
    "landingPage": "https://captaintsubasa-mg11.com/zh-tw/?utm_source=tiktok&utm_medium=cpc&utm_camp…"
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the ad exists. A lookup that finds nothing returns false.
data.adId / data.adTitleThe ID of the ad and its title text.
data.brandNameName of the brand. It can be an empty string, as in this example.
data.countries[]Country codes where the ad ran, such as US, SG and TW.
data.ctrClick-through rate of the ad. The example value is 0.87.
data.objectiveCampaign objective as a label, such as campaign_objective_conversion.
data.industryIndustry label code, such as label_25100000000. The response gives the code only, not a readable name.
data.landingPageThe URL the ad sends users to, including its tracking parameters.
data.likes / data.comments / data.shares / data.costCounts of likes, comments and shares, and a cost value. All can be 0.
data.videoUrl / data.coverUrl / data.durationSeconds / data.width / data.heightLinks to the video file and cover image, plus the video length in seconds and its size in pixels.

Notes

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.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
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 Ad Library Ad?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/ad-library-ad 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 Ad Library Ad 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 Ad Library Ad chấp nhận những tham số nào?

Bắt buộc: adId (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Ad Library Ad 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 Ad Library Ad 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.