TikTok Ads Library Scraper
Under maintenancePricing
from $0.70 / 1,000 ads
TikTok Ads Library Scraper
Under maintenanceSearch the TikTok Ads Library by keyword, advertiser, country, ad ID, or library link. Get ad captions, video and image links, dates, advertiser, payer, targeting, and reach. Or count matching ads in EU, EEA, Swiss, UK, and Turkish markets.
Pricing
from $0.70 / 1,000 ads
Rating
0.0
(0)
Developer
Maxime Dupré
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
14 days ago
Last modified
Categories
Features
Share
🔍 See what brands run in the TikTok Ads Library
This TikTok Ads Library scraper is for marketers, ad buyers, agencies, and researchers who want to see which ads brands run on TikTok. Search by keyword, advertiser, country, ad ID, or library link. You get each ad's caption, video and image links, dates, advertiser, payer, targeting, and published reach in clean rows. You can also count matching ads without saving each ad. It works as a simple TikTok spy tool for public ads shown in the EU, EEA, Switzerland, the United Kingdom, and Türkiye.
- Study a competitor's TikTok ads by searching for their advertiser name.
- Explore top ads on TikTok for a keyword by sorting the results by audience reach.
- Download ad videos, cover images, and image creatives for your swipe file.
- Check who an ad targets by country, age group, gender, and interests.
- Count how many ads match a search before you collect them.
📦 What TikTok ad data you get
Each ad row can include:
- The ad ID and its public TikTok Ads Library link.
- The ad caption, creative format, and call-to-action text.
- Links to the video files, video covers, and images.
- The first and last dates TikTok showed the ad.
- The advertiser name, business ID, registry location, and linked TikTok profile.
- The payer, destination link, campaign objective, and ad subject.
- Target audience details, such as countries, age groups, genders, interests, and audience size range.
- Published reach, reach bands, and reach by country, age group, and gender.
- The moderation status and any published rejection reasons.
- A new-ad flag that compares this run with earlier runs.
TikTok does not publish every detail for every ad. When a detail is missing, the field is left out.
🚀 How to search the TikTok Ads Library
- Pick a Result type: Ads for full ad rows, or Ad counts for matching-ad totals.
- Pick how to Find ads by: advertiser name, keyword, ad IDs, library URL, or country.
- Fill the list for that choice, and add one or more Countries when your search needs them.
- Add filters if you want, such as dates, delivery status, format, or audience.
- Set Maximum results and start the run. Your rows show up in the dataset.
⚙️ Input
Input fields
| Field | Type | What it does |
|---|---|---|
resultType | string | Required. ads saves full ad rows. adCounts saves TikTok's matching-ad totals without saving each ad. The form prefill is ads. |
countries | array | Country names as shown in TikTok's library country menu, such as France. Supported markets are in the EU, EEA, Switzerland, United Kingdom, and Türkiye. Invalid names are rejected. Required for country browsing and for searches that have no country in the library URL. The same countries apply to every search value. The form prefill is France. |
maxItems | integer | Stop after this many saved rows for the whole run, or sooner when no more results come back. Leave it empty or use 0 for all available rows. For Ad counts, it limits count rows, not the number of ads each count covers. The form prefill is 5. |
findAdsBy | string | How to find ads: advertiser, keyword, adId, libraryUrl, or country. The schema default is advertiser, and the form prefill is country. adId works only with Ads. Lists for other choices are ignored. |
adIds | array | For adId with Ads. One TikTok Ads Library ad ID per entry, made of digits only. Search filters do not apply. |
advertiserNames | array | For advertiser. One full advertiser label per entry, as shown in TikTok's advertiser suggestions, such as OpenAI, Inc.. Keep all spaces and punctuation. A label that does not match one advertiser choice is rejected. |
keywords | array | For keyword. One word or phrase per entry. TikTok searches advertiser names and ad text together, so results can include other advertisers whose ads use the phrase. |
libraryUrls | array | For libraryUrl. Full https://library.tiktok.com/ search URLs, or ad-detail URLs for Ads. All URLs in one run must share the same search filters. URL filters are kept, and form filters that conflict with them are invalid. |
adSortBy | string | Order Ads search results by lastShown (last shown date) or reach (audience reach). Empty keeps the URL's order, or last shown date when none is set. |
phraseMatch | string | For advertiser and keyword searches. phrase keeps the words together. broad uses TikTok's broader matching. Empty uses TikTok's setting or the URL's setting. |
lastShownFrom | string | Keep ads last shown on or after this date, in YYYY-MM-DD form. Empty means no start date. |
lastShownTo | string | Keep ads last shown on or before this date, in YYYY-MM-DD form. Empty means no end date. |
sortOrder | string | For Ads searches. descending puts newest dates or largest values first. ascending puts oldest or smallest first. Empty keeps the URL's direction, or descending when none is set. |
timeZone | string | An IANA time zone for the date filters, such as Europe/Paris or UTC. Empty uses the URL's time zone, or UTC. |
deliveryStatus | string | all, running, or stopped. Empty keeps the URL's status, or all ads. |
creativeFormats | array | all, video, image, or text. Ads can use more than one format. Ad counts can use only one. all must be picked on its own. Empty keeps the URL's format, or all ad types. |
audienceAges | array | Exact age-group labels from TikTok's audience filter, such as 18-24. Empty means all age groups, or those in the URL. |
audienceGenders | array | All genders, Female, or Male. Ads can use Female and Male together. Ad counts can use only one. All genders is its own TikTok choice and must be picked on its own. |
reachBands | array | Exact reach-band labels from TikTok, such as 10K-100K. These are ranges, not exact counts. Empty means all reach bands, or those in the URL. |
Example input
{"countries": ["France"],"maxItems": 5,"resultType": "ads","findAdsBy": "country"}
🧾 Output
Output fields
Each run saves only the result type you pick. These fields are for an Ads row.
| Field | Type | What it does |
|---|---|---|
resultType | string | Always ad for this row type. |
adId | string | The TikTok ad ID. |
libraryUrl | string | The public TikTok Ads Library detail link for the ad. |
caption | string | The ad text TikTok publishes as the caption. |
creativeFormat | string | The creative format TikTok states, such as video or image. |
media.videos[].downloadUrl | string | A link to download the video file. |
media.videos[].coverUrl | string | A link to download the video cover image. |
media.images[].downloadUrl | string | A link to download the image file. |
firstShown | string | The first date TikTok reports the ad was shown. |
lastShown | string | The last date TikTok reports the ad was shown. |
advertiser.name | string | The advertiser name TikTok publishes. |
advertiser.businessId | string | The advertiser business ID. Use it to match ads from the same business. |
advertiser.registryLocation | string | The business registry location. |
advertiser.profile.accountId | string | The linked TikTok account ID. |
advertiser.profile.username | string | The linked TikTok username. |
advertiser.profile.displayName | string | The name shown on the TikTok account. |
advertiser.profile.profileUrl | string | The link to the public TikTok profile. |
advertiser.profile.avatarUrl | string | A link to the profile image. |
advertiser.profile.followerCount | number or string | The follower count. A number is exact. Text keeps TikTok's short form, such as 304.1K. |
advertiser.profile.accountType | string | The account type TikTok states. |
payer | string | Who TikTok says paid for the ad. |
destinationUrl | string | The landing page or app link the ad sends people to. |
callToAction | string | The call-to-action text, such as Learn more. |
campaignObjective | string | The campaign objective TikTok states. |
subject | string | The ad subject TikTok states. |
reachBand | string | The reach band TikTok reports. It is a range, not an exact count. |
reach | number or string | Unique users who saw the ad, as TikTok shows it. A number is exact. Text keeps TikTok's range or short form. |
targetAudience.sizeRange | string | The published target audience size range. |
targetAudience.countries | array | Target countries. |
targetAudience.ageGroups | array | Target age groups. |
targetAudience.genders | array | Target genders. |
targetAudience.locations | array | Target cities and provinces, with any stated location type. |
targetAudience.languages | array | Target languages. |
targetAudience.interests | array | Target interests. |
targetAudience.devices | array | Target devices. |
targetAudience.operatingSystems | array | Target operating systems. |
targetAudience.spendingPower | array | Spending power settings. |
targetAudience.interactionAudiences | array | Interaction audience settings. |
targetAudience.customAudienceInclusions | array | Custom audience inclusion settings. |
targetAudience.customAudienceExclusions | array | Custom audience exclusion settings. |
reachBreakdowns[].country | string | The country for this reach group. |
reachBreakdowns[].ageGroup | string | The age group for this reach group. |
reachBreakdowns[].gender | string | The gender for this reach group. |
reachBreakdowns[].reach | number or string | Unique users in this group who saw the ad. Text keeps TikTok's short form, such as 3.7M. |
moderationStatus | string | The moderation status TikTok states for the ad. |
rejections[].reason | string | A rejection reason TikTok states. |
rejections[].countries | array | The countries for that rejection. |
monitoring.isNew | boolean | true when no earlier run saw this ad. It does not mean TikTok just created the ad. |
monitoring.observedAt | string | The time this run read the ad. |
Example ad
{"resultType": "ad","adId": "1850933570681953","libraryUrl": "https://library.tiktok.com/ads/detail/?ad_id=1850933570681953","caption": "Galaxy S25 Ultra","creativeFormat": "video","media": {"videos": [{"downloadUrl": "https://library.tiktok.com/api/v1/cdn/1794194593/video/aHR0cHM6Ly92NTgudGlrdG9rY2RuLmNvbS92aWRlby90b3Mvbm8xYS90b3Mtbm8xYS12ZS01MWM3MTAtbm8vb3dGUzJBNVcxb1FSdmlFMGdtaWZBQXd5NW9sa0NvSTZtQkIzQkkv/61828666-6e5d-48a4-85f2-4a95b2f96764?VExpiration=1794216210&VSignature=ztB9pPF26iaj8OZMYOZFAg&a=475769&bt=734&btag=e000b8000&bti=PDU2NmYwMy86&ft=.NpOcInz7ThOp5GGXq8Zmo&l=20261109112313CC0C6274EDC71747E2C6&mime_type=video_mp4&rc=ZmU0ZTg2ZTg8Nzw8NWc5NUBpM2pzb3k5cnFkNzMzODYzNEA0YzYuXzI2XzQxMTAuMWFfYSNsaXJwMmRjL29hLS1kMC1zcw%3D%3D&signature=%2Bf5dZfytky%2Fn8OLkTeHHVCUufb4vf7p%2BXTrHZdKRMl8%3D&vvpl=1","coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/owxWDf8MgIfFbzSGoQfQJbzUtCjAHQIwWE6jQA~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=11691697&x-expires=1794214800&x-signature=zl95Wj0hJkswew9mANGsD0Fv%2B7A%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"}]},"firstShown": "2025-12-09","lastShown": "2025-12-31","advertiser": {"name": "Samsung Electronics GmbH","businessId": "6886414314308109057","registryLocation": "Germany","profile": {"accountId": "6698590748474065926","username": "samsungde","displayName": "Samsung Deutschland","profileUrl": "https://www.tiktok.com/share/user/6698590748474065926?source=ad_review","avatarUrl": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/7322804629522087942~tplv-tiktokx-cropcenter:168:168.jpeg?dr=10397&refresh_token=4b67583c&x-expires=1794366000&x-signature=PXYH7AtDARz4lQwx4YeoSXHubUg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=8aecc5ac&idc=no1a","followerCount": "304.1K","accountType": "BLUEV_BA"}},"payer": "Starcom Germany GmbH","destinationUrl": "https://www.samsung.com/de/smartphones/galaxy-s25-ultra/?cid=de_pd_social_tiktok_social_sustain_s25-phase2_video_influencer-song-and-pepper-3_int&utm_source=tiktok&utm_medium=paid&utm_id=__CAMPAIGN_ID__&utm_campaign=__CAMPAIGN_NAME__","callToAction": "Learn more","campaignObjective": "Video views","reachBand": "1M-10M","targetAudience": {"sizeRange": "8.3M-10.1M","countries": ["DE"],"ageGroups": ["18-24","25-34","35-44","45-54","55+"],"genders": ["female","male","unknown"],"interests": ["Photography, Wedding Photography"],"operatingSystems": ["ALL"],"spendingPower": ["No"],"interactionAudiences": ["Beauty & Style","Fashion & Beauty, Technology & Education"],"customAudienceInclusions": ["No"],"customAudienceExclusions": ["No"]},"reachBreakdowns": [{"country": "DE","reach": "3.7M"}],"moderationStatus": "1","subject": "Tech & Electronics","reach": "1M-10M","monitoring": {"isNew": false,"observedAt": "2026-11-09T03:23:13.846Z"}}
Ad count fields
These fields are for an Ad counts row. Each row is one total for one search value.
| Field | Type | What it does |
|---|---|---|
resultType | string | Always adCount for this row type. |
search.method | string | The search type that was counted, such as keyword. |
search.advertiserName | string | The advertiser label used for this count. |
search.keyword | string | The keyword or phrase used for this count. |
search.libraryUrl | string | The library search URL used for this count. URLs with business-ID filters are invalid for ad counts. |
search.countries | array | The countries this count covers. |
search.phraseMatch | string | The matching rule used. |
search.timeZone | string | The time zone used for the dates. |
search.deliveryStatus | string | The delivery status filter. |
search.creativeFormats | array | The one ad type for this count. all means all ad types. |
search.audienceAges | array | The age-group filters. |
search.audienceGenders | array | The one gender choice for this count. |
search.reachBands | array | The reach-band filters. |
search.lastShownFrom | string | The start date filter, in YYYY-MM-DD form. |
search.lastShownTo | string | The end date filter, in YYYY-MM-DD form. |
matchingAdCount | integer | The matching-ad total TikTok reports. It is not the number of rows saved. |
countAccuracy | string | exact when TikTok gives a full total. capped when TikTok limits the total, so the real number can be higher. unspecified when TikTok does not say. |
Example ad count
{"resultType": "adCount","search": {"method": "keyword","keyword": "Nike","countries": ["France","Germany"],"phraseMatch": "broad","deliveryStatus": "all","creativeFormats": ["all"],"audienceAges": ["All ages"],"audienceGenders": ["All genders"],"reachBands": ["All reach"]},"matchingAdCount": 5000,"countAccuracy": "capped"}
💳 Pricing
This Actor uses pay-per-event pricing. You pay only for rows it saves.
- Ad: from $0.0009 per saved ad on the Free and Bronze plans, $0.0008 on Silver, and $0.0007 on Gold, Platinum, and Diamond.
- Ad count: $0.005 per saved count row. One row is one total for one search value.
There is no charge for an ad that could not be read, or for a search that saves no rows. Use Maximum results to cap how many rows you pay for.
🔌 Integrations
You can connect this Actor to other apps and tools with Apify integrations, such as Make, Zapier, Google Sheets, Slack, webhooks, and the Apify API. Use them to send new TikTok ads to your sheet or team after each run.
❓ FAQ
Which countries does the TikTok Ads Library cover?
TikTok publishes this library for ads shown in the EU, EEA, Switzerland, the United Kingdom, and Türkiye. Ads that ran only in other countries are not in it.
Why does a run with no limit save fewer ads than TikTok's total?
TikTok gives back a sample of matching ads on each page, and it does not say when a list is complete. So a run collects the ads that TikTok returns, which can be fewer than the total. Use Ad counts to see TikTok's matching-ad total.
What does "capped" mean in an ad count?
It means TikTok limits the reported total. The real number of matching ads can be higher than matchingAdCount.
How does the new-ad flag work?
The Actor keeps a record of ads it has read before in a named key-value store in your Apify account. When an ad has no earlier record, monitoring.isNew is true. Run the same search on a schedule to spot new ads.
Can I download the ad videos and images?
Yes. Each ad row has download links for available videos, video covers, and images. These links can expire, so download the files soon after the run.
What is the difference between Keyword and Advertiser name?
Advertiser name finds ads from one exact advertiser label. Keyword searches advertiser names and ad text together, so it can return ads from other advertisers that mention the phrase.
Do I need a TikTok account?
No. The Actor reads public TikTok Ads Library data, so you do not need to log in.
Is this a TikTok ads library API?
It works like one. You can start runs and read results through the Apify API, and get rows in the same format each time.
📝 Changelog
v0.0 (09-11-2026)
- Initial release.
🆘 Support
For issues, questions, or feature requests, file a ticket and I'll fix or implement it in less than 24h 🫡
🔗 Related Actors
- TikTok Creative Center Scraper for Top Ads: collect ranked TikTok top ads and trending hashtags by market and time window.
- LinkedIn Ads Library Scraper: search LinkedIn ads by advertiser or keyword and get creative, targeting, and payer data.
- Google Ads Scraper: get Google Ads Transparency Center creatives for a domain, keyword, or advertiser.
- Snapchat Ads Scraper: search Snapchat's public ads gallery by advertiser, country, or dates.
- Pinterest Ads Scraper: search Pinterest's ads transparency data by market, advertiser, and audience.
Made with ❤️ by Maxime Dupré