TikTok Ads Library Scraper
Pricing
$3.00 / 1,000 ad scrapeds
TikTok Ads Library Scraper
Scrape TikTok's Ad Library by keyword, advertiser name, or business ID across any region — get video URLs, cover images, impressions, spend, dates, and rejection info.
Pricing
$3.00 / 1,000 ad scrapeds
Rating
0.0
(0)
Developer
SR
Maintained by CommunityActor stats
0
Bookmarked
361
Total users
110
Monthly active users
4 days ago
Last modified
Categories
Features
Share
TikTok Ads Library Scraper: Creative and Advertiser Data
Hosted tiktok ads library that returns structured JSON without the captcha-solving, proxy-rotation, and site-update maintenance you'd otherwise own. Run it from the Apify Store with one click, or call it from your own service via the Apify API. Pay only for what you scrape, no monthly subscription.
What you get
- Structured JSON output, every tiktok ads library run returns clean, parseable records ready for analytics or downstream pipelines.
- Hosted on Apify, no servers, no proxies, no anti-bot maintenance. Click Run.
- Pay only for what you scrape, pricing scales with usage; no monthly subscription minimum.
- Multi-country support, pass a
country/geoparameter to localize results across 50+ regions. - Configurable result limits, cap the run at the exact number of records you need.
- Built-in proxy rotation, IP blocks, captchas, and rate limits are handled for you.
Why use this tiktok ads library
Most tiktok ads library solutions fall into one of two camps: free open-source libraries that break every few months when the upstream site changes, or expensive SaaS tools that charge $99-$399/month for the data layer plus a dashboard UI you may not need.
This Apify Actor sits in the middle: same structured data the SaaS tools ship, but priced per run instead of per month, with a hosted infrastructure that handles proxies, retries, and captcha solving so you don't have to.
Input
| Field | Type | Default | Description |
|---|---|---|---|
library | string | ads | ads searches the paid Ad Library; other_commercial_content searches promotional creator posts (see the section below). |
search | string | required in ads | Advertiser name or keyword (e.g. "nike", "korean skincare"). One of search / ad_id / adv_biz_ids is required in the ads library. Ignored in other_commercial_content. |
creator_username | string | , | TikTok username without the @ (a leading @ and spaces are stripped). other_commercial_content only; empty browses the whole region. |
ad_id | string | , | Specific ad ID. Returns deeplink only (TikTok has no public detail API). Ignored in other_commercial_content. |
adv_biz_ids | string | , | TikTok advertiser business ID filter. Ignored in other_commercial_content. |
region | string | all | ISO country code or 'all'. Ads: TikTok does NOT support region=US, use 'all' to include US ads. Other Commercial Content: EEA, Switzerland and UK codes only; 'all' and 'US' are refused. |
query_type | string | 1 | 1 = by advertiser name, 0 = by keyword. Ignored in other_commercial_content. |
sort | string | last_shown_date,desc | Ads: recency or impression count. Other Commercial Content: posted_date or video_views, see below. |
start_date | string | , | Lower bound for the ad's last-shown date, or the post's posted date (YYYY-MM-DD). Default: 1 year ago. |
end_date | string | , | Upper bound for the ad's last-shown date, or the post's posted date (YYYY-MM-DD). Default: now. |
limit | integer | 20 | How many ads or posts to collect, up to 500. TikTok serves 12 per response and this Actor walks the cursor for you. |
offset | integer | 0 | Ads: result offset. Other Commercial Content: starting cursor (read from search_id when resuming). |
search_id | string | , | The _next_search_id of a previous run, to continue where it stopped. Works for both libraries. |
proxy_url | string | , | Optional IPv4 proxy URL in the form scheme://username:password@host:port. TikTok's library.tiktok.com has n… |
Output
Every run pushes results to the Apify dataset as JSON records. Each record contains the structured fields surfaced by the tiktok ads library, fields, IDs, timestamps, and any nested objects. You can:
- Download the dataset as JSON, JSONL, CSV, or Excel from the Apify console
- Stream results via the Apify API for use in your own application
- Pipe results to webhooks, S3, BigQuery, or any of Apify's 30+ integrations
- Diff today's run against yesterday's to detect changes (new entries, removed entries, modified fields)
Every record carries a library field (ads or other_commercial_content), so a dataset that mixes both modes stays easy to split.
Other Commercial Content library
TikTok's Commercial Content Library has two halves. The paid Ad Library is what the default ads mode searches. The second half, Other Commercial Content, lists organic creator posts that the creator marked as promotional (branded content, paid partnerships, self-promotion) rather than paid ads. Set library to other_commercial_content and the same Actor searches that library instead, with the same pricing, the same free-tier cap and the same dataset.
TikTok publishes this library for the EEA, Switzerland and the United Kingdom only. region must therefore be one of these codes: AT, BE, BG, CH, CY, CZ, DE, DK, EE, ES, FI, FR, GB, GR, HR, HU, IE, IS, IT, LI, LT, LU, LV, MT, NL, NO, PL, PT, RO, SE, SI, SK. all and US are refused before any request is made, with a bad_input entry in the errors record.
Inputs that matter in this mode
| Field | Effect |
|---|---|
library | other_commercial_content |
region | One EEA, CH or GB code. Required in practice, since the default all is refused here. |
creator_username | Optional. A TikTok username without the @; @bookingcom and bookingcom are the same. Empty browses every promotional post in the region and date window. |
start_date, end_date | Posted-date window, YYYY-MM-DD. Default one year back to now. |
limit | Posts to collect, 1 to 500. TikTok serves 12 per page; the Actor walks the cursor until limit is reached or the library runs out. |
sort | posted_date,desc (default), posted_date,asc, video_views,desc, video_views,asc. An ads-mode sort such as impression,desc is replaced by posted_date,desc and noted as a warning in the errors record; the run still succeeds. |
search_id | The _next_search_id of a previous run, to continue. |
search, ad_id, adv_biz_ids and query_type are ignored in this mode.
View buckets
TikTok does not publish exact counts for promotional posts. video_views and content_views are text buckets as the library shows them, for example 0-1K, 1K-10K, 10K-100K, 1M-10M, 80M-90M, 90M-100M and >100M. Sort by video_views,desc to get the biggest posts first.
Sample record
{"library": "other_commercial_content","content_id": "v26044gc0000d8v9fifog65hdbmoamk0","creator_username": "bookingcom","brand_names": [],"posted_time": "2026-06-26T15:17:28Z","posted_time_unix": 1782487048,"video_views": ">100M","content_views": ">100M","audit_status": "1","content_label": "2","show_mode": 1,"videos": [{"video_url": "https://library.tiktok.com/api/v1/cdn/.../video/...","cover_image": "https://p16-common-sign.tiktokcdn.com/..."}],"image_urls": [],"region": "NL","deeplink": "https://library.tiktok.com/other-commercial-content","_next_search_id": "eyJsYXN0X3NvcnQiOls4NDYzMjkyNV0sIm5leHRfY3Vyc29yIjoxMn0="}
_next_search_id and _next_cursor are present only when more posts were available than limit asked for. Pass _next_search_id as search_id on the next run to continue; the cursor is read from it. brand_names drops the empty strings TikTok pads the list with, so a post without a tagged brand has an empty list. posted_time is ISO 8601 UTC; posted_time_unix is the same instant in epoch seconds.
Good to know
- A creator with no promotional posts in the window returns zero rows and no error. That is a valid result, not a failure.
limitabove what TikTok has stops quietly when the library runs out.- The upstream endpoint answers an intermittent
500now and then, also in TikTok's own web UI. The Actor pauses and retries up to four times; if every attempt fails it returns no rows plus onefetch_failedentry markedretryable, and the run still finishes. - A burst of runs in quick succession can hit TikTok's request budget, which it reports as
limit exceed. The Actor waits (up to about two minutes in total, never past the run timeout) and retries; if the budget has not lifted by then the error readsrate limitedand a run a few minutes later succeeds. - Each post costs one
scrapedevent, the same as an ad.
Use cases for the tiktok ads library
Competitor ad intelligence
Pull every active ad your top 5 competitors are running via the tiktok ads library. Map their messaging angles, creative formats, and regional spend allocation.
Ad-creative inspiration
Browse high-spending campaigns by category to copy proven creative formats, saves weeks of A/B testing from scratch.
Compliance auditing
Verify your own brand's compliance with platform ad policies by pulling all your live ads via the tiktok ads library weekly.
Market research
Aggregate tiktok ads library data across an entire vertical (e.g. all DTC mattress brands) to size paid-media spend and identify rising challengers.
How it compares
There are three ways to pull TikTok ad data. This Actor is the hosted, pay-per-result option.
| Approach | Setup | Output | Billing |
|---|---|---|---|
| This Actor | Hosted on Apify, one click | JSON, JSONL, CSV, Excel | Pay per result, no monthly minimum |
| Scraper API (e.g. Scrapingdog TikTok Ads API) | Sign-up plus API key wiring | JSON | Credit plans with a monthly quota |
| Managed store scrapers (e.g. Lobstr TikTok Top Ads) | Sign-up plus a dashboard | Locked to their UI, export limits | Subscription or credit tiers |
Other Apify actors (e.g. lexis-solutions/tiktok-ads-scraper, silva95gustavo/tiktok-ads-scraper) | Also hosted on Apify | JSON and CSV | Compare on fields returned and price per result |
Pick this Actor when you want structured JSON, native Apify integration, and a bill that scales with what you scrape instead of a fixed monthly plan.
FAQ
Is this tiktok ads library free?
The Actor itself is hosted on Apify with pay-per-event pricing, you only pay for what you actually scrape. There's no monthly subscription and no minimum spend. The first few runs typically cost less than a coffee. For long-running daily jobs, your monthly bill scales with the volume of data you pull.
How does this tiktok ads library compare to existing tools?
Most off-the-shelf tiktok ads library alternatives are either fragile open-source scripts that break every few months, or expensive SaaS subscriptions starting at $99-$399/month. This Actor sits in between: hosted infrastructure that handles proxy rotation and retries, but priced per run.
What input does the tiktok ads library accept?
The full input schema is rendered as a form on the Apify Store page, you can run a job by filling out a few fields with no code. The schema also accepts raw JSON if you're calling the Actor via the Apify API from your own service. See the Input section above for the field list.
How accurate is the tiktok ads library data?
The Actor scrapes data directly from the source, so accuracy matches what a human user would see on the page. There's no third-party cache or middleware, every run returns the live state. If the upstream site throttles requests, the Actor handles retries and proxy rotation transparently and surfaces a structured error in the dataset's errors field rather than failing silently.
Can I run this tiktok ads library on a schedule?
Yes, Apify has built-in scheduling. You can set the Actor to run hourly, daily, or weekly, and pipe results to webhooks, S3, or your data warehouse via the Apify integrations. Most teams schedule the tiktok ads library as a daily task and incrementally diff against the previous run to detect changes.
Pricing
This tiktok ads library uses Apify's pay-per-event pricing, every successful record costs a small fixed amount, so your bill scales linearly with usage. There's no monthly subscription and no minimum spend. See the Apify Store page for the current per-event price; expect typical workloads to cost a few dollars per run.