TikTok Ads Library FAST avatar

TikTok Ads Library FAST

Pricing

$7.99/month + usage

Go to Apify Store
TikTok Ads Library FAST

TikTok Ads Library FAST

๐Ÿ”ฎ Unlock TikTok's ad intelligence with our powerful scraper. Extract competitor campaigns, creative assets and performance metrics. Search by keyword, advertiser name or ID across all regions. Get comprehensive ad data for market-leading insights.

Pricing

$7.99/month + usage

Rating

5.0

(1)

Developer

Data Xplorer

Data Xplorer

Maintained by Community

Actor stats

19

Bookmarked

211

Total users

14

Monthly active users

7 hours

Issues response

9 hours ago

Last modified

Share

๐Ÿ” TikTok Ads Library Scraper

Transform your ad intelligence with our TikTok Ads Library scraper! Whether you're analyzing competitor strategies, monitoring brand campaigns, or conducting market research, this tool efficiently collects and structures advertising data from TikTok's Ad Library.

trends scraper

๐Ÿ’Ž Why Choose Our TikTok Ads Scraper?

  • ๐ŸŽฏ Advanced Search Options: Find ads by keyword, advertiser name, optional advertiser ID, or paste TikTok URLs directly
  • ๐Ÿš€ High-Volume Collection: Gather up to hundreds of ads in a single run with optimized pagination and intelligent proxy rotation
  • ๐ŸŒ Global Coverage: Access ads from multiple regions with support for all TikTok-supported countries
  • ๐Ÿ“Š Rich Ad Details: Extract comprehensive ad information including media URLs, dates, performance metrics, advertiser profile, and per-country reach
  • ๐Ÿ—บ๏ธ Country-Level Reach: Get impressions per country and the age ร— gender breakdown for each market
  • ๐Ÿ”ข Parsed Numbers: Every numeric range (audience size, reach, impressions) is returned with both the readable text and clean integer min/max values, ready to sort and aggregate
  • ๐Ÿ–ผ๏ธ Media Access: Capture links to all ad creative assets including videos and images

๐Ÿ”ฎ How to Power Up Your Search Queries?

    1. ๐Ÿ”ค Keyword Search : Search for ads containing specific words or phrases in their content
    1. ๐ŸŽฏ Exact Match Search : For precise targeting, wrap your search term in quotes to find exact matches
    1. ๐Ÿข Advertiser Name Search : Search by advertiser name (e.g. "LEVI STRAUSS & CO."). You can optionally add the Advertiser ID for more precise results
    1. ๐ŸŒ Direct URL: Paste any TikTok Ads Library URL and the scraper will automatically extract all parameters (timestamps, advertiser name, ID, region, etc.)

โœจ What You'll Get

๐Ÿ”ข Number format: Fields like Ad Audience, Ad Target Audience Size and every reach/impressions value are returned as an object { "raw": "11.7M-14.2M", "min": 11700000, "max": 14200000 }. Keep the human-readable text in raw, and sort/filter/aggregate directly on min / max. For single values, min equals max; empty values return null.

๐Ÿ“ฐ Ads Data Structure

FieldDescription
AD IDUnique identifier for the ad
Advertiser NameName of the company/entity running the ad
Ad TitleTitle/headline of the ad creative
AD PreviewURL to the preview image/thumbnail of the ad
Ad DatesFirst and last shown dates with timestamps
Ad AudienceEstimated audience as { raw, min, max } (e.g. "1M-10M")
Ad DetailsComprehensive details: estimated audience, spend, type, audit status, impressions, sponsor, target audience size, advertising objective, call to action, and external (landing) URL
Ad MediaURLs to all creative assets (videos, images, cover images)
Ad TargetingDetailed targeting: regions, enabled age groups, gender, languages, cities, provinces, operating systems, device models, high spending power, audience, interests, and interaction signals
Ad ReachPer-country reach: total regions, total impressions, and for each country the impressions plus a full age ร— gender breakdown (every impressions value is a { raw, min, max } object)
AdvertiserAdvertiser profile: name, business IDs, registry location, sponsor, and linked TikTok account (username, display name, follower count, account type, profile link, avatar)
Ad SponsorSponsor information from ad details
Ad Target Audience SizeEstimated target audience size as { raw, min, max } (e.g. "11.7M-14.2M")
Ad Detail URLDirect link to the ad on TikTok Ads Library

๐Ÿš€ Performance Features

โšก๏ธ Lightning Fast:

  • Pipelined pagination (the next page is fetched while the current page's details are being collected)
  • Concurrent ad-detail fetching
  • Efficient proxy rotation and optimized resource usage
  • Smart retry mechanism

๐Ÿ› ๏ธ Smart Handling:

  • Automatic URL standardization
  • Automatic date-window paging to go beyond the per-window result cap
  • Proxy/session health monitoring with automatic token refresh
  • Resilient to transient network drops (empty/invalid responses are retried, never crash the run)

๐ŸŒ Global Coverage:

  • Works with any TikTok-supported region
  • Standardizes output format

๐Ÿ“‹ Quick Start

Input Parameters

ParameterTypeDefaultDescription
regionstring"all"Region code for which you want to scrape ads
startDatestring"2025-01-01"Start date for ads (format: YYYY-MM-DD)
endDatestring""End date for ads (empty for current date)
queryTypestring"2"Query type (1=Keyword, 2=Advertiser Name, url=Direct URL)
querystring""Search query: keyword, advertiser name, or full TikTok Ads Library URL
advertiserBizIdstring""Optional advertiser business ID (only for Advertiser Name mode). Found in TikTok URL as adv_biz_ids
maxAdsnumber20Maximum number of ads to scrape
fetchDetailsbooleantrueFetch detailed ad information including reach & advertiser profile (set to false for faster, lighter scraping)
detailConcurrencynumber6Number of ad-detail requests fetched in parallel
proxyConfigurationobject{useApifyProxy: true, apifyProxyGroups: []}Proxy configuration (datacenter by default)

Input Example โ€” Advertiser Name + ID

{
"region": "FR",
"startDate": "2026-01-01",
"endDate": "2026-05-25",
"queryType": "2",
"query": "LEVI STRAUSS & CO.",
"advertiserBizId": "6886458055832109825",
"maxAds": 10,
"fetchDetails": true,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": []
}
}
{
"region": "GB",
"startDate": "2025-01-01",
"endDate": "2026-01-01",
"queryType": "1",
"query": "football",
"maxAds": 20,
"fetchDetails": true,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": []
}
}

Input Example โ€” Direct TikTok URL

{
"queryType": "url",
"query": "https://library.tiktok.com/ads?region=FR&start_time=1777123937000&end_time=1779715937000&adv_name=LEVI%20STRAUSS%20%26%20CO.&adv_biz_ids=6886458055832109825&query_type=2&sort_type=last_shown_date,desc",
"maxAds": 10,
"fetchDetails": true,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": []
}
}

Output Example

[
{
"AD ID": "1867625146670401",
"Advertiser Name": "COCA COLA HBCO",
"Ad Title": "Wygrywaj!",
"AD Preview": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/ogeDXpFKBIDvN8CAZcQgfBE5qTQpNiQBQaPYDB~tplv-tiktokx-origin.jpeg",
"Ad Dates": [
{
"FirstShown": "2026-06-12",
"FirstShownTimestamp": 1781222400
},
{
"LastShown": "2026-06-14",
"LastShownTimestamp": 1781395200
}
],
"Ad Audience": { "raw": "1M-10M", "min": 1000000, "max": 10000000 },
"Ad Details": [
{ "Estimated Audience": "1M-10M" },
{ "Spent": "" },
{ "Type": "2" },
{ "Audit Status": "1" },
{ "Impression": "" },
{ "Sponsor": "MEDIACOM UK LIMITED" },
{ "Target Audience Size": "11.7M-14.2M" },
{ "Advertising Objective": "Reach" },
{ "Call To Action": "Learn more" },
{ "External URL": "https://cokeurl.com/KuM89D?utm_source=tiktok&utm_medium=paid" }
],
"Ad Media": [
"Video 1: https://library.tiktok.com/api/v1/cdn/1782079373/video/...",
"Image 1: https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/ogeDXpFKBIDvN8CAZcQgfBE5qTQpNiQBQaPYDB~tplv-tiktokx-origin.jpeg"
],
"Ad Targeting": {
"regions": ["PL"],
"age": ["18-24", "25-34", "35-44", "45-54", "55+"],
"gender": ["female", "male", "unknown"],
"languages": [],
"cities": [],
"provinces": [],
"operating_systems": ["ALL"],
"device_models": [],
"high_spending_power": "No",
"audience": "No",
"audience_exclude": "No",
"interest": "",
"video_interactions": "",
"creator_interactions": ""
},
"Ad Reach": {
"total_region": 1,
"total_impressions": { "raw": "1M-10M", "min": 1000000, "max": 10000000 },
"by_country": [
{
"region": "PL",
"impressions": { "raw": "1.5M", "min": 1500000, "max": 1500000 },
"breakdowns": [
{ "age": "18-24", "gender": "MALE", "impressions": { "raw": "159K", "min": 159000, "max": 159000 } },
{ "age": "18-24", "gender": "FEMALE", "impressions": { "raw": "252K", "min": 252000, "max": 252000 } },
{ "age": "25-34", "gender": "MALE", "impressions": { "raw": "273K", "min": 273000, "max": 273000 } },
{ "age": "25-34", "gender": "FEMALE", "impressions": { "raw": "352K", "min": 352000, "max": 352000 } },
{ "age": "35-44", "gender": "MALE", "impressions": { "raw": "87K", "min": 87000, "max": 87000 } },
{ "age": "35-44", "gender": "FEMALE", "impressions": { "raw": "122K", "min": 122000, "max": 122000 } },
{ "age": "45-54", "gender": "MALE", "impressions": { "raw": "45K", "min": 45000, "max": 45000 } },
{ "age": "45-54", "gender": "FEMALE", "impressions": { "raw": "72K", "min": 72000, "max": 72000 } },
{ "age": "55-100", "gender": "MALE", "impressions": { "raw": "22K", "min": 22000, "max": 22000 } },
{ "age": "55-100", "gender": "FEMALE", "impressions": { "raw": "44K", "min": 44000, "max": 44000 } }
]
}
]
},
"Advertiser": {
"name": "COCA COLA HBC POLSKA SP Z O O",
"adv_biz_ids": "6876461641299395330",
"registry_location": "United Kingdom",
"sponsor": "MEDIACOM UK LIMITED",
"tiktok_account": {
"username": "cocacola",
"display_name": "Coca-Cola",
"follower_count": "4.2M",
"account_type": "BLUEV_BA",
"avatar_url": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/952fe5a47bd6d42729cbc4918730e2b5~tplv-tiktokx-cropcenter:168:168.jpeg",
"profile_web_link": "https://www.tiktok.com/share/user/6808618235111736326?source=ad_review"
}
},
"Ad Sponsor": "MEDIACOM UK LIMITED",
"Ad Target Audience Size": { "raw": "11.7M-14.2M", "min": 11700000, "max": 14200000 },
"Ad Detail URL": "https://library.tiktok.com/ads/detail/?ad_id=1867625146670401"
}
]

๐Ÿค Support & Resources

Need help? Have questions? We're here to help! If you encounter any issues or have feature requests, please don't hesitate to open an issue.

โค๏ธ Love our scraper? Please leave a review here