Search TikTok Ad Library ads

Search the public TikTok Ads Library by keyword or advertiser name.

GET/v1/tiktok/ad-library/ads/search
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
4
querystringquery

Keyword to search the public TikTok Ads Library.

max 4096 chars

advertiserNamestringquery

Search the public TikTok Ads Library by advertiser name.

min 1 chars · max 4096 chars

advertiserBusinessIdstringquery

TikTok advertiser business ID, from `advertiserMatches[].businessId` or an ad's `advertiserBusinessId`. Pins an advertiser search to that exact advertiser. Requires `advertiserName`.

pattern: ^\d{1,32}$

cursorstringquery

Opaque pagination cursor from a previous response.

min 1 chars

Response fields
62

Endpoint-specific response payload.

dataquery
string

Keyword query that was evaluated for this response.

dataadvertiserName
stringnullable

Advertiser name filter that was evaluated, when searching by advertiser.

dataresolvedAdvertiserName
stringnullable

Advertiser TikTok resolved `advertiserName` to, when searching by advertiser and a match was found.

Advertisers TikTok matched to `advertiserName`. Empty for keyword searches or when none are reported.

dataadvertiserMatches[]name
string

Advertiser name as TikTok lists it.

min 1 chars

dataadvertiserMatches[]businessId
string

TikTok advertiser business ID. Pass it as `advertiserBusinessId`, with this `name` as `advertiserName`, to search only this advertiser.

min 1 chars

datasource
stringnullable

Listing source when reported. `tiktok_ads_library` is the public Ads Library.

one of: tiktok_ads_library, top_ads, null

Ads returned for the requested search. This array may be empty when no ads match.

dataads[]id
string

Stable identifier for the ad.

min 1 chars

dataads[]title
stringnullable

Ad title or caption when available.

dataads[]brandName
stringnullable

Brand or advertiser name when available.

dataads[]cost
numbernullable

Relative cost signal when available.

dataads[]ctr
numbernullable

Click-through rate when available.

dataads[]likeCount
integernullable

Like count when available.

≥ 0

dataads[]industryKey
stringnullable

Industry key reported for the ad when available.

dataads[]objective
stringnullable

Campaign objective key when available.

dataads[]url
stringnullable

Public TikTok Ads Library detail URL when available.

dataads[]firstShownAt
stringnullable

ISO-8601 timestamp for when the ad was first shown, when available.

dataads[]lastShownAt
stringnullable

ISO-8601 timestamp for when the ad was last shown, when available.

dataads[]estimatedAudience
stringnullable

Estimated audience band when available.

Video creative when available.

dataads[]videoid
stringnullable

Video id when available.

dataads[]videodurationSeconds
numbernullable

Video duration in seconds when available.

dataads[]videocoverUrl
stringnullable

Cover image URL when available.

dataads[]videowidth
integernullable

Video width in pixels when available.

≥ 0

dataads[]videoheight
integernullable

Video height in pixels when available.

≥ 0

Playback URLs by resolution when available.

dataads[]videourlsp360
stringnullable

360p video URL when available.

dataads[]videourlsp480
stringnullable

480p video URL when available.

dataads[]videourlsp540
stringnullable

540p video URL when available.

dataads[]videourlsp720
stringnullable

720p video URL when available.

dataads[]videourlsp1080
stringnullable

1080p video URL when available.

dataads[]advertiserBusinessId
stringnullable

TikTok business ID of the ad's advertiser when available. Pass it as `advertiserBusinessId` with `advertiserName` to search only that advertiser.

dataads[]format
stringnullable

Creative format: `video` for video ads, `images` for photo or carousel ads. Null when no creative is reported.

one of: video, images, null

Every video creative reported for the ad. `video` is the first entry. Empty for image ads.

dataads[]videos[]id
stringnullable

Video id when available.

dataads[]videos[]durationSeconds
numbernullable

Video duration in seconds when available.

dataads[]videos[]coverUrl
stringnullable

Cover image URL when available.

dataads[]videos[]width
integernullable

Video width in pixels when available.

≥ 0

dataads[]videos[]height
integernullable

Video height in pixels when available.

≥ 0

Playback URLs by resolution when available.

dataads[]videos[]urlsp360
stringnullable

360p video URL when available.

dataads[]videos[]urlsp480
stringnullable

480p video URL when available.

dataads[]videos[]urlsp540
stringnullable

540p video URL when available.

dataads[]videos[]urlsp720
stringnullable

720p video URL when available.

dataads[]videos[]urlsp1080
stringnullable

1080p video URL when available.

Image URLs for photo or carousel ads, in display order. Empty for video ads.

dataads[]imageUrls[]
stringoptional

min 1 chars

dataads[]category
stringnullable

Ad category as TikTok labels it, such as `News & Entertainment`, when available.

TikTok's review information for the ad.

dataads[]moderationauditStatus
stringnullable

Review status code exactly as TikTok reports it, such as `1`. TikTok does not document these codes. Null when not reported.

dataads[]moderationrejectionReason
stringnullable

Rejection details as TikTok reports them, when the ad was rejected. Null otherwise.

Pagination information for the current response.

datapagenextCursor
stringnullable

Cursor to pass as `cursor` in the next request when `hasMore` is true; otherwise null.

datapagehasMore
boolean

Whether another page of ads can be requested.

datapagetotalResultsEstimate
integernullable

Estimated total number of matching ads when available.

≥ 0

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metacached
booleanoptional

True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.

Code example

curl "https://api.socialfetch.dev/v1/tiktok/ad-library/ads/search?advertiserName=Nike" \
  -H "x-api-key: YOUR_API_KEY"

Responses

TikTok Ad Library search results.