TikTok Ads Library Scraper: EU Ads & Changes (No Login)
Pricing
from $0.22 / 1,000 ads
TikTok Ads Library Scraper: EU Ads & Changes (No Login)
Track ads in the EU TikTok Ad Library by advertiser or keyword: dates, reach bucket, creatives, and NEW, ACTIVE, SCALING, or STOPPED status. Use Only ads that changed to skip unchanged ads for free. No login; not affiliated with TikTok.
Pricing
from $0.22 / 1,000 ads
Rating
0.0
(0)
Developer
Kizuki
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 days ago
Last modified
Categories
Features
Share
What does TikTok Ads Library Scraper do?
Track TikTok ads in the EU TikTok Ad Library (library.tiktok.com) by advertiser name or ad-text keyword: returns dates, running days, reach bucket, creative URLs, and a run-over-run lifecycle (NEW, ACTIVE, SCALING, STOPPED).
Use onlyChanges on a schedule to receive only changed ads and skip unchanged ACTIVE ads for free. Empty input ({}) searches Nike in Germany (DE, first 12 ads; max 120 ads per run).
Use cases
- Watch a competitor's creative. Run it daily with
onlyChangesand get only the ads that started, grew or stopped — the field to alert on islifecycle. - Catch a new product at launch. Watch an advertiser's reach bucket go up across days instead of guessing from one snapshot.
- Build a swipe file. Keep the cover image, the video or image URLs and the ad text of each ad.
- Market research. Compare how many ads an advertiser runs in each country, and how long each one stayed up.
- A monitor an agent can call. One call returns only the diff, so an agent's context holds the changes, not the whole library.
What data can you get?
| Field | Description |
|---|---|
id, source | Row ID (tiktok:<country>:<adId>) and the source label |
adId | The library's ad ID |
advertiser | Advertiser name as the library prints it |
region | The country the ad was searched in (two-letter code) |
query, queryMode | The input entry behind the row (advertiser, keyword, advertiserId) |
firstShownAt | ISO 8601 date the ad was first shown |
lastShownAt | ISO 8601 date the ad was last shown |
daysRunning | Whole days between the two dates, both days included |
audienceRange | The reach bucket as the library prints it (0-1K, 1K-10K, 100K-200K, …) — unique users who saw the ad at least once |
previousAudienceRange, reachChange | The bucket the previous run saw, and increased / decreased / same |
lifecycle | NEW, ACTIVE, SCALING or STOPPED (see above) |
firstSeenAt | When this Actor first saw the ad (from the named key-value store) |
adType | The library's own media type value ("1" or "2"); its meaning is not documented, so it is passed through |
libraryUrl | The ad's page in the library (/ads/detail/?ad_id=<id>) |
coverImageUrl, videoUrls, imageUrls | Creatives (video URLs expire; read them in the same run) |
adText | The ad caption — the text the advertiser wrote |
callToAction | The call to action the advertiser set (Shop now, …) |
landingUrl | The landing page the ad points to (it can carry campaign macros such as __CAMPAIGN_ID__) |
objective | The advertising objective the library prints for the ad |
estimatedAudience | The target audience size the library prints (14.9M-18.3M) — not the number who saw it (audienceRange) |
targetingByLocation | Where the ad was shown: [{region, impressions}] — the library's rounded reach bucket for that country, not a total for the ad |
targetingBreakdowns | The audience cells the library prints: [{region, age, gender, impressions}] (13-17 … 55+; male, female, unknown) — a rounded bucket per cell, not a total for the ad |
detailFetchedAt, detailError | When the ad's own details were read; detailError is null when they were read, and otherwise says why — a failure (captcha, rate-limited, blocked, http-error, invalid-search, no-token, invalid-json, unexpected-shape, search-error) or a skip (not-requested, no-ad, skipped) |
fetchedAt | When the run read the row |
error | null for an ad row; otherwise {type, message, status, code, msg, snippet} — a fixed reason, the HTTP status, the library's own code and msg, and the first 300 characters of the body, with anything that looks like a session credential masked. On a navigation row, status is the page's HTTP status when there was one, and msg is the browser's network error code or error class, when there was one. type is a failure (captcha, browser, navigation, rate-limited, blocked, http-error, invalid-search, no-token, invalid-json, unexpected-shape, search-error) or a search that answered with nothing: no-ads (the library listed no ad for that query, country and window) or listing-incomplete (it named matching ads and sent no rows). A status row names its own input in query, queryMode and region, and is never charged. |
Every row has every field; a value the library does not give is null. The library publishes no total
impression count and no spend for an ad, so no row claims either. With includeDetails on, the row does carry
the library's own reach buckets — one per country (targetingByLocation) and one per country, age and gender
(targetingBreakdowns) — each a rounded figure for that cell, not a total for the ad.
How to use TikTok Ads Library Scraper
- Put what you want to watch into Advertisers or keywords (
queries:Nike, or"nike air max"for a keyword phrase — the library's own rule: a quoted phrase searches the ad text). An unquoted name is an advertiser search: a row is kept only when the advertiser name contains every word of the query (NikekeepsNIKE Retail B.V.), so a misspelled or unknown advertiser returns no ad rows instead of other advertisers' ads (a freeno-adsstatus row records the search). - Set Countries (
regions: defaultDE) and Days back (days: default 30, which is the library's widest window). Only the 32 countries the library lists can be searched:USis not one of them, and a run that names only countries outside the list is refused with a message that lists the codes. - For monitoring, turn on Only ads that changed (
onlyChanges) and schedule the Actor (daily is the natural rate). Each run then returns only NEW, SCALING and STOPPED ads. - Send the rows to a sheet, a warehouse, Slack or a model.
lifecycleis the field to alert on;libraryUrlopens the ad in the library.
Input example
{"queries": ["Nike", "\"nike air max\""],"regions": ["DE", "FR"],"days": 30,"onlyChanges": true,"includeDetails": true,"detailProxy": "datacenter","maxItems": 24}
Output example (one ad row, shortened)
{"id": "tiktok:DE:1879578150853922","source": "TikTok Ad Library (library.tiktok.com)","adId": "1879578150853922","advertiser": "NIKE Retail B.V.","region": "DE","query": "Nike","queryMode": "advertiser","firstShownAt": "2026-10-20T00:00:00.000Z","lastShownAt": "2026-11-04T00:00:00.000Z","daysRunning": 16,"audienceRange": "200K-300K","previousAudienceRange": "200K-300K","reachChange": "same","lifecycle": "ACTIVE","firstSeenAt": "2026-11-05T21:12:00.000Z","adType": "2","libraryUrl": "https://library.tiktok.com/ads/detail/?ad_id=1879578150853922","coverImageUrl": "https://p16-common-sign.tiktokcdn.com/…","videoUrls": ["https://library.tiktok.com/api/v1/cdn/…/video/…"],"imageUrls": [],"adText": "Nike Back to School: fresh fits for the new term.","callToAction": "Shop now","landingUrl": "https://www.nike.com/de/w/back-to-school-840ik?utm_source=tiktok&utm_medium=paid","objective": "Sales","estimatedAudience": "14.9M-18.3M","targetingByLocation": [{ "region": "DE", "impressions": "17K" }],"targetingBreakdowns": [{ "region": "DE", "age": "18-24", "gender": "male", "impressions": "4K" },{ "region": "DE", "age": "18-24", "gender": "female", "impressions": "4K" }],"detailFetchedAt": "2026-11-06T21:12:00.000Z","detailError": null,"fetchedAt": "2026-11-06T21:12:00.000Z","error": null}
Input
| Field | Default | Meaning |
|---|---|---|
queries | empty | Advertisers or keywords: a name is an advertiser search, a quoted phrase searches the ad text |
advertiserIds | empty | Advertiser ids: the library's own advertiser IDs, when you know them |
regions | ["DE"] | Countries to search: 1 to 20 two-letter codes the library lists (EU/EEA, Switzerland, the UK — 32 codes). A code outside that list (for example US) is not searched: it is listed in the run summary, and an input whose codes are all outside the list is refused as invalid input. |
days | 30 | Days back, the library's widest window |
adStatus | all | Ad status: all, active or inactive as the library's filter |
inactiveAfterDays | 7 | Treated as stopped after: a listed ad whose lastShownAt is older than this many days |
onlyChanges | false | Only ads that changed: returns NEW, SCALING and STOPPED ads and leaves unchanged ACTIVE ads out |
includeDetails | false | Read each ad's details (ad text, landing page, targeting): at least one extra request per returned ad. The library often refuses them, so some or all rows can come back without details (detailError says why; no extra event is charged). Set run memory to 2048 MB (2 GB) when it is on |
detailProxy | datacenter | Connection for the detail reads: datacenter or residential (detail reads only; the residential one is slower) |
maxItems | 12 | Maximum ads per run, 1–120 |
proxySession | empty | Optional session name for the datacenter proxy, so the listing reads keep one exit IP |
The lifecycle and repeated runs
The library's rows carry no active flag. The lifecycle is therefore built from facts you can check yourself — the listing and the last-shown date the library gives for each listed ad — plus the record of the previous run:
- NEW / ACTIVE / SCALING come from the ad being listed now, compared with the previous run's reach bucket.
- STOPPED comes from a listed ad whose
lastShownAtis older thaninactiveAfterDays(default 7). - An ad missing from a listing is not called STOPPED. The library returns a different part of a list on
different calls, even seconds apart, so an ad missing from one run is often still running. Such ads are counted
in
stoppedUnconfirmedin the OUTPUT record, with no row and no charge. When one is listed again, it gets a row by the usual rules (usually ACTIVE). - A STOPPED row is returned once. The ad's record is marked, so the next run does not repeat it. If the ad later runs again with a newer last-shown date, it is ACTIVE again, and a later stop is reported again.
- A name search that the library answers only with other advertisers is not a complete listing. The library
returns ads whose text mentions the word, and unrelated ads for a name it does not know; rows whose advertiser
name does not contain the query's words are dropped, and their silence is not used to call a known ad STOPPED
(the run summary reports
unresolvedAdvertisers). Records left under that query by an earlier run that do not match the advertiser name are dropped too (stateUnrelatedDropped), so they cannot come back as STOPPED either. - The record lives in the named key-value store
state-tiktok-ads-<actor id>of your Apify account, one record per query × country, kept for 90 days. The run records every ad it listed, including the ACTIVE adsonlyChangesleaves out and the adsmaxItemscut off — the record is the memory of the ad, not of the delivery — so an ad is never reported NEW twice. - Do not run the same input concurrently: two runs can both see the old record and both report the same NEW ads.
- Without run-to-run state (a local run without the store) every ad is NEW; the run summary says
"lifecycleKnown": false.
How much does it cost?
TikTok Ads Library Scraper uses pay-per-event pricing: you pay only for the ad rows returned, not for run duration.
| Apify plan (discount tier) | Price per 1,000 ads | Price per ad |
|---|---|---|
| Free | $0.33 | $0.00033 |
| Starter (Bronze) | $0.33 | $0.00033 |
| Scale (Silver) | $0.26 | $0.00026 |
| Business (Gold) | $0.22 | $0.00022 |
Apify's Free plan includes USD 5 of monthly usage, which covers about 15,151 ads at the Free tier price, run start fees aside.
- Run start fee: USD 0.00005 per GB of memory per run (USD 0.00005 at this Actor's default 1 GB).
- 1 ad row = 1
adevent. A row that reports an unreadable ad or search error is written for visibility and is not charged. - With
onlyChanges, unchanged active ads are not rewritten and are not charged.
Use with AI agents (MCP)
TikTok Ads Library Scraper works as a tool for AI agents such as Claude, Cursor and n8n agents through the Apify MCP server. Load this Actor, plus the tool that reads its input schema and pricing, with this server URL:
https://mcp.apify.com?tools=fetch-actor-details,kizukidata/tiktok-ads-monitor
- Claude Code: run
claude mcp add apify "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/tiktok-ads-monitor" -t http. - Claude (web or desktop app): open Customize → Connectors, choose Add custom connector, name it
Apifyand paste the server URL above. - Cursor: add the server to
~/.cursor/mcp.json(or.cursor/mcp.jsonin a project):
{"mcpServers": {"apify": { "url": "https://mcp.apify.com?tools=fetch-actor-details,kizukidata/tiktok-ads-monitor" }}}
- n8n: add the Apify node (on self-hosted n8n, install the community package
@apify/n8n-nodes-apify) and choose Run an Actor and get dataset; for an n8n AI Agent, add Apify Tool as a tool.
The server signs you in to Apify with OAuth. A client that cannot use OAuth can send your Apify API token in an Authorization: Bearer <APIFY_TOKEN> header instead.
What to send from an agent
Keep maxItems small so the call answers inside the
agent's timeout, and use onlyChanges: true for a monitor: the agent gets the diff instead of the whole library. A
one-query run takes a few seconds. With includeDetails on it takes a few minutes and may still return the rows
without details, so an agent should not rely on adText, landingUrl or targetingBreakdowns being filled.
Integrations and API
Run the Actor from your own code or from an automation tool. Replace <APIFY_TOKEN> with your API token.
cURL
curl -X POST "https://api.apify.com/v2/acts/kizukidata~tiktok-ads-monitor/runs" \-H "Authorization: Bearer <APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"queries":["Nike"],"regions":["DE"],"onlyChanges":true,"maxItems":12}'
Poll GET https://api.apify.com/v2/actor-runs/<RUN_ID> for the status, read defaultDatasetId, then fetch
GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json.
Python
from apify_client import ApifyClientclient = ApifyClient("<APIFY_TOKEN>")run = client.actor("kizukidata/tiktok-ads-monitor").call(run_input={"queries": ["Nike"],"regions": ["DE", "FR"],"onlyChanges": True,"maxItems": 12,})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row["lifecycle"], row["advertiser"], row["firstShownAt"], row["audienceRange"])
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<APIFY_TOKEN>' });const run = await client.actor('kizukidata/tiktok-ads-monitor').call({queries: ['Nike'],regions: ['DE'],onlyChanges: true,maxItems: 12,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.filter((row) => row.lifecycle === 'NEW').map((row) => row.advertiser));
Zapier, Make and n8n
Use the Apify integration, choose Run Actor, pass queries with onlyChanges: true, then Get dataset
items. Run it daily: a run with no changes returns no items, so the next step simply does not fire. Filter on
lifecycle = NEW or STOPPED to alert in Slack, Notion, Airtable or Google Sheets.
LangChain
Use advertiser + audienceRange as page_content and adId, lifecycle, firstShownAt, lastShownAt,
daysRunning and libraryUrl as metadata. ApifyDatasetLoader from the Apify LangChain integration works with
the run's dataset ID; onlyChanges: true keeps an agent's context to the ads that changed.
Limitations
- Unofficial and independent, no login. Not affiliated with, endorsed by or sponsored by TikTok or ByteDance. Refused or unreached queries and unchanged ads under
onlyChangescost nothing. - SCALING example & supported regions:
SCALINGmeans the ad's unique-users reach bucket increased (for example10K-100K→100K-200K). Supported EU/EEA, CH, and UK 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. - Up to 120 ads per run. The Actor is built for watching an advertiser, not for a bulk export of a whole
library:
maxItemsis 1–120, and a run never writes more than 120 ad rows. - EU/EEA, Switzerland and the UK only. The library covers the 32 countries its selector lists. A country code
outside that list, such as
US, is not searched: it is listed inskippedInputswith its reason, the other codes of the run are still searched, and the OUTPUT record names the regions the run searched. When every code you give is outside the list, the run endsinvalid_inputbefore it sends a search request. Ads shown only outside those countries are not in the library at all. totalstops counting at 5,000, so a broad query over a big advertiser stops well short of its whole history. The library publishes no total impression count and no spend for an ad (includeDetailsadds its reach buckets per country, age and gender), and the row has no active flag, so STOPPED is derived from the last shown date of a listed ad. The rule is in the input (inactiveAfterDays) so you can see and change it.- The rate limit is the real ceiling. The ad library throttles frequent searches; the Actor retries with
progressive backoff, and a large
maxItemsover several advertisers may stop early. The queries it did not reach are listed inuncheckedInputsand cost nothing. Schedule the rest, or narrow the input. - Video URLs expire. They work in the run that read them; store the file, not the link, if you need it later.
- Details are not guaranteed. When the library answers, a detail read takes about 5 to 20 seconds per row, and
the detail phase stops after about 2 minutes (roughly 5 to 20 rows). A run can end with no detail read at all. The
ad rows still come back and are charged once for their listing data; a detail adds no event of its own. With
includeDetailson, run the Actor with 2048 MB (2 GB) of memory (the run start fee is per GB), and withdetailProxyset toresidentialApify bills that proxy traffic. A largemaxItemswithincludeDetailson leaves the last rows withdetailError: "skipped"; no pause is started if it would run past that limit. Narrow the input or split it over runs if you need every detail. When the library is busy it refuses the detail read: after a few refused rows in a row the Actor waits once and tries again, and if the next rows are refused too it stops asking and writes the rows it did not try asskipped(the refused rows keep their failure reason, such asrate-limited). When the search itself was stopped by the rate limit, the detail phase does not wait at all: it stops at the first run of refused rows. After a CAPTCHA on a search no detail is read, and a CAPTCHA on an ad's page ends the detail reads; the rows not tried areskipped. Detail rows are read in the order of the results, so STOPPED rows are read as well (the ad is inactive, but the library may still answer its detail). - Two runs of the same input at the same time can both report the same ad as NEW.
- A page with no rows is read as having no matches. If a first page indicates matches exist but returns no rows, it is retried once; if it stays empty, the run does not treat the listing as complete and says so in the run summary.
- A changed library shape comes back as
unexpected-shape(not charged) and needs an update; report it in the Issues tab.
Run status and the OUTPUT record
ok: rows were returned; the message counts them and names any status rows as not charged.no_matches: the queries answered, but no ad matched in the window. Each search that found no ad leaves a freeno-adsrow that names its query and country, so the empty result is stated in the dataset.no_new_items(onlyChanges): every ad was already there, nothing changed.invalid_input: the input needs a change; the message names the field — for example a country code the library does not cover.budget_exhausted: the spending limit needs a change.
The default key-value store's OUTPUT record has status, code, message, counters, skippedInputs (entries
that were not usable, and duplicates), uncheckedInputs (queries the run did not reach, e.g. because the library
was rate limiting or asked for a CAPTCHA) and a tiktokAds summary with entries, sampleUsed, regions, days, adStatus, rows,
noAds (searches that answered with no ad, each with a free status row),
new, scaling, stopped, stoppedRepeats, lifecycleKnown, stoppedReason, unrelatedSkipped (rows the
advertiser-name check dropped), stateUnrelatedDropped (stored rows dropped because they do not match the name),
unresolvedAdvertisers (name searches answered only with other advertisers), emptyPages, emptyPagesWithMatches
(pages that named matches but carried no rows), repeatOnlyPages (pages that only repeated earlier rows; that
listing is not treated as complete), stoppedUnconfirmed (ads of an earlier run missing from this run's listing:
no row, no charge), shrunkListings (complete listings that lacked most of the ads an earlier run listed),
details (the per-ad detail reads: included, rows, read,
unread, attempts, failedAttempts, skipped, retried, refreshed, tripPauses, gapMs, elapsedMs, reason,
proxy — the connection the detail reads used — and proxyError, which is set when the residential detail browser
could not be used) and execution counters.
FAQ
What does a captcha row mean?
The ad library asked for a human verification (a CAPTCHA) instead of answering. This Actor does not solve it: that
page is marked as a free captcha row, the run stops searching, and the queries after it are listed in
uncheckedInputs. Ads read before it are still returned and charged. The run still ends as succeeded: check
error.type and the status message. With includeDetails, a CAPTCHA on a search means no detail is read, and a
CAPTCHA on an ad's page ends the detail reads; the ad rows still come back.
Why does a run sometimes come back with a rate-limited row?
The ad library throttles requests when searches occur too frequently. The Actor retries automatically with
progressive backoff. If requests remain throttled, the query is marked as a rate-limited row (free) and any
unchecked inputs are listed in uncheckedInputs. Wait a few minutes and run again, or lower maxItems.
Why does a row say invalid-search (HTTP 425)?
The library answers 425 invalid search to a search request it will not accept. That query is skipped, the
searches after it still run, and the status row is free. Check the query text and the date window, then run again.
Why is there a row with no ad, only a reason?
A search that returns no ad leaves one free row that names its own input in query, queryMode and region:
no-ads when the library listed no ad, listing-incomplete when it named matching ads but sent no rows, or a
failure type when it refused the search. Without it a run that found nothing was indistinguishable from a run that
broke.
Why are adText, landingUrl or targetingBreakdowns empty?
detailError on the row tells you which case it is: not-requested (includeDetails is off, the default), a
failed read (rate-limited, blocked, http-error, …), no-ad (a row that only reports a failure), or skipped
(the detail phase did not ask: the source kept refusing it or asked for a CAPTCHA, its time limit was reached, or
the residential connection could not be used). There is no
separate charge for details: the ad row is charged for its listing data either way. The ad's own data — dates,
reach, lifecycle, creatives — comes back regardless. A null there means the detail was read, and then an empty
field is the advertiser's own empty value.
Why is lifecycle different from what the library's "Inactive" filter shows?
The library's own filter is a server-side setting, and its rows carry no active flag. This Actor builds the
lifecycle from the listing, lastShownAt and the record of the previous run, so every state is reproducible from
the data it returns. If you want the library's own filter, set adStatus to
active or inactive.
Why does an ad that disappeared not come back as STOPPED?
The library returns a different part of a listing on different calls, so an ad missing from one run is often
still running. The Actor reports STOPPED only for an ad that is still listed and whose lastShownAt is older than
inactiveAfterDays. A missing ad is counted in stoppedUnconfirmed in the OUTPUT record, with no row and no
charge, and gets a row again (usually ACTIVE) when it is listed again. A stopped ad that the library still lists
(with adStatus all, inside the days window) is reported once its lastShownAt is older than inactiveAfterDays.
Can I measure an advertiser's spend?
No. The library publishes no spend and no total impression count for an ad, so the row has neither;
audienceRange is the reach bucket the library prints, not a spend figure. With includeDetails on, the row
also carries the library's own reach buckets for each country, age and gender (targetingByLocation,
targetingBreakdowns) — rounded figures per cell, which do not add up to a total for the ad.
Is it legal to scrape the TikTok Ads Library?
The ad library is a public transparency tool, and the Actor reads only what any visitor can see there — no login, no private data. TikTok's terms do not allow automated scripts to collect information from the service, so check those terms, the law where you operate and, if you handle personal data, rules such as GDPR before you use the output. This is not legal advice.
Related Kizuki Actors
Other Actors from Kizuki that work well with this one:
- TikTok Creative Center Scraper — extract top-performing TikTok auction ads and trending hashtags in 73 countries by industry, objective, keyword, language, and format.
- YouTube Channel Scraper & Monitor — the organic side of the same question: what a brand posts, and how it performs.
- Google News Scraper — press coverage around a campaign, by keyword or topic.
- LinkedIn Company Scraper — the advertiser behind the ads: size, industry, followers and what changed.
- Instagram Post & Reel Details Scraper — public Instagram posts, carousels and Reels by URL or handle: captions, hashtags, likes, comments, audio and media URLs.
- Threads Scraper — public Threads posts, profiles, replies and search results with views, likes, reposts and
onlyNewItemsmonitoring, no login. - TikTok Trending Sounds Scraper: Songs by Country & Category — trending TikTok sounds and songs by country and Explore category with commercial-use flags and rank changes.
Your feedback
Found an ad that reads wrong, or a change in the library? Open an Issue in this Actor's Issues tab with the run ID. If you are an advertiser and want your ads left out, name the advertiser; the Actor keeps an exclusion list, and a request from a third party is not enough.