TikTok Ad Library Scraper avatar

TikTok Ad Library Scraper

Under maintenance

Pricing

from $1.20 / 1,000 ads

Go to Apify Store
TikTok Ad Library Scraper

TikTok Ad Library Scraper

Under maintenance

Export ads from TikTok's public Commercial Content Library (EU, EEA, UK, Switzerland, Turkey, Brazil) by advertiser name or keyword: ad text, video, dates shown, unique users seen, and optional landing page, targeting and impressions by age and gender.

Pricing

from $1.20 / 1,000 ads

Rating

0.0

(0)

Developer

Dong Nguyen

Dong Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Export ads from TikTok's public Commercial Content Library — the ad archive TikTok publishes under the EU Digital Services Act. Search by advertiser name or keyword, pick a country and a date range, and get one clean row per ad: who ran it, the ad text, the video, when it first and last ran, and how many unique users saw it. Turn on Include details to add the landing page, call to action, objective, who paid, the TikTok account behind the ad, the targeting (countries, ages, genders, interests, audience size) and impressions broken down by country, age and gender.

No TikTok account or login needed. The Actor opens the same public library pages any visitor opens and reads what they show.

Who it is for

  • Marketers and agencies — see which creatives a competitor runs in Europe right now, for how long, and to whom.
  • Brand and compliance teams — find ads that use your brand name, and ads TikTok removed.
  • Researchers and journalists — who paid for an ad, which country the advertiser is registered in, and how reach splits by age and gender.
  • AI-agent builders — every item has the same keys (null / [] when unknown), so it is safe to feed to a model or a pipeline.

Coverage

The library only contains ads shown in the EU and EEA, the United Kingdom, Switzerland, Turkey and Brazil. Ads shown only in the US or Asia are not in it — this is a limit of TikTok's library, not of the Actor.

What you get per ad

FieldMeaningNeeds Include details
adId, libraryUrlTikTok's ad ID and the ad's page in the libraryno
advertiserNameAdvertiser as shown in the libraryno
adTextAd captionno
industryTikTok's industry label (e.g. Apparel & Accessories)no
firstShown, lastShown, daysShownFirst and last day shown (UTC) and the number of daysno
uniqueUsersSeenTikTok's range of unique users reached (e.g. 100K-200K)no
hasVideo, videos[]Video URL and cover image for video ads (TikTok signs these links and they expire — download the files soon if you need them)no
imageUrlsImages for image adsno
removed, removalInfoWhether TikTok took the ad down, and why when it saysno
advertiserIdTikTok's advertiser ID — reuse it to pin a query to exactly one advertiseryes
advertiserRegistryLocation, paidForCountry the advertiser is registered in; who paid for the adyes
tiktokUsername, tiktokDisplayName, tiktokFollowers, tiktokAccountType, tiktokProfileUrlThe TikTok account that ran the adyes
landingUrl, callToAction, objectiveWhere the ad sends people, the button text, the campaign objectiveyes
totalImpressions, impressionsByRegion[]Impressions overall and per country, each split by age band and genderyes
targetingaudienceSize, countries, provinces, cities, ages, genders, languages, interests, videoInteractions, creatorInteractions, deviceModels, operatingSystems, customAudience, excludedAudience, highSpendingPoweryes
query, region, detailsFetched, scrapedAtWhich input produced the row, and whenno

Input

FieldDefaultNotes
queries— (required)Advertiser names or keywords, one per line — searched like the library's own search box.
regionallOne covered country, or all of them.
dateFrom, dateTolast 30 daysYYYY-MM-DD; up to 366 days per run.
sortlast shown, newest firstLast shown or published date, newest or oldest first. (The website's "unique users seen" orders are left out: TikTok's own results for them are not in reach order.)
maxAdsPerQuery1000 = no limit. More than ~70 ads per query works with the default order (see Limits).
includeDetailsoffAdds the detail fields. About 5–7 seconds and one extra charge per ad.
proxyConfigurationApify Proxy onA blocked address is replaced with a fresh one.

Getting exactly one advertiser

A name search also matches ads that merely mention the word. To get one advertiser only, write the name and its ID separated by |:

NIKE Retail B.V. | 6876453864464188162

Run once with Include details to find the advertiserId, or paste a library search URL (https://library.tiktok.com/ads?...adv_name=...&adv_biz_ids=...).

Examples

Competitor's ads in France this month, with targeting:

{ "queries": ["NIKE Retail B.V. | 6876453864464188162"], "region": "FR", "includeDetails": true, "maxAdsPerQuery": 50 }

Every ad mentioning a keyword across all covered countries, newest published first:

{ "queries": ["black friday"], "region": "all", "sort": "published_newest", "maxAdsPerQuery": 500 }

Output example

One real item (21 Nov 2026, includeDetails on, breakdown shortened):

{
"query": "NIKE Retail B.V. | 6876453864464188162",
"region": "FR",
"adId": "1882139943394434",
"advertiserName": "NIKE Retail B.V.",
"adText": "Fonce. Les jours Nike Black Friday sont là. Jusqu'à -40 % sur une sélection d'articles. Fin le 1/12",
"industry": "Apparel & Accessories",
"firstShown": "2026-11-18",
"lastShown": "2026-11-19",
"daysShown": 2,
"uniqueUsersSeen": "100K-200K",
"hasVideo": false,
"videos": [],
"imageUrls": [],
"removed": false,
"removalInfo": null,
"libraryUrl": "https://library.tiktok.com/ads/detail/?ad_id=1882139943394434",
"detailsFetched": true,
"scrapedAt": "2026-11-21T00:48:44+00:00",
"advertiserId": "6876453864464188162",
"advertiserRegistryLocation": "Netherlands",
"paidFor": "INITIATIVE MEDIA B.V.",
"tiktokUsername": "nike",
"tiktokDisplayName": "Nike",
"tiktokFollowers": "9.4M",
"tiktokAccountType": "VERIFIED_BA",
"tiktokProfileUrl": "https://www.tiktok.com/share/user/208464585232822272?source=ad_review",
"landingUrl": "https://www.nike.com/fr/w/black-friday-2phlm",
"callToAction": "Shop now",
"objective": "Sales",
"totalImpressions": "100K-200K",
"impressionsByRegion": [
{
"region": "FR",
"impressions": "194K",
"byAgeGender": [
{
"age": "18-24",
"gender": "MALE",
"impressions": "29K"
},
{
"age": "18-24",
"gender": "FEMALE",
"impressions": "41K"
},
{
"...": "13 more rows"
}
]
}
],
"targeting": {
"audienceSize": "21.7M-26.6M",
"countries": [
"FR"
],
"provinces": [],
"cities": [],
"ages": {
"FR": [
"18-24",
"25-34",
"35-44",
"45-54",
"55+"
]
},
"genders": {
"FR": [
"female",
"male",
"unknown"
]
},
"languages": [],
"interests": [],
"videoInteractions": [],
"creatorInteractions": [],
"deviceModels": [],
"operatingSystems": [
"ALL"
],
"customAudience": false,
"excludedAudience": false,
"highSpendingPower": false
}
}

When a query finds nothing, comes back short, or TikTok keeps refusing requests, you get one item with an error field explaining it. Those items are not charged. A run that delivered ads ends as Succeeded even if one query came back short; it fails only when nothing could be read.

Use it from an AI agent (MCP)

Apify's hosted MCP server exposes this Actor as a tool, so Claude, Cursor, VS Code or any other MCP client can call it directly. Server URL:

https://mcp.apify.com/?tools=atkvn/tiktok-ads-library-scraper

Authenticate with your Apify API token as a bearer header. In Claude Code, for example:

$claude mcp add --transport http tiktok-ads "https://mcp.apify.com/?tools=atkvn/tiktok-ads-library-scraper" --header "Authorization: Bearer YOUR_APIFY_TOKEN"

The tool is called atkvn--tiktok-ads-library-scraper and takes the same input as described above. It starts a normal run, so pricing and limits are the same. Tested on 21 Nov 2026 with two calls through the MCP server (nike in France, 5 ads, 33 seconds; adidas in Germany, 3 ads, 11 seconds): both succeeded and were charged per ad as usual. The first call ran longer than the MCP server waits (about 30 seconds) and came back as "running" with a run ID; the agent then fetches the results with the server's get-actor-run and get-dataset-items tools.

Pricing

Pay per result:

  • $1.20 per 1,000 ads
  • $2.00 per 1,000 ad details (only when Include details is on)

Your maximum charge per run is respected: the run stops cleanly before going over it.

Limits and good to know

  • Data is what TikTok publishes: reach and impressions are ranges, not exact numbers, and spend is not shown.
  • One TikTok search pages only about 7 times (~70 distinct ads), then the library refuses the next page, however slowly you click (measured twice on 21 Nov 2026, also on the website). With the default order (last shown, newest first) the Actor works around it: the library filters on the last-shown day, so when a search hits the ceiling the Actor splits its date range at the day it had reached, searches the newer part first, then the older part, and repeats until it has maxAdsPerQuery ads. Repeats are skipped and not charged.
  • Measured on the platform on 22 Nov 2026, 200 ads per brand, all countries: from the newest last-shown day (20 Nov) the Actor returned 91 nike ads and 84 adidas ads; the previous version returned 29 and 29, padding the rest with ads from late October. Runs took 225 and 243 seconds.
  • A single day can hold more ads than one search pages through (nike had 90+ on 20 Nov). Such a day is kept partial (when the query ends short of maxAdsPerQuery, a notice item names the day); to get all of it, run that day per country (region).
  • If TikTok ends a search early with most of the ads it had already shown for that date range missing, the Actor treats it as a refusal and retries with a fresh session (seen once on 22 Nov 2026: an empty answer late in a long run; the same range on its own returned 60 ads).
  • With the other orders the Actor does not continue: it keeps the ~70 ads it reached and adds a notice item.
  • The first page load of each run is sometimes refused while the library sets its cookies; the Actor waits and retries on its own.

Support

Found a field that looks wrong, or need another filter? Open an issue on the Actor's Issues tab — include the run ID and we will reply within one working day.