# 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:

| Item | Detail |
| Data | Paid ads with published and last-seen dates, targeting, number of people reached; advertiser data; some disapproved ads |
| How long | While the ad runs and up to one year after it was last shown |
| Region | Only EU countries in this phase; the applicant can be anywhere |
| Access | TikTok for Developers account, application form, reply within 2 working days |

## What XTikAPI returns

| Endpoint | You pass | You get |
| `tiktok.ads.search` | `keyword`, `industry`, `country_code`, `objective`, `period`, `ad_format` and more | A page of ad creatives |
| `tiktok.ads.detail` | `ads_id` | One ad's details |
| `tiktok.top_ads.search` | `industry` | 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.

## Endpoints

- [TikTok Ad Library search API](https://xtikapi.com/apis/tiktok/ads/search) ($0.002 a call): Search the TikTok Ad Library by keyword, region and date.
- [TikTok Ad Library ad details API](https://xtikapi.com/apis/tiktok/ads/detail) ($0.002 a call): One ad from the TikTok Ad Library: creative, reach, targeting.
- [TikTok top ads API](https://xtikapi.com/apis/tiktok/top_ads/search) ($0.002 a call): Best-performing TikTok ads from Creative Center, by industry and region.

## More about TikTok

- [TikTok API](https://xtikapi.com/apis/tiktok)
- [Can the TikTok Display API read other users' videos?](https://xtikapi.com/answers/tiktok-display-api-other-users)
- [Is there a cheaper alternative to the Apify TikTok Scraper?](https://xtikapi.com/answers/apify-tiktok-scraper-alternative)
- [Can I use the TikTok Research API for commercial work?](https://xtikapi.com/answers/tiktok-research-api-commercial-use)
- [What is a good Apify alternative for social media data?](https://xtikapi.com/answers/apify-alternative-for-social-media-data)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-20.

- [TikTok for Developers: Commercial Content API](https://developers.tiktok.com/products/commercial-content-api)

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/tiktok-ads-library-api) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
