TikTok Ads Library Scraper avatar

TikTok Ads Library Scraper

Pricing

$1.99 / actor start

Go to Apify Store
TikTok Ads Library Scraper

TikTok Ads Library Scraper

Scrapes TikTok Ads Library (library.TikTok.com/ads) for ad creatives, advertiser details, engagement metrics, and video URLs.

Pricing

$1.99 / actor start

Rating

0.0

(0)

Developer

Gitlab

Gitlab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Security

Limited permissions

Share

Scrapes TikTok Ads Library (library.tiktok.com/ads) for ad creatives, advertiser details, engagement metrics, and video URLs.

Features

  • Keyword search — find content by keyword, search term, or topic
  • Location filtering — narrow results to specific cities, regions, or countries
  • Configurable result limit — set exactly how many items to collect per run
  • Cloud-ready — runs on Apify with scheduling, proxy rotation, and webhook support

Use Cases

  • Influencer discovery and social media performance analytics
  • Content trend monitoring and viral post identification
  • Brand mention tracking and social listening
  • Competitor content strategy benchmarking

Input

FieldTypeDefaultRequiredDescription
querystring—✓The keyword or phrase to search for in TikTok Ads Library.
countrystring—ISO 3166-1 alpha-2 code for EU/EEA ad target country (TikTok Ads Library only supports European Economic Area countries: AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IS, IE, IT, LV, LI, LT, LU, MT, NL, NO, PL, PT, RO, SK, SI, ES, SE, GB). Defaults to DE.
maxItemsinteger—Maximum number of ads to scrape.
proxyConfigurationobjectApify ResidentialProxy settings. Residential proxy is strongly recommended

Output

Each scraped item includes:

FieldDescription
positionPosition
advertiserNameAdvertiser name
adTextAd text
firstShownFirst shown
lastShownLast shown
platformPlatform
linkLink
videoUrlDirect URL to the video file or viewing page
uniqueUsersSeenUnique users seen
queryQuery
countryCountry name or ISO country code
scrapedAtTimestamp when this item was scraped (ISO 8601)

Sample Output

{
"position": "position_value",
"advertiserName": "advertiserName_value",
"adText": "adText_value",
"firstShown": "firstShown_value",
"lastShown": "lastShown_value",
"platform": "platform_value",
"link": "link_value",
"videoUrl": "https://example.com/video/abc123"
}

Notes

  • Proxy: Residential proxy is highly recommended — set proxyConfiguration: { useApifyProxy: true, apifyProxyGroups: ["RESIDENTIAL"] }
  • Rate limits: Keep maxItems reasonable per run to avoid IP bans or rate throttling
  • Scheduling: Use Apify Scheduler to run this actor on a recurring basis for a consistently fresh dataset