LinkedIn Ad Library Scraper (Apify)
LinkedIn Ad Library Scraper and LinkedIn Ads API: competitor ads by company, keyword or payer, with creatives, targeting and dates. JSON or CSV.
Hosted MCP Server
npx add-mcp 'https://mcp.apify.com/?tools=monkey.d.scraping/linkedin-ad-library-scraper'Installs into Claude Code, Codex, Cursor and more
Documentation
LinkedIn Ad Library Scraper | Ads & Targeting | $0.50/1K (monkey.d.scraping/linkedin-ad-library-scraper) Actor
LinkedIn Ad Library Scraper and LinkedIn Ads API: competitor ads by company, keyword or payer for $0.50/1K. Impressions by country, targeting, payer, dates and CTA. No login.
- URL: https://apify.com/monkey.d.scraping/linkedin-ad-library-scraper.md
- Developed by: Monkey D. Scraping (community)
- Categories: Marketing, Lead generation, MCP servers
- Features: Limited permissions
- Stats: 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- User rating: No ratings yet
Pricing
from $0.40 / 1,000 ads
This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events. Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.
Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event
What's an Apify Actor?
An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes. In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours, and optionally produces a well-defined JSON output, datasets with results, or files in key-value store. In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.
How to integrate an Actor?
If asked about integration, you help developers integrate Actors into their projects. You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.
For examples already wired to this Actor's own input schema, see the API section below.
Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).
README
LinkedIn Ad Library Scraper | Ads & Targeting | $0.50/1K
LinkedIn Ad Library Scraper exports ads from the public LinkedIn Ad Library by company, keyword or payer. Get ad text, headline, creative, format and advertiser for $0.50 per 1,000 ads, platform usage included. Add payer, run dates, call to action, total impressions, impressions by country and targeting (languages, locations, audience, company, job and more) for $0.80 per 1,000 ads. No LinkedIn account, login or cookies needed.
Also known as: LinkedIn Ads Library scraper, LinkedIn Ad Library API, LinkedIn competitor ads scraper, LinkedIn ads spy tool.
Built for B2B marketers, agencies, SaaS teams, sales and analysts who want to see what competitors advertise on LinkedIn, which messages and offers they test, where their ads are seen and whom they target.
中文用户 / 中文用戶: 简体中文说明 · 繁體中文說明(领英广告库采集、LinkedIn广告爬虫、B2B出海竞品广告)
Why choose this LinkedIn Ad Library scraper?
- Full details at a low, all-inclusive price. $0.50 per 1,000 ads, or $1.30 with full details. Platform usage is included. No start fee. Popular LinkedIn ad scrapers in the Apify Store charge $1–$5 per 1,000 ads, and the most used one $4 per 1,000 with details on the free plan (checked on 6 November 2026).
- Impressions by country, not just a total. Every country LinkedIn reports, with its share of impressions, plus the total impression range as text and as numbers you can sort.
- Landing pages with UTM parameters. The ad's destination link, its domain and its UTM parameters (
source,medium,campaign...), so you see where competitors send traffic and how they name their campaigns. - Every format, with its media. Video files and cover, document title, page count and link, carousel cards with title and image, message ads with sender and full text, advertiser logo.
- No result cap on the free plan. Some LinkedIn ad scrapers stop at 30 or 300 results until you pay or rent. This one returns as many ads as you ask for, at the same price.
- Targeting you can analyse. Targeted and excluded languages and locations (including the hidden "and 23 others" list), and which targeting parameters were used or excluded: audience, demographic, company, education, job, member interests and traits.
- Search by company, keyword or payer, with country, date, ad format and impressions range filters, or paste a LinkedIn Ad Library search URL. Turn on Only this exact advertiser to skip partners and resellers whose name contains the brand.
- You never pay for gaps. Duplicate ads are free. Details are charged only when they were actually obtained. Ad IDs that cannot be read are not charged.
- Every ad found is delivered. The search runs first, then details are added, and the status message shows progress live. Ads delivered without details are not charged for details.
- No login, no cookies, no LinkedIn account.
What can you use it for?
- Competitor ad research: every LinkedIn ad a competitor runs, with full text, headline, creative, CTA and dates.
- B2B messaging and offer ideas: search a keyword (for example
crm,cybersecurityorwebinar) and see how companies position themselves. - Reach and market analysis: which countries a campaign reached and how impressions are split.
- Targeting analysis: which languages, locations and audience criteria advertisers select or exclude.
- Lead generation: find which companies advertise on LinkedIn in a niche and who pays for their ads (often the agency).
- Monitoring with schedules or API: run the same search weekly and compare results by
adId. For new and disappeared ads between runs, see the LinkedIn Ad Library Change Monitor below.
What data do you get?
| Field | Description | Ad ($0.50/1K) | Details (+$0.80/1K) |
|---|---|---|---|
adId, adUrl | Ad ID and link to the ad in the LinkedIn Ad Library | ✅ | ✅ |
advertiserName | Advertiser shown on the ad | ✅ | ✅ |
format, formatLabel | single-image, video, carousel, document, event, message, text, spotlight and others | ✅ | ✅ |
adText, headline, imageUrls | Ad text (shortened in search results, full with details), headline and creative images | ✅ | ✅ |
advertiserUrl, advertiserCompanyId | LinkedIn company page and ID | — | ✅ |
paidBy | Who paid for the ad (company or agency) | — | ✅ |
ctaText | Call to action button | — | ✅ |
clickUrl, landingDomain, utmParameters | Landing page of the ad, its domain and UTM parameters, when LinkedIn publishes the link | — | ✅ |
videoUrls, videoPosterUrl | Video files (best quality first) and cover image | — | ✅ |
documentTitle, documentPageCount, documentUrl | Document ads: file title, pages and link | — | ✅ |
carouselCards | Carousel ads: each card's title and image | — | ✅ |
messageSender, messageText | Message (InMail) ads: sender and full message | — | ✅ |
advertiserLogoUrl, textLinks | Advertiser logo and links written in the ad text | — | ✅ |
daysRunning, isActive | Days the ad ran and whether it ran in the last two days | — | ✅ (EU) |
firstShown, lastShown | Run dates (YYYY-MM-DD) | — | ✅ (EU) |
totalImpressions, totalImpressionsMin, totalImpressionsMax | Total impressions range, as text and numbers | — | ✅ (EU) |
impressionsByCountry | Every country with its share of impressions | — | ✅ (EU) |
targetingLanguages, targetingLocations (+ Excluded) | Targeted and excluded languages and locations | — | ✅ (EU) |
targetingParameters | Audience, demographic, company, education, job, interests: targeted or excluded | — | ✅ (EU) |
Every row also has searchTerm, searchBy, searchCountry, detailsIncluded, euData and scrapedAt.
(EU): LinkedIn publishes dates, impressions and targeting for ads shown in the European Union. For other ads these fields are empty (euData: false); advertiser, payer, format, text and CTA are still returned.
- Impressions are ranges and shares published by LinkedIn (for example
50k-100k,33%); a share shown as "less than 1%" is returned assharePercent: 0.5. adTextTruncatedtells you whetheradTextis the shortened search-result text or the full text.- Image links are the links published by LinkedIn.
How much does it cost?
You pay only for results. Platform usage is included.
| What you get | Free and Starter plans | Scale plan | Business plan and above |
|---|---|---|---|
| Ads only (details off), per 1,000 ads | $0.50 | $0.45 | $0.40 |
| Ads with full details (default), per 1,000 ads | $1.30 | $1.05 | $0.90 |
For example, 100 ads with full details cost $0.13 on the free plan. Prices are per result with platform usage included; the exact price for your plan is shown on the pricing tab.
- Duplicate ads are removed and not charged.
- Details are charged only when they were actually obtained for that ad.
- An ad requested by ID whose details cannot be read is not charged.
- Set a maximum cost per run in Apify Console and the run stops when it is reached.
Benchmark on the same search
Same input, same day (6 November 2026): advertiser hubspot, 30 ads with details, free Apify plan.
| This Actor | Popular alternative | |
|---|---|---|
| Ads with details | 30 / 30 | 30 / 30 (free plan capped at 30) |
| Landing page | ✅ with UTM parameters | ✅ without UTM parameters |
| Price paid | $0.039 | $0.045 |
| Run time | 2 min 24 s | 18 s |
The alternative is faster on small runs; this Actor is cheaper, has no free-plan cap and returns UTM parameters, media and the full targeting lists.
Measured on real searches
Runs from 6 November 2026, default settings:
| Search | Result | Run time |
|---|---|---|
hubspot, 100 ads with details | 100 / 100 with details, 56 with EU impressions and targeting | 6 min 51 s |
keyword crm, Germany, 50 ads with details | 50 / 50 with details, 26 advertisers | 3 min 17 s |
salesforce, 500 ads without details | 500 / 500 | 2 min 43 s |
hubspot, 10 ads with details (example input) | 10 / 10 with details | about 1 min |
Results depend on the search and on how busy the LinkedIn Ad Library is. Re-run your own search with 10 ads to check output and cost before larger runs.
How to use it
- Choose Search ads or Get ads by ID or URL.
- For search, enter companies, keywords or LinkedIn Ad Library search URLs and choose Search by. For specific ads, open Specific ads, paste IDs or detail URLs, and keep full details enabled.
- Set maximum ads per search and choose full details: on Free, $1.30 per 1,000 ads with details, or $0.50 without details, platform usage included. Paid-plan discounts appear in Pricing.
- For search, optionally open Search filters for country, dates, ad formats and impressions. Search URLs already contain their country and date filters. For custom dates choose Any time in Date range.
- Click Start. Open Ads overview, Impressions and targeting, or Creatives, landing pages and UTM, then export to JSON, CSV or Excel.
The Actor checks incompatible settings before collecting ads: reversed date or impression ranges, search filters in specific-ad mode, and specific ad IDs with details disabled. Each ad is delivered and charged once per run, including when several searches find the same ad.
Existing tasks and API calls can omit mode; Automatic preserves their input selection. Use "mode": "search" or "mode": "adIds" for an explicit choice.
Tips for large searches
- For thousands of ads, run without details first (fast and cheap), then choose Get ads by ID or URL and put the selected IDs in Specific ads to get their details.
- Use country and dates to focus on the ads that matter and get faster runs.
- Searching a brand returns partners whose name contains it too. Turn on Only this exact advertiser to keep only the brand itself.
Input example
{
"mode": "search",
"searchTerms": ["hubspot"],
"searchBy": "advertiser",
"country": "",
"maxAdsPerSearch": 10,
"includeDetails": true
}
Get specific ads
{
"mode": "adIds",
"adIds": ["1672927376"],
"includeDetails": true
}
Replace the example ID with the ads you want to retrieve. Search filters apply to search mode only.
Output example
Real result with details, shortened:
{
"adId": "1672927376",
"adUrl": "https://www.linkedin.com/ad-library/detail/1672927376",
"advertiserName": "Systony - HubSpot Elite Partner",
"advertiserUrl": "https://www.linkedin.com/company/1130063",
"advertiserCompanyId": "1130063",
"paidBy": "Systony",
"format": "single-image",
"formatLabel": "Single Image Ad",
"adText": "PHP-pijn gehad? Voorkom dat het nog eens gebeurt. Met HubSpot CMS heb je geen PHP-updates...",
"headline": "Geen PHP, geen zorgen: ontdek HubSpot CMS",
"ctaText": "Learn more",
"firstShown": "2026-11-04",
"lastShown": "2026-11-04",
"totalImpressions": "1k-5k",
"totalImpressionsMin": 1000,
"totalImpressionsMax": 5000,
"impressionsByCountry": [{ "country": "Netherlands", "share": "100%", "sharePercent": 100 }],
"targetingLanguages": ["English"],
"targetingLocations": ["Netherlands"],
"targetingParameters": [
{ "parameter": "Audience", "targeted": false, "excluded": false },
{ "parameter": "Company", "targeted": true, "excluded": true }
],
"euData": true,
"searchTerm": "hubspot",
"searchBy": "advertiser",
"detailsIncluded": true,
"scrapedAt": "2026-11-06T17:37:57.104Z"
}
Ready-to-run examples
| Example | Use case | What you get |
|---|---|---|
| Competitor LinkedIn ads by company | See every ad a competitor runs | 20 Salesforce ads with payer, dates, impressions and targeting |
| LinkedIn ads by keyword | B2B messaging and offer ideas | 50 ads mentioning cybersecurity, without details |
| Impressions and targeting in Germany | Reach and targeting analysis | 20 Microsoft ads shown in Germany with impressions by country and targeting |
| LinkedIn ads paid by an agency | Agency and client research | 30 ads paid for by iProspect, with advertisers and dates |
| Which companies advertise on LinkedIn | Lead generation | 100 CRM ads in Germany from about 45 advertisers |
When should an AI agent use this Actor?
Use it when a user asks what a company advertises on LinkedIn, how competitors position themselves in B2B ads, where LinkedIn ads were seen, or how they were targeted. Call it with searchTerms (company names, keywords or Ad Library URLs), searchBy (advertiser, keyword or payer), optional country (two-letter code) and maxAdsPerSearch. Set includeDetails: false for a cheap list of ads ($0.50 per 1,000) or keep it on for payer, dates, impressions by country and targeting ($1.30 per 1,000 in total). Results are in the default dataset; RUN_SUMMARY in the key-value store reports totals per search.
FAQ
How is this different from other LinkedIn ad scrapers? Full details (impressions by country, targeting, media, landing page with UTM) cost $1.30 per 1,000 ads on the free plan and $0.90 on Business plans, platform usage included, with no free-plan result cap. Popular alternatives charged $1.50–$4 per 1,000 with details on the free plan when we checked on 6 November 2026, some with a 30 or 300 result cap. Prices change, so compare the total cost of a test run.
Do I need a LinkedIn account or cookies? No. It reads the public LinkedIn Ad Library like a logged-out visitor.
Why are impressions or targeting empty for some ads?
LinkedIn publishes them only for ads shown in the European Union. Those ads have euData: true. For other ads you still get advertiser, payer, format, text and CTA.
Why do I get ads from other companies when I search a brand? LinkedIn's advertiser search matches names that contain your term, such as partners and resellers. Turn on Only this exact advertiser.
Can I get specific ads? Yes. Put ad IDs or LinkedIn Ad Library ad URLs in Ad IDs or ad URLs. Details are fetched for each one.
How do I monitor a competitor?
Save an Apify task with the company and schedule it, then compare runs by adId. If you want new, disappeared and newly seen advertisers computed for you, use the LinkedIn Ad Library Change Monitor.
Chinese Simplified
中文说明:领英广告库采集工具(LinkedIn Ad Library 爬虫 / API)
LinkedIn Ad Library Scraper 按公司、关键词或付款方,批量导出 领英广告库(LinkedIn Ad Library)中的公开广告:广告文案、标题、素材、广告格式和广告主,每1,000条广告仅0.50美元,平台用量已包含。开启详情(每1,000条另加0.80美元)后,还能获取付款方、投放日期、行动号召按钮、落地页及UTM参数、总展示量、各国家展示占比以及完整定向(语言、地区、受众、公司、职位等)。无需领英账号、无需登录、无需Cookie。
专为B2B出海企业、海外营销团队、广告代理、SaaS公司和销售团队打造:看清海外竞品在LinkedIn上推什么信息和优惠、广告投放到哪些国家、定向哪些人群。
为什么选择这款领英广告采集工具?
- 完整详情,价格全包:每1,000条广告0.50美元,含完整详情1.30美元,平台费用已包含,没有启动费。Apify商店中的热门LinkedIn广告采集工具每1,000条收费1至5美元。
- 按国家的展示占比:不只是总数,还返回每个国家的展示占比,以及可排序的展示量数字。
- 落地页和UTM参数:获取广告落地页、域名和UTM参数(source、medium、campaign等),看清竞品把流量引向哪里、如何命名广告活动。
- 所有广告格式及素材:视频文件和封面、文档广告的标题、页数和链接、轮播卡片、站内信广告的发送人和全文、广告主Logo。
- 免费套餐不限结果数量:部分同类工具在免费套餐只给30或300条,这里要多少条就给多少条,价格不变。
- 可分析的定向数据:定向和排除的语言、地区(含隐藏的完整列表),以及使用或排除的受众、人口属性、公司、教育、职位、兴趣等定向参数。
- 只为有效数据付费:重复广告免费,详情只有成功获取时才计费。
同一搜索实测对比
2026年11月6日,广告主 hubspot、30条含详情的广告、Apify免费套餐:
| 本工具 | 热门替代工具 | |
|---|---|---|
| 含详情的广告 | 30 / 30 | 30 / 30(免费套餐上限30条) |
| 落地页 | ✅ 含UTM参数 | ✅ 不含UTM参数 |
| 实付费用 | 0.039美元 | 0.045美元 |
适用场景
- B2B出海竞品研究:导出海外竞品在LinkedIn上的全部广告,含完整文案、标题、素材、行动号召和投放日期。
- 海外营销文案参考:搜索
crm、cybersecurity、webinar等关键词,看海外公司如何定位产品和设计优惠。 - 目标市场分析:广告投放到哪些国家,展示量如何分布。
- 定向策略分析:竞品选择或排除了哪些语言、地区和受众条件。
- 销售线索挖掘:找出某个领域在LinkedIn上投放广告的公司,以及为其付费的代理机构。
- 定时监控:每周运行同一搜索,按
adId对比结果。
可以获取哪些数据?
- 广告(0.50美元/1,000条):广告ID和链接、广告主名称、广告格式(单图、视频、轮播、文档、活动、站内信、文字等)、广告文案、标题、素材图片。
- 详情(另加0.80美元/1,000条):广告主公司主页和ID、付款方、行动号召按钮、落地页、落地域名和UTM参数、视频文件和封面、文档标题与页数、轮播卡片、站内信发送人和全文、广告主Logo、文案中的链接。
- 欧盟投放的广告还包括:投放天数和是否在投、首次和最后展示日期、总展示量区间、各国家展示占比、定向和排除的语言与地区、受众、人口属性、公司、教育、职位、兴趣等定向参数。
价格
按结果付费,平台用量已包含:
| 每1,000条广告 | 免费和Starter套餐 | Scale套餐 | Business及以上 |
|---|---|---|---|
| 仅广告(关闭详情) | 0.50美元 | 0.45美元 | 0.40美元 |
| 广告 + 完整详情(默认) | 1.30美元 | 1.05美元 | 0.90美元 |
例如,100条含完整详情的广告在免费套餐只需0.13美元。可在Apify控制台设置每次运行的最高费用,达到后自动停止。
使用方法
- 输入一个或多个公司名、关键词或领英广告库搜索链接,每行一个。
- 选择搜索方式:广告主(公司)、关键词或付款方。
- 可选:选择国家、日期范围、广告格式或展示量区间。
- 设置每次搜索的最大广告数,建议先用10条查看结果。
- 点击 Start,完成后导出为JSON、CSV、Excel,或通过API获取。
搜索品牌时,名称中包含该品牌的合作伙伴也会出现;开启 Only this exact advertiser 即可只保留品牌本身。
{
"searchTerms": ["Alibaba Cloud"],
"searchBy": "advertiser",
"maxAdsPerSearch": 20,
"includeDetails": true
}
一键运行中文示例: 领英广告库:阿里云的海外B2B广告(上面的输入已保存为示例任务,打开即可运行)。
常见问题
需要领英账号或Cookie吗? 不需要。工具像普通访客一样读取公开的领英广告库。
能看到竞品广告的落地页吗? 可以。开启详情后返回落地页链接、域名和UTM参数(领英公开链接时)。
能看到广告投放到哪些国家吗? 可以。欧盟投放的广告会返回每个国家的展示占比、总展示量和定向设置。
可以通过API、自动化工具或AI智能体调用吗? 可以。支持Apify API、Python和Node.js客户端,以及n8n、Make、Zapier等自动化工具;也可以通过Apify MCP服务器作为AI智能体的工具使用。
如何监控竞品的新广告?
将公司保存为Apify任务并设置定时运行,按 adId 对比;如需直接查看新增和下线的广告,可使用下方的领英广告库变化监控工具。
中文说明会翻译采集到的数据吗? 不会。中文说明只是使用文档;采集到的数据保持来源的原始语言(广告文案按发布时的原文呈现)。
其他广告情报工具
- Google广告采集工具(Google广告透明度中心):按域名或品牌查看竞品在Google搜索、YouTube和Google购物上的广告。
- TikTok广告库采集工具:按品牌或关键词导出TikTok广告,含覆盖量和定向。
- 微软/必应广告库采集工具:竞品在必应上的搜索广告、落地页和UTM参数。
- 领英广告库变化监控:收集公司的领英广告,并查看每次运行之间的变化。
- Facebook评论采集工具:导出竞品Facebook帖子、Reels和视频广告下的评论与回复,每1,000条0.18美元。
- Instagram评论采集工具:导出竞品Instagram帖子和Reels下的评论,了解海外用户真实反馈,每1,000条0.18美元。
Chinese Traditional
中文說明(繁體):LinkedIn廣告資料庫擷取工具(LinkedIn Ad Library 爬蟲 / API)
LinkedIn Ad Library Scraper 依公司、關鍵字或付款方,從公開的 LinkedIn廣告資料庫 匯出廣告文案、標題、素材、格式與廣告主,每1,000則廣告0.50美元,平台用量已包含。開啟詳細資料(另加0.80美元)可取得付款方、投放日期、到達網頁與UTM參數、各國曝光占比及目標設定。不需要帳號,也不必登入。
為什麼選擇這款LinkedIn廣告爬蟲?
- 費用全包:含完整詳細資料每1,000則1.30美元,沒有啟動費。
- 各國曝光占比:不只總數,還有每個國家的占比。
- 到達網頁與UTM參數:看清競品把流量導向哪裡、廣告活動如何命名。
- 只為有效資料付費:重複廣告免費,免費方案也不限結果數量。
適用場景
- B2B競品分析:匯出競爭對手在LinkedIn上的廣告、文案與行動呼籲。
- 品牌行銷文案參考:搜尋
crm、webinar等關鍵字,看海外公司如何定位產品。 - 目標設定分析:競品選擇或排除了哪些語言、地區與受眾。
- 廣告監測:每週執行同一個搜尋,依
adId比對結果。
使用方法
- 輸入公司名稱、關鍵字或搜尋連結,每行一個,並選擇搜尋方式。
- 選填國家、日期範圍或廣告格式,設定每次搜尋的最大廣告數(建議先用10則)。
- 點擊 Start,匯出JSON、CSV、Excel或透過API取得。只要品牌本身時,開啟 Only this exact advertiser。
{
"searchTerms": ["Alibaba Cloud"],
"searchBy": "advertiser",
"maxAdsPerSearch": 20,
"includeDetails": true
}
價格
| 每1,000則廣告 | 免費與Starter | Scale | Business以上 |
|---|---|---|---|
| 僅廣告 | 0.50美元 | 0.45美元 | 0.40美元 |
| 含完整詳細資料(預設) | 1.30美元 | 1.05美元 | 0.90美元 |
常見問題
需要LinkedIn帳號或Cookie嗎? 不需要,工具就像一般訪客一樣讀取公開資料庫。
能看到廣告投放到哪些國家嗎? 可以。在歐盟投放的廣告會回傳各國曝光占比與目標設定。
中文說明會翻譯擷取到的資料嗎? 不會。說明是中文,資料保留來源的原始語言(廣告文案以刊登時的語言呈現)。
Related ad research tools
- LinkedIn Jobs Scraper: LinkedIn job postings by keyword and location, with applicants, seniority, salary and the companies that are hiring. From $0.40 per 1,000 jobs.
- Microsoft Ads Library Scraper: Bing ads by keyword, advertiser or website domain, with landing pages, UTM parameters, impressions by country and targeting. From $0.50 per 1,000 ads.
- TikTok Ads Library Scraper: TikTok ads by brand or keyword, with reach by country, age and gender, and targeting. From $0.29 per 1,000 ads.
- Google Ads Scraper — Transparency Center: a competitor's Google Search, YouTube and Shopping ads by domain or brand, with reach by country and platform. From $0.40 per 1,000 ads.
- LinkedIn Ad Library Change Monitor: new and disappeared LinkedIn ads and new advertisers between scheduled runs.
- Google Ads Domain Checker: check whether a website advertises on Google.
More tools for marketers
- Facebook Comments Scraper | Cheapest $0.18/1K: export comments and replies under competitors' Facebook posts, reels and video ads to see how audiences react.
- Instagram Comments Scraper | Cheapest $0.18/1K: export comments under competitors' Instagram posts and reels to see how audiences react, with authors, likes and post details.
- Website SEO Audit & Contact Scraper: audit the landing pages your competitors advertise, with SEO issues and contact details.
- Google Shopping Price Tracker & Seller Monitor: track competitor prices and sellers on Google Shopping.
- Google Trends Scraper — Keyword History API: check the search interest behind the keywords competitors bid on.
- Affiliate Program Finder & Commission Checker: find affiliate programs and commissions in your niche.
These are separate Actors and are never called by this one.
输入模式与结果视图
选择 Search ads 搜索公司、关键词或广告库搜索链接;选择 Get ads by ID or URL 后,在 Specific ads 中输入广告 ID 或详情链接,并开启完整详情。Free 套餐每 1,000 条含详情广告合计 1.30 美元,不含详情为 0.50 美元,已含平台费用。搜索筛选条件仅用于搜索模式;自定义日期请将 Date range 设为 Any time。系统会在采集前检查冲突条件。同一广告在一次运行中仅保存和计费一次。Creatives, landing pages and UTM 视图集中展示素材、落地页和 UTM。
輸入模式與結果檢視
選擇 Search ads 搜尋公司、關鍵字或廣告資料庫搜尋連結;選擇 Get ads by ID or URL 後,在 Specific ads 輸入廣告 ID 或詳細資料連結,並開啟完整詳細資料。Free 方案每 1,000 則含詳細資料廣告合計 1.30 美元,不含詳細資料為 0.50 美元,已含平台費用。搜尋篩選條件僅適用於搜尋模式;自訂日期請將 Date range 設為 Any time。系統會在收集前檢查衝突條件。同一廣告每次執行僅儲存與計費一次。Creatives, landing pages and UTM 檢視集中呈現素材、到達網頁與 UTM。
Actor input Schema
mode (type: string):
Choose Search ads for companies, keywords or search URLs, or Get ads by ID or URL for specific ads. Automatic keeps existing API calls and saved tasks compatible.
searchTerms (type: array):
For Search ads: one company, keyword, payer or LinkedIn Ad Library search URL per line. Search URLs carry their own country and date filters.
searchBy (type: string):
Advertiser (company name), keyword in the ad, or the entity that paid for the ad.
maxAdsPerSearch (type: integer):
Ads to return for each company, keyword or URL. Start with 10 to check the output.
includeDetails (type: boolean):
Free plan: $0.50 per 1,000 ads plus $0.80 per 1,000 successful details, total $1.30. With details off: $0.50 per 1,000 ads. Platform usage included; paid-plan discounts are shown in Pricing. Adds payer, dates, creative media, landing page, UTM, impressions and targeting where published. Required for Get ads by ID or URL.
adIds (type: array):
One LinkedIn Ad Library ad ID or detail URL per line. Every supplied value must identify an ad.
country (type: string):
Only ads shown in this country. Leave on All countries for every ad.
dateRange (type: string):
Choose a period, or use custom Shown from / Shown until dates in Search filters. Use Any time when entering custom dates.
exactAdvertiser (type: boolean):
LinkedIn also returns ads of advertisers whose name contains your term (for example partners). Turn on to keep only the advertiser whose name matches exactly. Applies to Search by advertiser.
adFormats (type: array):
Only these formats. Leave empty for all formats.
impressionsMin (type: integer):
Only ads with at least this many impressions (LinkedIn's own filter, for ads shown in the EU and Brazil). For example 10000.
impressionsMax (type: integer):
Only ads with at most this many impressions (EU and Brazil). For example 1000000.
dateFrom (type: string):
Custom start date (YYYY-MM-DD).
dateTo (type: string):
Custom end date (YYYY-MM-DD).
Actor input object example
{
"mode": "search",
"searchTerms": [
"hubspot"
],
"searchBy": "advertiser",
"maxAdsPerSearch": 10,
"includeDetails": true,
"country": "",
"dateRange": "",
"exactAdvertiser": false
}
Actor output Schema
ads (type: string):
One row per unique LinkedIn ad, with payer, dates, landing page and media when details are on.
reach (type: string):
Total impressions, impressions by country and targeting per ad (ads shown in the EU).
summary (type: string):
Searches, totals reported by LinkedIn, ads delivered and details obtained.
API
You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.
JavaScript example
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {
"mode": "search",
"searchTerms": [
"hubspot"
],
"searchBy": "advertiser",
"maxAdsPerSearch": 10,
"includeDetails": true,
"country": "",
"dateRange": "",
"exactAdvertiser": false
};
// Run the Actor and wait for it to finish
const run = await client.actor("monkey.d.scraping/linkedin-ad-library-scraper").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Python example
from apify_client import ApifyClient
# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input = {
"mode": "search",
"searchTerms": ["hubspot"],
"searchBy": "advertiser",
"maxAdsPerSearch": 10,
"includeDetails": True,
"country": "",
"dateRange": "",
"exactAdvertiser": False,
}
# Run the Actor and wait for it to finish
run = client.actor("monkey.d.scraping/linkedin-ad-library-scraper").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
CLI example
echo '{
"mode": "search",
"searchTerms": [
"hubspot"
],
"searchBy": "advertiser",
"maxAdsPerSearch": 10,
"includeDetails": true,
"country": "",
"dateRange": "",
"exactAdvertiser": false
}' |
apify call monkey.d.scraping/linkedin-ad-library-scraper --silent --output-dataset
MCP server setup
{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,monkey.d.scraping/linkedin-ad-library-scraper"
}
}
}
The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an Authorization: Bearer <APIFY_API_TOKEN> header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).
OpenAPI specification
Download the OpenAPI definition: https://api.apify.com/v2/actors/mxrR6LpjdU3gsXRhZ/builds/g3R6bKpuGos0bnYW2/openapi.json