Social Fetch
TikTok

Search TikTok Ad Library ads

Search TikTok Top Ads by keyword and filters, or search the public Ads Library by advertiser name.

GET/v1/tiktok/ad-library/ads/search
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
12
regionstringquery

Country code for Top Ads results. Defaults to US when omitted.

one of: DZ, AR, AU, AT, AZ, BH, BD, BY, BE, BO, BR, BG, KH, CA, CL, CO, CR, HR, CY, CZ, DK, DO, EC, EG, EE, FI, FR, DE, GR, GT, JO, HU, ID, IQ, IE, IL, IT, JP, KZ, KE, KW, LV, LB, MY, MX, MA, NL, NZ, NG, NO, OM, PK, PA, PY, PE, PH, PL, PT, PR, QA, LT, RO, SA, RS, SG, SK, SI, ZA, KR, ES, LK, SE, CH, TW, TH, TR, AE, GB, US, UY, VN

periodstringquery

Time window in days for Top Ads.

one of: 7, 30, 180

querystringquery

Optional keyword to search ad titles and content.

max 4096 chars

advertiserNamestringquery

Search the public TikTok Ads Library by advertiser name. When set, results come from the public Ads Library instead of Top Ads.

min 1 chars · max 4096 chars

orderBystringquery

Sort metric for Top Ads. Defaults to for-you when omitted.

one of: for-you, impression, play-2s-rate, play-6s-rate, cvr, ctr, like

industrystringquery

Industry filter for Top Ads.

one of: apparel-accessories, appliances, apps, baby-kids-maternity, beauty-personal-care, business-services, ecommerce-non-app, education, financial-services, food-beverage, games, health, home-improvement, household-products, life-services, news-entertainment, pets, sports-outdoor, tech-electronics, travel, vehicle-transportation

objectivestringquery

Campaign objective filter for Top Ads.

one of: app-installs, conversions, lead-generation, product-sales, reach, traffic, video-views

durationstringquery

Video duration filter for Top Ads.

one of: under-10s, 10-20s, 20-30s, 30-40s, 40-50s, over-50s

likesstringquery

Likes percentile filter for Top Ads.

one of: top-1-20, top-21-40, top-41-60, top-61-80, top-81-100

adFormatstringquery

Ad format filter for Top Ads.

one of: spark-ads, non-spark-ads

adLanguagestringquery

Ad language filter for Top Ads.

one of: en, es, ar, vi, th, de, id, pt, fr, ms, nl, ja, it, ro, zh-Hant, ko

cursorstringquery

Opaque pagination cursor from a previous response.

min 1 chars

Response fields
32

Endpoint-specific response payload.

dataquery
string

Keyword query that was evaluated for this response.

dataadvertiserName
stringnullable

Advertiser name filter that was evaluated, when searching the public Ads Library.

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

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.

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.

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

Code example

curl "https://api.socialfetch.dev/v1/tiktok/ad-library/ads/search?region=DZ&query=spotify" \
  -H "x-api-key: YOUR_API_KEY"

Responses

TikTok Ad Library search results.