Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

TikTok Ad Library Ad

Dokumentasi 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).

Harga
Dari $0.0012USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

Input
TikTok Top Ads material/ad ID, or a Top Ads detail URL (e.g. 7648493525660270600).
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
TikTokDari $0.0012 per panggilanJSON
TikTokDari $0.0008 per panggilanJSON
TikTokDari $0.0008 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON

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

Pertanyaan

FAQ

Bagaimana cara menggunakan API TikTok Ad Library Ad?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/ad-library-ad dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API TikTok Ad Library Ad?

Mulai dari $0.0012 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API TikTok Ad Library Ad?

Wajib: adId (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API TikTok Ad Library Ad?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API TikTok?

Tidak. TikTok Ad Library Ad berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.