Sand AISand AI MAGI-2MAGI-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 / вызов
Метод
POST
Ответ
JSON
Параметры
0 обязательных · 4 необязательных

Песочница

Ввод
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.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

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

Вопросы

FAQ

Как использовать API TikTok Ad Library Search?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/tiktok/ad-library-search, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API TikTok Ad Library Search?

От $0.0008 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API TikTok Ad Library Search?

Параметры не требуются. Необязательные: query (string), cursor (string), region (string) и advertiserName (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API TikTok Ad Library Search?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика TikTok или API key?

Нет. TikTok Ad Library Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.