LinkedIn Ad Library Scraper
Pricing
from $0.60 / 1,000 ad scrapeds
LinkedIn Ad Library Scraper
Scrape LinkedIn Ad Library ads by advertiser, keyword or payer. Every result page with full details: ad copy, images, video URLs, CTAs, payer, run dates and impressions by country. Filter by countries, dates and format. No login. From $0.001 per ad.
Pricing
from $0.60 / 1,000 ad scrapeds
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
133
Total users
14
Monthly active users
7 hours ago
Last modified
Features
Share
Extract LinkedIn ads with full details: ad copy, headlines, images and video URLs, CTAs, advertiser and payer, run dates, total impressions and impressions by country. Search by advertiser, keyword or payer. No login, cookies or API key.
What does it do?
LinkedIn Ad Library Scraper pulls publicly available ad data from LinkedIn's Ad Library, the transparency tool that shows every ad a company runs on LinkedIn. It is the B2B/LinkedIn source in a cross-channel ad monitoring workflow with Google Ads Transparency Center and Meta/Facebook Ad Library data.
Search the way LinkedIn's own Ad Library does, and get every page of results, not just the first:
- 🏢 Advertiser — every ad from a company (
searchQueryor company URLs) - 🔤 Keyword — every ad whose text mentions a word, across all advertisers
- 💳 Paid for by — every ad an agency or payer funded
- 🧭 Search URLs — paste a filtered Ad Library search from your browser
- 📄 Ad URLs — full details for single ads
Each ad comes with full details from its detail page:
- 📝 Ad copy — headline and full body text
- 🖼 Creatives — image URL, video (MP4) URL, carousel cards
- 🔗 Call to action — CTA label and destination URL
- 💰 Advertiser and payer — company name, LinkedIn URL and the entity that paid
- 📅 Run dates and status — first and last day shown, active or inactive
- 📊 Impressions — total impressions range and share by country
LinkedIn publishes run dates, impressions and countries only for ads shown in the EU and Brazil. For other ads those fields are null; add an EU country such as DE or FR to the Countries filter to get them.
The scraper uses direct HTTP requests and HTML parsing, with no headless browser. It is fast, cheap and runs at 256 MB memory.
Automated market research workflow on Apify
Use this actor as one source in a broader competitor-intelligence and market-research workflow:
- Monitor ads and messaging with Google Ads Scraper, Google Ads Transparency Center Scraper, and LinkedIn Ad Library Scraper.
- Track reviews and sentiment with G2 Reviews & Products Scraper, Trustpilot Reviews Scraper, and Amazon Reviews Scraper.
- Watch demand and category trends with Google Trends Scraper, Google News Scraper, and TikTok Trends Scraper.
- Benchmark ecommerce pricing and products with Amazon Scraper, Google Shopping Scraper, and Shopify Store Scraper.
- Map companies to people with LinkedIn Company Employees Scraper when you need account or team context.
Schedule runs, export datasets to CSV/Excel/JSON, or connect the outputs to Google Sheets, webhooks, Make, Zapier, BI tools, and LLM reporting workflows.
Webinar prospecting workflow: find companies advertising webinars
Use this actor as the discovery step in a webinar-prospecting workflow for B2B sales, field marketing, webinar platforms, event agencies, and demand-gen teams.
- Search webinar-intent keywords in the Keyword field of LinkedIn Ad Library Scraper:
webinar,webinar series,on-demand webinar,live demo,fireside chat,virtual event, andvirtual roundtable. - Export advertiser companies and ad copy so you can deduplicate companies, keep the
advertiserName,advertiserLinkedInUrl,headline,bodyText,ctaUrl, anddetailUrl, and summarize the advertised webinar topic/date. - Find likely owners with LinkedIn Company Employees Scraper. Run the deduplicated company URLs/slugs and filter people by titles such as
Field Marketing,Events,Webinar,Demand Generation,Growth Marketing, andMarketing Programs. - Enrich and verify before outreach with LinkedIn Company Scraper, Website Contact Finder, Bulk Email MX Verifier, or your CRM.
This workflow is based on Apify's Sponja case study: seven webinar-related LinkedIn Ad Library searches found 897 US companies advertising webinars; employee scraping across 36 priority accounts surfaced 1,264 event-marketing prospects and 244 likely webinar owners, with total actor spend under $20. Treat those numbers as one real workflow example, not a guaranteed result for every market.
Who is it for?
🏆 Competitive Intelligence Teams
Monitor which ads your direct competitors are running. See their messaging, offers, and visuals without needing a LinkedIn account or paying for premium tools.
📣 Performance Marketers & Creative Teams
Analyze high-performing ad copy patterns across your industry. Identify CTA formulas, headline structures, and visual styles that resonate with B2B buyers on LinkedIn.
🕵️ Market Researchers & Consultants
Audit a client's advertising presence or benchmark an industry. Pull ads from multiple company URLs in a single run.
🤖 Marketing Automation Engineers
Feed ad data into content pipelines, CRM systems, or AI workflows using the Apify API or native n8n/Make/Zapier integrations.
Why use this scraper?
- ✅ All result pages — follows LinkedIn's own pagination, up to 5,000 ads per run
- ✅ Search by advertiser, keyword or payer, or paste search and ad URLs
- ✅ Full details on every ad at one price — no separate "with details" fee
- ✅ Up to 3× cheaper than the most-used LinkedIn ad scraper with details ($0.001 vs $0.003 per ad on the Bronze plan)
- ✅ Filters — multiple countries, date presets or a custom date range, ad format, newest or oldest first
- ✅ No login required — LinkedIn Ad Library is public
- ✅ Lightweight — HTTP only, 256 MB memory, no browser
Scraped data fields
| Field | Description | Example |
|---|---|---|
adId | Unique LinkedIn ad identifier | 1639157164 |
advertiserName | Company running the ad | Microsoft |
advertiserLinkedInUrl | LinkedIn company page URL | https://www.linkedin.com/company/1035 |
advertiserCompanyId | LinkedIn company ID (or URL name) | 1035 |
adFormat | Ad format | Single Image Ad, Video Ad, Document Ad |
headline | Ad headline | Make your AI investment the business case |
bodyText | Full ad text | Adopting AI gets attention... |
ctaLabel | Call-to-action button label | Learn more |
ctaUrl | CTA destination URL | https://www.microsoft.com/... |
mediaUrl | Image or video thumbnail URL | https://media.licdn.com/... |
videoUrl | MP4 URL of a video ad | https://dms.licdn.com/playlist/vid/... |
videoDuration | Not published by LinkedIn's public page; usually null | null |
carouselCards | Cards of a carousel ad (headline, image, link) | [...] |
startDate / endDate | First and last day the ad ran (EU and Brazil ads) | Nov 3, 2026 / Nov 18, 2026 |
activeStatus | Active or Inactive | Active |
countries | Countries where the ad was shown (EU and Brazil ads) | ["Germany", "Austria"] |
totalImpressions | Total impressions range (EU and Brazil ads) | 10k-50k |
impressionsByCountry | Share of impressions by country | {"Germany": "88%"} |
fundingEntityName | Who paid for the ad | Microsoft Corporation |
searchQuery | The advertiser, keyword or URL that found the ad | Microsoft |
detailUrl | Ad detail page | https://www.linkedin.com/ad-library/detail/... |
scrapedAt | When the ad was scraped (UTC) | 2026-11-19T12:00:00Z |
How much does it cost to scrape LinkedIn ads?
Pricing is pay per result: you pay a small start fee and then only for ads saved to your dataset. A run with bad input costs nothing.
| Plan | Start fee (once per run) | Per ad |
|---|---|---|
| FREE | $0.005 | $0.00115 |
| BRONZE | $0.005 | $0.001 |
| SILVER | $0.005 | $0.00078 |
| GOLD | $0.005 | $0.0006 |
| PLATINUM | $0.005 | $0.0004 |
| DIAMOND | $0.005 | $0.00028 |
From December 4, 2026 the plan prices per ad will be: FREE $0.001, BRONZE $0.001 (unchanged), SILVER $0.0009, GOLD and above $0.0008. The start fee stays $0.005.
Every ad includes its detail-page fields; there is no extra charge for details. Ads skipped by the Ad format filter are not charged. Set Maximum cost per run in the run options to cap spending; the run stops cleanly at that limit.
How to use
Step 1 — Choose what to search
- Advertiser name:
Salesforce,HubSpot(LinkedIn also matches similar advertiser names) - Keyword: words in the ad text, such as
webinarorAI agents - Paid for by: an agency or payer name
- Advertiser URLs: LinkedIn company pages, one per line (when given, they take priority over the advertiser name)
- Ad Library search URLs: set filters on linkedin.com/ad-library/search (including impressions range) and paste the URL
- Ad URLs: single ad pages for full details
Keyword and payer combine with each advertiser, for example HubSpot ads that mention webinar.
Step 2 — Set limits and filters (optional)
- Max ads (total) and Max ads per search (so one big advertiser does not take the whole run)
- Countries: two-letter codes such as
US,DE,GB - Date range: yesterday, past week, last 30 days, this month, this year, last year, or a custom start and end date. LinkedIn keeps about one year of ads.
- Ad format: image, video, document, carousel, event, text, dynamic or message ads
- Sort order: newest or oldest first
Step 3 — Run and collect data
Click Start. Ads appear in the Dataset tab as they are saved; export them as CSV, Excel, JSON or JSONL. The run's status line says how many ads were saved against your limit and why it stopped.
Input reference
| Field | Type | Default | Description |
|---|---|---|---|
searchQuery | string | — | Advertiser name |
keyword | string | — | Words in the ad text |
payer | string | — | Paid-for-by name |
advertiserUrls | array | [] | LinkedIn company page URLs |
searchUrls | array | [] | LinkedIn Ad Library search URLs |
adUrls | array | [] | LinkedIn ad detail URLs |
maxAds | integer | 50 | Ads to save in total (1–5,000) |
maxAdsPerQuery | integer | 0 | Ads per search; 0 = no per-search limit |
countryCodes | array | [] | Two-letter country codes |
dateRange | string | all-time | all-time, past-day, past-week, past-month, current-month, current-year, past-year, custom |
startDate, endDate | string | — | YYYY-MM-DD, for custom |
adFormat | string | all | all, SPONSORED_UPDATES, IMAGE, VIDEO, DOCUMENT, CAROUSEL, EVENT, TEXT_ADS, DYNAMIC_ADS, MESSAGE |
sortBy | string | RECENT | RECENT (newest first) or OLDEST. MOST_CLICKS is accepted for older inputs and sorts newest first. |
countryCode | string | — | One country code (older inputs; use countryCodes) |
maxRequestRetries | integer | 2 | Attempts per LinkedIn page |
At least one of searchQuery, keyword, payer, advertiserUrls, searchUrls or adUrls is required.
Output example
{"adId": "1639157164","advertiserName": "Microsoft","advertiserLinkedInUrl": "https://www.linkedin.com/company/1035","advertiserCompanyId": "1035","adFormat": "Single Image Ad","headline": "Machen Sie Ihre KI-Investition zum Business Case für die Skalierung","bodyText": "Die Einführung von KI sorgt für Aufmerksamkeit. Messbarer Geschäftswert sichert die nächste Investitionsrunde...","ctaLabel": "Mehr erfahren","ctaUrl": "https://marketingassets.microsoft.com/...","mediaUrl": "https://media.licdn.com/dms/image/v2/...","videoUrl": null,"startDate": "Nov 3, 2026","endDate": "Nov 18, 2026","activeStatus": "Inactive","countries": ["Germany"],"totalImpressions": "1k-5k","impressionsByCountry": { "Germany": "100%" },"fundingEntityName": "Microsoft Corporation","searchQuery": "Microsoft","detailUrl": "https://www.linkedin.com/ad-library/detail/1639157164","scrapedAt": "2026-11-19T12:00:00.000Z"}
Country, date and impression fields use the values LinkedIn displays. They are null when LinkedIn does not disclose them for an ad.
Tips for best results
Get every ad from an advertiser
Set Max ads high (for example 1,000). The scraper follows LinkedIn's pages until the advertiser has no more ads or the limit is reached. Raise the run Timeout for very large runs.
Batch multiple competitors
Add competitor company URLs to Advertiser URLs and set Max ads per search so each competitor gets its share.
Track new campaigns
Schedule a daily run with Date range Yesterday or a weekly one with Past week.
Get impressions and run dates
Add an EU country such as DE, FR or NL to Countries. LinkedIn discloses dates and impressions only for ads shown in the EU and Brazil.
Exporting to Google Sheets
Use Apify's Google Sheets integration to push scraped ads into a spreadsheet for team sharing.
Integrations
n8n workflow: Competitor ad monitoring
- Schedule this scraper weekly via n8n HTTP node
- For cross-channel coverage, run Google Ads Scraper and Facebook Ads Library Scraper on the same competitor list
- Push results to a Notion database or Airtable
- Trigger Slack notification when new ads appear from key competitors
Make (Integromat): Creative analysis pipeline
- Run scraper → collect
mediaUrl+headline+bodyText - Send to OpenAI GPT-4 for categorization (promotional/brand/event/product)
- Save to Google Sheets with category tags
Zapier: CRM enrichment
- Trigger on new Salesforce competitor account
- Run this scraper on their LinkedIn URL
- Create a "competitor ad" record in HubSpot with ad copy and creative URL
API usage
Run this scraper programmatically using the Apify API:
Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('automation-lab/linkedin-ad-library-scraper').call({searchQuery: 'HubSpot',maxAds: 100,dateRange: 'past-month',countryCodes: ['DE', 'FR'],});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(`Scraped ${items.length} ads`);items.forEach(ad => {console.log(`${ad.advertiserName}: ${ad.headline}`);});
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("automation-lab/linkedin-ad-library-scraper").call(run_input={"advertiserUrls": ["https://www.linkedin.com/company/salesforce","https://www.linkedin.com/company/hubspot",],"keyword": "webinar","maxAds": 200,"maxAdsPerQuery": 100,"dateRange": "past-month",})dataset = client.dataset(run["defaultDatasetId"])for item in dataset.iterate_items():print(f"{item['advertiserName']}: {item['headline']}")
cURL
curl -s -X POST \"https://api.apify.com/v2/acts/automation-lab~linkedin-ad-library-scraper/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"keyword": "webinar","countryCodes": ["US"],"maxAds": 100,"dateRange": "past-month"}' | jq '.data.id'
Use with Claude (MCP)
Connect this scraper to Claude Desktop or Claude Code via the Apify MCP server. This lets Claude run the scraper and analyze results conversationally.
Setup
Claude Code
$claude mcp add --transport http apify "https://mcp.apify.com?tools=automation-lab/linkedin-ad-library-scraper"
Claude Desktop, Cursor, and VS Code
Add this remote server to the MCP configuration in your client:
{"mcpServers": {"apify": {"type": "http","url": "https://mcp.apify.com?tools=automation-lab/linkedin-ad-library-scraper"}}}
Restart the client after saving the configuration. Authenticate with your Apify account when prompted.
Example prompts
"Scrape the last 50 ads from Salesforce on LinkedIn and summarize their key messaging themes."
"Find LinkedIn ads mentioning 'webinar' shown in Germany in the last 30 days and list the advertisers."
"Pull ads from these 5 companies: [URLs] and compare their headline styles."
"Monitor Stripe's LinkedIn ads weekly and alert me when they launch new campaigns."
What Claude can do with the results
- Competitive analysis — Compare messaging themes across multiple advertisers
- Creative briefs — Generate ad copy ideas based on competitor patterns
- Trend reports — Identify shifts in ad format, CTA language, or visual styles over time
- Data enrichment — Cross-reference ad data with other Apify scrapers for richer insights
Legality
LinkedIn's Ad Library is a public transparency tool required by regulations for advertising accountability. Accessing publicly available data for research, competitive intelligence, and analysis is widely accepted.
This scraper:
- Does NOT require a LinkedIn account or login
- Does NOT bypass any authentication or paywalls
- Only accesses the public
/ad-library/URL space - Complies with LinkedIn's transparency program intent
Always use scraped data responsibly and in accordance with your jurisdiction's data protection laws.
FAQ
How many ads can I get per run?
Up to 5,000. The scraper follows LinkedIn's result pages (24 ads each) until the search has no more ads or your limit is reached. For many advertisers, use Max ads per search to share the limit.
Why are impressions, dates or countries empty for some ads?
LinkedIn discloses them only for ads shown in the EU and Brazil. Add an EU country to Countries to get ads that have them.
I searched for a company and got 0 results — why?
- The company has not run ads in the selected date range or countries.
- The advertiser name differs from what you typed; try the company's LinkedIn URL or a keyword.
- LinkedIn keeps about one year of ads.
The run's status line tells you when LinkedIn returned no matching ads; such a run is not charged per ad.
How does it compare with other LinkedIn Ad Library scrapers?
Every ad includes its detail-page fields at $0.001 per ad on the Bronze plan. The most-used alternative charges $0.003 per ad with details on the same plan. We also search by keyword and payer, accept search and ad URLs, and filter by several countries at once.
Can I scrape video ads?
Yes. Video ads include the MP4 videoUrl and a thumbnail mediaUrl.
Does this require a proxy?
The scraper uses Apify Proxy automatically; you don't need to configure anything.
What diagnostics does the scraper send?
Failed operations send sanitized diagnostic input, exceptions and Actor, build and run IDs to our private GlitchTip service so we can repair problems. Secret fields and URL queries are removed, and reports are kept for 30 days.
Related scrapers
- Google Ads Scraper — Scrape Google Ads Transparency Center creatives by advertiser name, domain, advertiser ID, and region
- Facebook Ads Library Scraper — Scrape Meta/Facebook Ad Library ads across Facebook, Instagram, Messenger, and Audience Network
- LinkedIn Jobs Enrichment — Enrich job listings with full details
- LinkedIn Company Scraper — Extract company profiles
Built by automation-lab — professional Apify actors for data teams.
Server API
This Actor is also a Server Actor: copy the server URL from the Server tab and send authenticated HTTP requests (Authorization: Bearer YOUR_APIFY_TOKEN). Answers come back in seconds, without starting a run. Normal runs keep the full input and dataset.
Every answer is JSON: { "ok": true, "count": 2, "results": [ ...ads ] }. Each returned ad is charged as one Ad scraped event; there is no start fee per request, and a request with no ads is free.
GET /ads — search the Ad Library
| Query parameter | Description |
|---|---|
advertiser | Advertiser name |
keyword | Words in the ad text |
payer | Paid-for-by name |
advertiserUrl | LinkedIn company URL(s), comma-separated |
searchUrl | LinkedIn Ad Library search URL(s), comma-separated |
countries | Two-letter codes, comma-separated, e.g. DE,FR |
dateRange, startDate, endDate | As in the run input |
adFormat, sortBy | As in the run input |
maxAds | 1–25, default 10 |
At least one of advertiser, keyword, payer, advertiserUrl or searchUrl is required.
curl -s "$SERVER_URL/ads?advertiser=HubSpot&countries=DE&maxAds=5" \-H "Authorization: Bearer YOUR_APIFY_TOKEN"
GET /ad — one ad by URL
url: a LinkedIn ad URL such as https://www.linkedin.com/ad-library/detail/1634330003.
curl -s "$SERVER_URL/ad?url=https%3A%2F%2Fwww.linkedin.com%2Fad-library%2Fdetail%2F1634330003" \-H "Authorization: Bearer YOUR_APIFY_TOKEN"
Errors
Errors return { "ok": false, "error": { "code", "message", "retryable" } }:
| Status | Code | When |
|---|---|---|
| 400 | INVALID_INPUT | Missing or invalid parameter |
| 402 | SPENDING_LIMIT_REACHED | Your spending limit does not cover the ads |
| 404 | NO_RESULTS | LinkedIn has no matching ads (not charged) |
| 404 | NOT_FOUND | Unknown route |
| 405 | METHOD_NOT_ALLOWED | Wrong HTTP method |
| 413 | REQUEST_TOO_LARGE / RESPONSE_TOO_LARGE | Request or answer over the size limit; lower maxAds |
| 502 | UPSTREAM_ERROR | LinkedIn did not answer; retry |
| 502 | CHARGE_FAILED | The charge could not be made; retry |
| 503 | OVERLOADED / SHUTTING_DOWN | Busy or restarting; retry |
| 504 | TIMEOUT | The request took longer than 60 seconds; lower maxAds |