LinkedIn Ads Scraper
Pricing
from $0.35 / 1,000 results
LinkedIn Ads Scraper
Scrape the LinkedIn Ad Library by keyword, company, advertiser or payer. Get ad text, image or video, landing page with UTM, run dates, plus EU/EEA impressions and targeting. No login. Bulk input, auto proxy fallback. Export JSON, CSV or Excel.
Pricing
from $0.35 / 1,000 results
Rating
0.0
(0)
Developer
Data Minds
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 hours ago
Last modified
Categories
Features
Share
π What is LinkedIn Ads Scraper?
π£ Public LinkedIn ads Β· π¦ Export to JSON, CSV or Excel Β· π API ready Β· π€ Works with AI agents
LinkedIn Ads Scraper collects public ads from the LinkedIn Ad Library and returns one clean row per ad. Enter a keyword, an advertiser name, a payer, a company page or an Ad Library link, press Start, and you get the ad text, headline, creative, call to action and landing page, plus impressions, targeting and run dates for ads shown in the EU and EEA. It is built for marketers, agencies and analysts who want LinkedIn ad data without copying it by hand or logging in.
- π Track competitor ads: see every LinkedIn ad a company runs, newest first, with the exact copy and creative.
- π¬ Research messaging: search a keyword and read how brands pitch the same topic.
- π³ Find who pays for ads: search by payer to see which company funds a campaign, often an agency.
- π Study reach and targeting: read impression ranges, top countries and targeting for EU and EEA ads.
- π Check where ads lead: collect LinkedIn ad landing page URLs, domains and campaign tags.
- π€ Keep it running: schedule runs to follow new LinkedIn ads and send them to your sheet, your app or your AI agent.
π¦ What data can LinkedIn Ads Scraper extract?
Every row in the results table is one ad, and LinkedIn thought leader ads show the person behind the ad in the thought leader fields. The fields are grouped below, and the main ones are described in the Output section. Fields that LinkedIn does not publish for an ad stay empty (null).
| Data | Fields |
|---|---|
| π Ad identity | adId, adUrl, adLibraryUrl, url, format, creativeType, variantCount |
| π Status and run dates | adStatus, isActive, availability, startDate, endDate, durationDays |
| π’ Advertiser | advertiserName, advertiserUrl, advertiserId, advertiserType, advertiserLogo, advertiserHeadline, paidBy |
| π€ Thought leader | thoughtLeader, thoughtLeaderName, thoughtLeaderUrl |
| π Ad copy | headline, body, bodyTruncated, bodyLinks, ctas |
| π Landing page | clickUrl, clickUrlSource, landingDomain, utm, utmCampaign, utmSource, utmMedium |
| π· Creative | imageUrl, carouselSlides, carouselSlideCount, video, videoUrl, document, message, event, article |
| π Impressions | impressions, impressionsLabel, impressionsLow, impressionsHigh, impressionsPerCountry, topCountry |
| π― Targeting | targeting, targetingLanguages, targetingLocations |
| π§ Restrictions | isRestricted, restrictionDetails |
| π₯ Source and status | query, input, startUrl, totalAdsForQuery, searchUrl, detailsFetched, scrapedAt, error, note |
LinkedIn landing links keep their utm parameters in utm, utmCampaign, utmSource and utmMedium, so you can see how a campaign is tagged. LinkedIn carousel, video and document ads come with their slides and file links.
β Note: LinkedIn publishes impressions, targeting and run dates only for ads shown in the EU and EEA. For other ads these fields are
nullandadStatusisUNKNOWN. A landing page link appears only when the ad shows one.
β What can't LinkedIn Ads Scraper extract?
- β Private data behind a login, such as ad spend, conversions or audience lists.
- β Ads that were withdrawn from the library. The row keeps what the search list showed and explains the gap in
error. - β Impressions, targeting and run dates for ads that were not shown in the EU or EEA.
π How to scrape LinkedIn ads
LinkedIn Ads Scraper is designed for an easy start, even if you have never extracted web data before.
- π Create a free Apify account using your email.
- π Open LinkedIn Ads Scraper and go to the Input tab.
- π₯ Add keywords, advertiser names, company pages or Ad Library links, one per line.
- π― Set Max ads per input and, if you like, countries, a date range or the order.
- π Click Start and wait for the run to finish.
- π€ Open the Output tab to view the ads as a table, or download them as JSON, CSV, Excel, XML or HTML.
π Quick start: a good first run is one company page with a limit of 20 ads.
{"queries": ["https://www.linkedin.com/company/hubspot/"],"maxItems": 20}
π° How much does it cost to scrape LinkedIn ads?
LinkedIn Ads Scraper uses a pay per event model, with prices from $0.0018 per ad ($1.80 per 1,000 ads) on the Gold plan. You pay for each ad saved with its result event. Apify platform usage is billed in addition.
| Apify plan | Price per ad | Price per 1,000 ads |
|---|---|---|
| π Free | $0.0025 | $2.50 |
| π₯ Bronze | $0.0023 | $2.30 |
| π₯ Silver | $0.0020 | $2.00 |
| π₯ Gold | $0.0018 | $1.80 |
Each run also has one start event of $0.00005, which covers the default 1 GB of memory. Every saved result is also charged a dataset item event of $0.00001, so the cost per result is the plan price in the table plus $0.00001.
β Good to know: rows for ads that could not be read, for example an ad that was withdrawn, are kept in the results but do not use the result price.
What a run costs (result price only, other events not included):
| Ads | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| 100 | 100 x $0.0025 = $0.25 | 100 x $0.0023 = $0.23 | 100 x $0.0020 = $0.20 | 100 x $0.0018 = $0.18 |
| 1,000 | 1,000 x $0.0025 = $2.50 | 1,000 x $0.0023 = $2.30 | 1,000 x $0.0020 = $2.00 | 1,000 x $0.0018 = $1.80 |
| 10,000 | 10,000 x $0.0025 = $25.00 | 10,000 x $0.0023 = $23.00 | 10,000 x $0.0020 = $20.00 | 10,000 x $0.0018 = $18.00 |
π° Is scraping LinkedIn ads free?
You can start for free. The Apify Free plan includes $5 of monthly credit. At the Free price of $0.0025 per ad, $5 / $0.0025 = about 2,000 ads before platform usage. Paid plans lower the price per ad, as the table shows.
π§ Input
Add the keywords, advertisers or links you want to read, then narrow the results with optional filters. Pick a LinkedIn ad date range from the presets or set your own dates. Set the input in the Input tab or send it as JSON through the API. You need at least one entry in queries or searches. Every entry is collected on its own, up to Max ads per input.
| Field | Type | Default | What it does |
|---|---|---|---|
queries | array of strings | none | One entry per line: a keyword or phrase, a company page link, advertiser: Name (the company running the ads), payer: Name (the company paying for them), a LinkedIn Ad Library search link, or a link to a single ad. |
searches | array of objects | none | Build a search with boxes instead of links. Each entry needs at least one of accountOwner, payer or keyword, and can add countries, dateOption, startDate and endDate. |
maxItems | integer | 20 | The most ads returned for each entry, from 1 upwards. Entries with fewer ads return all they have. |
countries | array of strings | none | Only ads shown in these countries, as two-letter codes such as DE or FR. Empty means worldwide. |
dateRange | string | all | Only ads that ran in this period: all, last-30-days, current-month, current-year or last-year. Overridden by dateFrom and dateTo when you set them. |
dateFrom | string | none | Start of a custom period. An exact date such as 2026-01-01 or a look-back such as 30 days or 3 months. |
dateTo | string | none | End of a custom period. An exact date such as 2026-03-31 or a look-back such as 7 days. |
sort | string | newest | Which ads come first when an input has more ads than the limit: newest or oldest. |
includeDetails | boolean | true | On: the full ad text, landing page and campaign tags, impressions, targeting, run dates and media links. Off: only what the search list shows. |
concurrency | integer | 8 | How many ad pages are read at the same time, from 1 to 20. The default works for most runs. |
proxyConfiguration | object | {"useApifyProxy": false} | Optional network settings for the run. The default works for most runs. |
Inside searches, each entry accepts these keys:
| Key | Type | What it does |
|---|---|---|
accountOwner | string | Company running the ads, for example hubspot. |
payer | string | The company that paid for the ads, often an agency. |
keyword | string | A word or phrase in the ad text. |
countries | array of strings | Two-letter country codes such as US or DE. Empty means worldwide. |
dateOption | string | last-30-days, current-month, current-year or last-year. |
startDate | string | Earliest day the ad ran. An exact date or a look-back such as 30 days. |
endDate | string | Latest day the ad ran. An exact date or a look-back such as 7 days. |
Minimal input:
{"queries": ["https://www.linkedin.com/company/hubspot/"]}
Advanced input: the 50 newest ads for a keyword and two advertisers, shown in Germany and France during the last year, with full details:
{"queries": ["marketing automation", "advertiser: HubSpot", "payer: HubSpot, Inc."],"countries": ["DE", "FR"],"dateRange": "last-year","maxItems": 50,"sort": "newest","includeDetails": true}
The limit counts per entry: three entries with maxItems 50 give up to 150 ads. Dates earlier or later than the searchable range are moved to the nearest searchable day, and a warning appears in the run log. Plain profile links of people are matched by name only and can include other advertisers. See the input tab for the full schema.
π‘ Tip: Add a country such as
DEorFRto see impressions, targeting and run dates, which LinkedIn publishes only for EU and EEA ads.
π€ Output
Results are stored in a dataset, which you can open in the Output or Storage tab. View them as a table or JSON, pick only the fields you need, and download them as JSON, CSV, Excel, XML or HTML. The table has six ready-made views: Overview, Advertiser, Creative, Landing page, Reach and targeting, and Source.
Through the API, read the rows from this URL pattern:
https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
Add &view=overview (or advertiser, creative, landing, reach, source) to get one of the views.
The main fields of each ad row:
| Field | Type | Description |
|---|---|---|
adId | string | LinkedIn ad ID in the Ad Library. |
adLibraryUrl | string | Link to the ad in the Ad Library (same as adUrl). |
format | string | Ad format, for example SINGLE_IMAGE, VIDEO, CAROUSEL or DOCUMENT. |
advertiserName | string | Name of the company or person running the ad. |
advertiserUrl | string | Link to the advertiser page. |
paidBy | string | Company that paid for the ad. |
headline | string | Ad headline. |
body | string | Ad text. bodyTruncated is true when the text was cut. |
ctas | array | Call-to-action buttons. |
clickUrl | string | Landing page link, when the ad shows one. |
landingDomain | string | Domain of the landing page. |
utmCampaign | string | The utm_campaign tag of the landing link. |
imageUrl | string | Main image of the ad. |
videoUrl | string | Video file link for video ads. |
adStatus | string | ACTIVE, INACTIVE or UNKNOWN. Known only for ads with published run dates. |
startDate | string | First day the ad ran (EU and EEA ads). |
endDate | string | Last day the ad ran (EU and EEA ads). |
durationDays | integer | Days the ad ran. |
impressionsLabel | string | Impression range as text, for example 30k-50k. |
impressionsLow | number | Lower end of the impression range. |
impressionsHigh | number | Upper end of the impression range. |
topCountry | string | Country with the largest impression share. |
targetingLanguages | array | Languages the ad targets. |
targetingLocations | array | Locations the ad targets. |
startUrl | string | The input entry that found this ad (same as query). |
detailsFetched | boolean | True when the full ad page was read. |
error | string | Plain reason why details are missing, when they are. |
scrapedAt | string | When the ad was collected (UTC). |
An abridged example row:
{"adId": "1644056414","adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1644056414","format": "SINGLE_IMAGE","advertiserName": "HubSpot","paidBy": "HubSpot, Inc.","headline": "Know what works, and do more of it","body": "Marketo needs add-ons and a separate CRM to do what Marketing Studio does in one place...","ctas": ["Request Demo"],"adStatus": "UNKNOWN","startUrl": "https://www.linkedin.com/company/hubspot/","scrapedAt": "2026-11-20T14:31:52Z"}
An ad shown in the EU adds fields like these:
{"impressionsLabel": "30k-50k","impressionsLow": 30000,"impressionsHigh": 50000,"topCountry": "France","startDate": "2025-11-11","endDate": "2026-02-11","durationDays": 93,"adStatus": "INACTIVE","targetingLanguages": ["FranΓ§ais"],"targetingLocations": ["France"]}
A run summary is also saved under the key RUN_SUMMARY in the run's key-value store:
| Field | Type | Description |
|---|---|---|
inputs | integer | Number of entries you gave. |
rows | integer | Ads collected. |
ok | integer | Entries that returned ads. |
skipped | integer | Entries with no ads, duplicates, or entries not started because of a spend limit. |
failed | integer | Entries whose search could not be loaded. |
seconds | number | Run time in seconds. |
spendLimitReached | boolean | True when the run stopped at your spend limit. |
message | string | The final status message of the run. |
π‘ Tips and advanced usage
β‘ How to get faster results and keep costs down
- β‘ Turn Include full ad details off when the list view is enough. The run takes less time.
- π― Keep Max ads per input small while you test, and narrow by country or date range.
- π§© Put all your entries in one run: each one is collected separately, and the run status reports every entry.
π How to find what a competitor advertises
Enter the company page link or advertiser: Name. Sort by newest to see the latest campaigns first, then read the headline, body and call to action. Run it again on a schedule to catch new campaigns as they start. You do not need an ad account of your own.
π How to set up LinkedIn ad monitoring
Schedule the run daily or weekly with the same entries, then compare the adId values to see which ads are new since the last run.
π How to read reach and targeting
Add one or more EU countries to Countries where the ad was shown. EU and EEA ads then carry a LinkedIn ad impressions range, the top country, targeted languages and locations, and the days the ad ran. Sort or filter the table by impressionsHigh or durationDays to find long-running or widely shown ads.
π¦ How to export LinkedIn ads to CSV
Open the Output tab of the finished run, choose Export, select CSV and pick the fields you need. The same menu gives a LinkedIn ad JSON export, Excel, XML and HTML. For scheduled exports, use the API or an integration instead.
π Why did I get fewer ads than my limit?
The library may hold fewer ads for that input, or your country and date filters may be too narrow. The run status says how many ads were found for each input and why reading stopped. Check the spelling of the keyword the way advertisers write it, then run a small test again.
β Known issues
- β Large searches with full details take longer, because every ad page is read. Lower the limit or turn details off.
- β Ads that were withdrawn keep only the search list data and a short note in
error.
π Integrations and API
π Can I use LinkedIn Ads Scraper as an API?
Yes. Start runs, read results and schedule jobs through the Apify API. Use your token from Settings > API & Integrations.
| Action | Method and URL |
|---|---|
| π Start a run | POST https://api.apify.com/v2/actors/data_minds~linkedin-ads-scraper/runs |
| β‘ Run and get the results in one call | POST https://api.apify.com/v2/actors/data_minds~linkedin-ads-scraper/run-sync-get-dataset-items |
| π₯ Read results of a run | GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json |
| π OpenAPI definition | GET https://api.apify.com/v2/actors/data_minds~linkedin-ads-scraper/builds/default/openapi.json |
curl
curl -X POST "https://api.apify.com/v2/actors/data_minds~linkedin-ads-scraper/run-sync-get-dataset-items" \-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"queries": ["https://www.linkedin.com/company/hubspot/"], "maxItems": 20}'
LinkedIn ads with Python
Install apify-client and call the Actor:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("data_minds/linkedin-ads-scraper").call(run_input={"queries": ["https://www.linkedin.com/company/hubspot/"], "maxItems": 20})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["advertiserName"], item["headline"], item["adLibraryUrl"])
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('data_minds/linkedin-ads-scraper').call({queries: ['https://www.linkedin.com/company/hubspot/'],maxItems: 20,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
CLI
$echo '{"queries": ["https://www.linkedin.com/company/hubspot/"], "maxItems": 20}' | apify call data_minds/linkedin-ads-scraper --silent --output-dataset
The one-call endpoint suits runs that finish in about five minutes. Use the start-a-run endpoint for longer jobs. More code is on the API tab.
π§© Can I connect LinkedIn Ads Scraper to other apps?
Yes. Send LinkedIn ads to n8n, Make, Zapier, Slack, Google Sheets, Google Drive, Airbyte, GitHub and more through Apify integrations. Use webhooks to start a workflow when a run finishes, and schedules to run it every day or week.
π€ Can I use LinkedIn Ads Scraper with AI agents (MCP server)?
Yes. AI agents can call it directly through the hosted Apify MCP server. The Server tab of this Actor shows the same connection settings.
{"mcpServers": {"apify": {"type": "http","url": "https://mcp.apify.com?tools=data_minds/linkedin-ads-scraper"}}}
The hosted server signs you in with OAuth the first time you connect, so no API token belongs in this configuration. If your client cannot use OAuth, send the header Authorization: Bearer <YOUR_APIFY_TOKEN>.
π Other LinkedIn scrapers
| Scraper | What it does |
|---|---|
| π LinkedIn Ads Library Scraper | Collects public LinkedIn ads by keyword, advertiser, payer, company page or Ad Library link: ad text, creative, call to action, landing page, and for EU ads impressions, targeting and run dates. |
| π LinkedIn People Search Scraper | Finds public LinkedIn profiles by keyword, job title, seniority, location, company and school, with seniority, function and education. |
| π LinkedIn Post Scraper | Collects public LinkedIn posts from company pages, profiles, post links or keywords: text, author, reactions, comments, media, hashtags and dates. |
| π LinkedIn Post Details Scraper (No Cookies) | Collects public LinkedIn posts from links or IDs: text, author, reactions, comments, media, links and the original post inside a repost. |
β FAQ
π‘ Is it legal to scrape LinkedIn ads?
The LinkedIn Ad Library is a public transparency tool, and this Actor collects only public ads. Scraping public data is generally legal, but respect personal data, for example under GDPR, collect it only with a legitimate reason, and consider LinkedIn's Terms of Service before you run it.
π§ How does LinkedIn Ads Scraper work?
You add keywords, advertiser names, payers, company pages or Ad Library links, optionally set countries, dates and a limit per entry, and press Start. The Actor collects the public ads for each entry and saves one row per ad. Rows appear in the dataset while the run is still going.
π― How is LinkedIn Ads Scraper different from the LinkedIn Marketing API?
The LinkedIn Marketing API is built for managing your own ad accounts and campaigns. This Actor reads the public Ad Library, so you can look at ads from any advertiser without an ad account or app approval. You give a keyword, a name or a link, and you get rows with copy, creative, landing pages and, for EU ads, reach.
π Can I use LinkedIn Ads Scraper as an API?
Yes. Start a run with the Apify API, pass your entries as JSON, and read the dataset items when it finishes. A one-call endpoint returns results directly for short runs, and an OpenAPI definition is available. Ready-made curl, Python, JavaScript and CLI examples are in the Integrations and API section above.
π€ Can I use LinkedIn Ads Scraper with AI agents (MCP server)?
Yes. Add the hosted Apify MCP server URL with the tools parameter set to data_minds/linkedin-ads-scraper, and your AI assistant can run the Actor and read the results. The first connection signs you in with OAuth. The Server tab of the Actor shows the same connection settings.
π§© Can I connect LinkedIn Ads Scraper to Google Sheets, Make or Zapier?
Yes. Apify integrations connect the Actor with Google Sheets, Make, Zapier, n8n, Slack and many other tools. Schedule a run, then use a webhook or an integration to send each new batch of ads to your sheet, chat or workflow automatically when the run has finished.
π Why did I get fewer ads than my limit?
The limit is a maximum, not a promise. The library may hold fewer ads for your entry, and narrow country or date filters can remove more. The run status says how many ads were found for each entry and why reading stopped. Widen the filters and run a small test to compare the counts.
π Why are impressions and targeting empty?
LinkedIn publishes impressions, targeting and run dates only for ads shown in the EU and EEA. For other ads these fields stay empty and the status is UNKNOWN. Add an EU country code such as DE or FR to the countries filter to find ads that carry these details.
β Why does LinkedIn Ads Scraper return no ads, or is it not working?
Check that the keyword is spelled the way advertisers write it, that the link is a public company page or Ad Library link, and that your filters are not too narrow. Try a small test run first. If it still fails, report it on the Issues tab with the run link.
π¬ Support and feedback
Found a bug or have a feature request? Please create an issue on the Issues tab.
Need a custom solution or more data? Contact us at hello.dataminds@gmail.com.
Built and maintained by data_minds. This Actor is an independent tool and is not affiliated with, endorsed by or sponsored by LinkedIn or Microsoft.