TikTok Commercial Content Library API: who can use it, what it returns, and where it stops
TikTok's Commercial Content API returns European ads with targeting, reach by age and gender, and rejection reasons. How to apply, the fields and the limits.
- Hristijan Jankulovski
- 5 min read
- Terrads makes image, video and audio ads from your brand. Your first image ad is free.
TikTok's Commercial Content API is the programmatic side of its public ad library. Anyone can apply through a TikTok for Developers account, and TikTok says you "should hear back from us within 2 working days." Once approved, you can search ads by keyword, advertiser, country, date, format, reach, age and gender, then pull an ad's caption, landing page, call to action, objective, full targeting, unique reach by country, age and gender, and the reasons it was rejected, if it was. The data covers ads shown in Europe only, and each ad stays available "until one year since the advertisement was last shown to any user." There's no spend figure.
Who can use the Commercial Content API?
TikTok's product page says the APIs "will allow the public and researchers to perform customized, advertiser name or keyword based searches on ads and other commercial content data". Access takes three steps:
- Create a TikTok for Developers account "using your official email address."
- Fill in the online application form. TikTok says the information it asks for is used "to validate authentic applications."
- Wait for a reply, within 2 working days. If approved, you get a client key.
The getting started guide (last updated August 27, 2026) takes it from there: the client key and secret generate a client access token, which goes in the authorization header of every request. Where you are doesn't matter: "a researcher/ professional who is requesting it can be located in any country."
The website needs none of this. TikTok's ad library at library.tiktok.com is open without an account.
Which countries does the API cover?
TikTok's pages give two answers. The product page says "in this phase we are ONLY including data from EU countries." The Supported Countries page, last updated September 1, 2026, lists more:
| Group | Countries |
|---|---|
| European Union | All 27 member states, from Austria (AT) to Sweden (SE) |
| European Economic Area | Norway (NO), Iceland (IS), Liechtenstein (LI) |
| "Continental Europe" | United Kingdom (GB), Switzerland (CH) |
Turkey isn't on the API list, though the library's FAQ says ads that ran in Turkey are archived on the website. A brand that advertises only in the US, Canada or Asia won't appear in either.
What can you search for?
The Query Ads endpoint (last updated September 1, 2026) takes a search term of "50 characters or less" and these filters:
| Filter | Values TikTok accepts |
|---|---|
| Published date range | Required. "The 'min' value should be within one year" |
| Country | Any supported country code, such as FR or DE |
| Ad type | VIDEO, IMAGES, TEXT |
| Status | ACTIVE, INACTIVE |
| Reach | 0-10K, 10K-100K, 100K+ |
| Ages | 13–17, 18–24, 25–34, 35–44, 45–54, 55–100 |
| Gender | Female, male or all |
Search is exact_phrase by default. fuzzy_phrase "Returns results that
contain any or all of the words in the search term in any order." Each call
returns at most 10 ads, so a broad search pages through results with a
search_id.
The date window is where TikTok's pages disagree with each other. Query Ads wants a start date "within one year." The Get Ad Report endpoint, which counts the ads published per day in each country, says "'min' needs to be after October 1st, 2022", the same start date as the library's FAQ.
What does the API return for each ad?
Get Ad Details returns three groups of fields:
| Group | Fields |
|---|---|
| The ad | First and last shown dates, status, videos, images, caption (title), landing page (external_url), app download page, call to action, advertising objective, ad category |
| The advertiser | Business name and ID, country, who paid, TikTok profile, follower count |
| The ad group's targeting | Number of users targeted, countries, provinces, cities, languages, ages, genders, interests, video and creator interaction categories, device models, operating systems, "high spending power", and whether a custom audience was included or excluded |
Reach comes as unique_users_seen, the total unique users who saw the ad, and
as breakdowns "grouped by region with age and gender breakdowns." The older
per-country field "is deprecated."
For rejected ads, a rejection_info block gives the reasons, the affected
countries and the "reporting or detection source", which can be a user or third
party report or TikTok's own detection. If no countries are listed, "it may be
rejected in all applicable regions." How TikTok's review works before that
point is in TikTok ad review.
What about creators' paid partnership posts?
The API has a separate endpoint for what TikTok calls "Other commercial content". Query Commercial Content returns each post's ID, creation date, label (TikTok's example is "Paid partnership"), creator, videos and "The brands that sponsor this commercial content", up to 50 per call. Query Advertisers also returns up to 50, with each advertiser's business name, ID and country.
What the API doesn't give you
- Spend or budget. No field on any endpoint reports what an ad cost.
- Results. Clicks, conversions and view rates aren't part of the data.
- Ads outside Europe, or ads last shown more than a year ago.
- Political ads. TikTok doesn't allow them, so there are none to find.
For creative research it still shows which formats, captions and calls to action a competitor runs in Europe, and the first and last shown dates show how long each ad ran. For TikTok's own creative guidance, see TikTok creative best practices.
Sources
- Commercial Content API — TikTok for Developers (accessed November 26, 2026)
- Getting Started - Commercial Content API — TikTok for Developers, last updated August 27, 2026 (accessed November 26, 2026)
- Query Ads — TikTok for Developers, last updated September 1, 2026 (accessed November 26, 2026)
- Get Ad Details — TikTok for Developers (accessed November 26, 2026)
- Get Ad Report — TikTok for Developers (accessed November 26, 2026)
- Query Advertisers — TikTok for Developers (accessed November 26, 2026)
- Query Commercial Content — TikTok for Developers (accessed November 26, 2026)
- Supported Countries — TikTok for Developers, last updated September 1, 2026 (accessed November 26, 2026)
- Commercial Content Library FAQs — TikTok (accessed November 14, 2026)
TikTok changes these endpoints and their limits between versions, so check the reference before building on any of it.
Terrads turns what you learn from competitors' ads into TikTok ads of your own, made for the 9:16 frame and its safe zone.