TikTok Ads Library Scraper avatar

TikTok Ads Library Scraper

Under maintenance

Pricing

from $0.70 / 1,000 ads

Go to Apify Store
TikTok Ads Library Scraper

TikTok Ads Library Scraper

Under maintenance

Search 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é

Maxime Dupré

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

14 days ago

Last modified

Features

Limited permissions

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

  1. Pick a Result type: Ads for full ad rows, or Ad counts for matching-ad totals.
  2. Pick how to Find ads by: advertiser name, keyword, ad IDs, library URL, or country.
  3. Fill the list for that choice, and add one or more Countries when your search needs them.
  4. Add filters if you want, such as dates, delivery status, format, or audience.
  5. Set Maximum results and start the run. Your rows show up in the dataset.

⚙️ Input

Input fields

FieldTypeWhat it does
resultTypestringRequired. ads saves full ad rows. adCounts saves TikTok's matching-ad totals without saving each ad. The form prefill is ads.
countriesarrayCountry 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.
maxItemsintegerStop 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.
findAdsBystringHow 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.
adIdsarrayFor adId with Ads. One TikTok Ads Library ad ID per entry, made of digits only. Search filters do not apply.
advertiserNamesarrayFor 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.
keywordsarrayFor 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.
libraryUrlsarrayFor 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.
adSortBystringOrder 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.
phraseMatchstringFor 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.
lastShownFromstringKeep ads last shown on or after this date, in YYYY-MM-DD form. Empty means no start date.
lastShownTostringKeep ads last shown on or before this date, in YYYY-MM-DD form. Empty means no end date.
sortOrderstringFor 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.
timeZonestringAn IANA time zone for the date filters, such as Europe/Paris or UTC. Empty uses the URL's time zone, or UTC.
deliveryStatusstringall, running, or stopped. Empty keeps the URL's status, or all ads.
creativeFormatsarrayall, 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.
audienceAgesarrayExact age-group labels from TikTok's audience filter, such as 18-24. Empty means all age groups, or those in the URL.
audienceGendersarrayAll 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.
reachBandsarrayExact 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.

FieldTypeWhat it does
resultTypestringAlways ad for this row type.
adIdstringThe TikTok ad ID.
libraryUrlstringThe public TikTok Ads Library detail link for the ad.
captionstringThe ad text TikTok publishes as the caption.
creativeFormatstringThe creative format TikTok states, such as video or image.
media.videos[].downloadUrlstringA link to download the video file.
media.videos[].coverUrlstringA link to download the video cover image.
media.images[].downloadUrlstringA link to download the image file.
firstShownstringThe first date TikTok reports the ad was shown.
lastShownstringThe last date TikTok reports the ad was shown.
advertiser.namestringThe advertiser name TikTok publishes.
advertiser.businessIdstringThe advertiser business ID. Use it to match ads from the same business.
advertiser.registryLocationstringThe business registry location.
advertiser.profile.accountIdstringThe linked TikTok account ID.
advertiser.profile.usernamestringThe linked TikTok username.
advertiser.profile.displayNamestringThe name shown on the TikTok account.
advertiser.profile.profileUrlstringThe link to the public TikTok profile.
advertiser.profile.avatarUrlstringA link to the profile image.
advertiser.profile.followerCountnumber or stringThe follower count. A number is exact. Text keeps TikTok's short form, such as 304.1K.
advertiser.profile.accountTypestringThe account type TikTok states.
payerstringWho TikTok says paid for the ad.
destinationUrlstringThe landing page or app link the ad sends people to.
callToActionstringThe call-to-action text, such as Learn more.
campaignObjectivestringThe campaign objective TikTok states.
subjectstringThe ad subject TikTok states.
reachBandstringThe reach band TikTok reports. It is a range, not an exact count.
reachnumber or stringUnique users who saw the ad, as TikTok shows it. A number is exact. Text keeps TikTok's range or short form.
targetAudience.sizeRangestringThe published target audience size range.
targetAudience.countriesarrayTarget countries.
targetAudience.ageGroupsarrayTarget age groups.
targetAudience.gendersarrayTarget genders.
targetAudience.locationsarrayTarget cities and provinces, with any stated location type.
targetAudience.languagesarrayTarget languages.
targetAudience.interestsarrayTarget interests.
targetAudience.devicesarrayTarget devices.
targetAudience.operatingSystemsarrayTarget operating systems.
targetAudience.spendingPowerarraySpending power settings.
targetAudience.interactionAudiencesarrayInteraction audience settings.
targetAudience.customAudienceInclusionsarrayCustom audience inclusion settings.
targetAudience.customAudienceExclusionsarrayCustom audience exclusion settings.
reachBreakdowns[].countrystringThe country for this reach group.
reachBreakdowns[].ageGroupstringThe age group for this reach group.
reachBreakdowns[].genderstringThe gender for this reach group.
reachBreakdowns[].reachnumber or stringUnique users in this group who saw the ad. Text keeps TikTok's short form, such as 3.7M.
moderationStatusstringThe moderation status TikTok states for the ad.
rejections[].reasonstringA rejection reason TikTok states.
rejections[].countriesarrayThe countries for that rejection.
monitoring.isNewbooleantrue when no earlier run saw this ad. It does not mean TikTok just created the ad.
monitoring.observedAtstringThe 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.

FieldTypeWhat it does
resultTypestringAlways adCount for this row type.
search.methodstringThe search type that was counted, such as keyword.
search.advertiserNamestringThe advertiser label used for this count.
search.keywordstringThe keyword or phrase used for this count.
search.libraryUrlstringThe library search URL used for this count. URLs with business-ID filters are invalid for ad counts.
search.countriesarrayThe countries this count covers.
search.phraseMatchstringThe matching rule used.
search.timeZonestringThe time zone used for the dates.
search.deliveryStatusstringThe delivery status filter.
search.creativeFormatsarrayThe one ad type for this count. all means all ad types.
search.audienceAgesarrayThe age-group filters.
search.audienceGendersarrayThe one gender choice for this count.
search.reachBandsarrayThe reach-band filters.
search.lastShownFromstringThe start date filter, in YYYY-MM-DD form.
search.lastShownTostringThe end date filter, in YYYY-MM-DD form.
matchingAdCountintegerThe matching-ad total TikTok reports. It is not the number of rows saved.
countAccuracystringexact 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 🫡

Made with ❤️ by Maxime Dupré