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

TikTok Ad Library Search

เอกสาร API
https://api.sandbase.ai/v1/api/tiktok/ad-library-search

Search TikTok's public Ads Library by keyword or advertiser (advertiser, title, audience band, run dates, library link, and video).

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

Playground

อินพุต
Keyword to search ad titles and content (e.g. spotify). Provide query or advertiserName, never both.
Opaque cursor from a previous response's nextCursor. Omit it for the first page.
Two-letter region code for TikTok's Commercial Content Library, such as DE, FR, GB or IT. Each region holds a different set of ads. Omit it to take the library's own default region, DE. Coverage is the EU and EEA; a non-EU code such as US is not served.
Advertiser name to list ads for (e.g. Spotify). Provide advertiserName or query, never both.
เอาต์พุตพร้อมใช้งาน

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

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

API README

TikTok Ad Library Search API

This API searches TikTok's public Ads Library and returns a page of matching ads. Each ad includes the advertiser name, ad title, an audience band, run dates, a library link and a video link. Send either a query keyword or an advertiserName, not both.

Use cases

  • Track which ads a brand currently runs on TikTok in a given EU or EEA region.
  • Compare ad titles and audience bands for competing advertisers.
  • Build a timeline of when a campaign started and last ran from its first and last shown dates.
  • Collect library links and video links to review ad creatives.

Request

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

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

Parameters

NameTypeRequiredDescription
advertiserNamestringNoAdvertiser name to list ads for (e.g. Spotify). Provide advertiserName or query, never both.
cursorstringNoOpaque cursor from a previous response's nextCursor. Omit it for the first page.
querystringNoKeyword to search ad titles and content (e.g. spotify). Provide query or advertiserName, never both.
regionstringNoTwo-letter region code for TikTok's Commercial Content Library, such as DE, FR, GB or IT. Each region holds a different set of ads. Omit it to take the library's own default region, DE. Coverage is the EU and EEA; a non-

Example response

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

{
  "data": {
    "ads": [
      {
        "adId": "1823872659482674",
        "adTitle": "Pitch to Spotify Playlists",
        "brandName": "SPOTIFY USA INC",
        "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/oUeIxrmUDGrsUgpzfm…",
        "estimatedAudience": "100K-200K",
        "firstShownUtc": 1739404800,
        "format": "2",
        "lastShownUtc": 1793577600,
        "status": "1",
        "url": "https://library.tiktok.com/ads/detail/?ad_id=1823872659482674",
        "videoUrl": "https://library.tiktok.com/api/v1/cdn/1793691827/video/aHR0cHM6Ly92NzcudGlrdG9rY…"
      }
    ],
    "hasMore": false,
    "nextCursor": "cur_uNU1NXRd1LfZ6gD-_NvMGA",
    "total": 5000
  },
  "found": true
}

Response fields

FieldMeaning
data.ads[].adIdID of the ad. Pass it to an ad detail API to get more about one ad.
data.ads[].adTitleTitle text of the ad.
data.ads[].brandNameName of the advertiser that ran the ad, such as SPOTIFY LIMITED.
data.ads[].estimatedAudienceAudience size as a range string, such as 100K-200K or 1M-10M.
data.ads[].firstShownUtc / data.ads[].lastShownUtcUnix timestamps in seconds for the first and last day the ad was shown.
data.ads[].urlLink to the ad's detail page in TikTok's Ads Library.
data.ads[].videoUrl / data.ads[].coverUrlLink to the ad video and link to its cover image.
data.totalTotal count of matching ads reported for the search.
data.hasMore / data.nextCursorhasMore tells you if another page exists. nextCursor is the value to send as cursor for the next page.

Notes

  • Use region with a two-letter EU or EEA code such as DE, FR, GB or IT. Each region holds a different set of ads, and DE is the default.
  • To page through results, send the nextCursor value from the last response as cursor. Stop when hasMore is false.
  • Use TikTok Ad Library Ad to look up a single ad from its adId.

Pricing

Billed at the actual cost of each call, about $0.0008 for the request above. Failed calls are not charged.

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0012 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTok$0.001 ต่อการเรียก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 Ad Library Search API ได้อย่างไร?

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

TikTok Ad Library Search API ราคาเท่าไร?

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

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

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: query (string), cursor (string), region (string) และ advertiserName (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok Ad Library Search API ส่งคืนอะไร?

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

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

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