Is there an API for the TikTok ad library? (2026)
TikTok's official route is the Commercial Content API: you apply with a form, hear back within about 2 working days, and for now it only covers ads shown in EU countries. To search TikTok ad creatives by keyword, industry or country without applying, XTikAPI's tiktok.ads.search returns a page of ads for $0.002 a call. XTikAPI reads TikTok with 24 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.
Updated 2026-11-20
The official API
Per TikTok's Commercial Content API page:
Data
Detail: Paid ads with published and last-seen dates, targeting, number of people reached; advertiser data; some disapproved ads
How long
Detail: While the ad runs and up to one year after it was last shown
Region
Detail: Only EU countries in this phase; the applicant can be anywhere
Access
Detail: TikTok for Developers account, application form, reply within 2 working days
What XTikAPI returns
tiktok.ads.search
You pass: keyword, industry, country_code, objective, period, ad_format and more
You get: A page of ad creatives
tiktok.ads.detail
You pass: ads_id
You get: One ad's details
tiktok.top_ads.search
You pass: industry
You get: Top-performing ads in an industry
What a competitor sweep costs
10 competitor keywords, 3 pages each, plus detail for 30 ads: 60 calls at $0.002, $0.12.
Why XTikAPI
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (22 of 24 for TikTok).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.
- Free trial: a verified account gets $0.50, no card.
Endpoints
Each with its price; the endpoint page has parameters, fields and a recorded response.
- TikTok Ad Library search API$0.002 a callSearch the TikTok Ad Library by keyword, region and date.
- TikTok Ad Library ad details API$0.002 a callOne ad from the TikTok Ad Library: creative, reach, targeting.
- TikTok top ads API$0.002 a callBest-performing TikTok ads from Creative Center, by industry and region.
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-20.
More about TikTok
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free