LinkedIn Ads Scraper avatar

LinkedIn Ads Scraper

Pricing

from $0.35 / 1,000 results

Go to Apify Store
LinkedIn Ads Scraper

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

Data Minds

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 hours ago

Last modified

Categories

Features

Limited permissions

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).

DataFields
πŸ†” Ad identityadId, adUrl, adLibraryUrl, url, format, creativeType, variantCount
πŸ“… Status and run datesadStatus, isActive, availability, startDate, endDate, durationDays
🏒 AdvertiseradvertiserName, advertiserUrl, advertiserId, advertiserType, advertiserLogo, advertiserHeadline, paidBy
πŸ‘€ Thought leaderthoughtLeader, thoughtLeaderName, thoughtLeaderUrl
πŸ“ Ad copyheadline, body, bodyTruncated, bodyLinks, ctas
πŸ”— Landing pageclickUrl, clickUrlSource, landingDomain, utm, utmCampaign, utmSource, utmMedium
πŸ“· CreativeimageUrl, carouselSlides, carouselSlideCount, video, videoUrl, document, message, event, article
πŸ“ˆ Impressionsimpressions, impressionsLabel, impressionsLow, impressionsHigh, impressionsPerCountry, topCountry
🎯 Targetingtargeting, targetingLanguages, targetingLocations
🚧 RestrictionsisRestricted, restrictionDetails
πŸ“₯ Source and statusquery, 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 null and adStatus is UNKNOWN. 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.

  1. πŸ”‘ Create a free Apify account using your email.
  2. 🌐 Open LinkedIn Ads Scraper and go to the Input tab.
  3. πŸ“₯ Add keywords, advertiser names, company pages or Ad Library links, one per line.
  4. 🎯 Set Max ads per input and, if you like, countries, a date range or the order.
  5. πŸš€ Click Start and wait for the run to finish.
  6. πŸ“€ 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 planPrice per adPrice 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):

AdsFreeBronzeSilverGold
100100 x $0.0025 = $0.25100 x $0.0023 = $0.23100 x $0.0020 = $0.20100 x $0.0018 = $0.18
1,0001,000 x $0.0025 = $2.501,000 x $0.0023 = $2.301,000 x $0.0020 = $2.001,000 x $0.0018 = $1.80
10,00010,000 x $0.0025 = $25.0010,000 x $0.0023 = $23.0010,000 x $0.0020 = $20.0010,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.

FieldTypeDefaultWhat it does
queriesarray of stringsnoneOne 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.
searchesarray of objectsnoneBuild 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.
maxItemsinteger20The most ads returned for each entry, from 1 upwards. Entries with fewer ads return all they have.
countriesarray of stringsnoneOnly ads shown in these countries, as two-letter codes such as DE or FR. Empty means worldwide.
dateRangestringallOnly 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.
dateFromstringnoneStart of a custom period. An exact date such as 2026-01-01 or a look-back such as 30 days or 3 months.
dateTostringnoneEnd of a custom period. An exact date such as 2026-03-31 or a look-back such as 7 days.
sortstringnewestWhich ads come first when an input has more ads than the limit: newest or oldest.
includeDetailsbooleantrueOn: the full ad text, landing page and campaign tags, impressions, targeting, run dates and media links. Off: only what the search list shows.
concurrencyinteger8How many ad pages are read at the same time, from 1 to 20. The default works for most runs.
proxyConfigurationobject{"useApifyProxy": false}Optional network settings for the run. The default works for most runs.

Inside searches, each entry accepts these keys:

KeyTypeWhat it does
accountOwnerstringCompany running the ads, for example hubspot.
payerstringThe company that paid for the ads, often an agency.
keywordstringA word or phrase in the ad text.
countriesarray of stringsTwo-letter country codes such as US or DE. Empty means worldwide.
dateOptionstringlast-30-days, current-month, current-year or last-year.
startDatestringEarliest day the ad ran. An exact date or a look-back such as 30 days.
endDatestringLatest 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 DE or FR to 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:

FieldTypeDescription
adIdstringLinkedIn ad ID in the Ad Library.
adLibraryUrlstringLink to the ad in the Ad Library (same as adUrl).
formatstringAd format, for example SINGLE_IMAGE, VIDEO, CAROUSEL or DOCUMENT.
advertiserNamestringName of the company or person running the ad.
advertiserUrlstringLink to the advertiser page.
paidBystringCompany that paid for the ad.
headlinestringAd headline.
bodystringAd text. bodyTruncated is true when the text was cut.
ctasarrayCall-to-action buttons.
clickUrlstringLanding page link, when the ad shows one.
landingDomainstringDomain of the landing page.
utmCampaignstringThe utm_campaign tag of the landing link.
imageUrlstringMain image of the ad.
videoUrlstringVideo file link for video ads.
adStatusstringACTIVE, INACTIVE or UNKNOWN. Known only for ads with published run dates.
startDatestringFirst day the ad ran (EU and EEA ads).
endDatestringLast day the ad ran (EU and EEA ads).
durationDaysintegerDays the ad ran.
impressionsLabelstringImpression range as text, for example 30k-50k.
impressionsLownumberLower end of the impression range.
impressionsHighnumberUpper end of the impression range.
topCountrystringCountry with the largest impression share.
targetingLanguagesarrayLanguages the ad targets.
targetingLocationsarrayLocations the ad targets.
startUrlstringThe input entry that found this ad (same as query).
detailsFetchedbooleanTrue when the full ad page was read.
errorstringPlain reason why details are missing, when they are.
scrapedAtstringWhen 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:

FieldTypeDescription
inputsintegerNumber of entries you gave.
rowsintegerAds collected.
okintegerEntries that returned ads.
skippedintegerEntries with no ads, duplicates, or entries not started because of a spend limit.
failedintegerEntries whose search could not be loaded.
secondsnumberRun time in seconds.
spendLimitReachedbooleanTrue when the run stopped at your spend limit.
messagestringThe 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.

ActionMethod and URL
πŸš€ Start a runPOST https://api.apify.com/v2/actors/data_minds~linkedin-ads-scraper/runs
⚑ Run and get the results in one callPOST https://api.apify.com/v2/actors/data_minds~linkedin-ads-scraper/run-sync-get-dataset-items
πŸ“₯ Read results of a runGET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
πŸ”Œ OpenAPI definitionGET 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 ApifyClient
client = 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

ScraperWhat it does
πŸ”— LinkedIn Ads Library ScraperCollects 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 ScraperFinds public LinkedIn profiles by keyword, job title, seniority, location, company and school, with seniority, function and education.
πŸ”— LinkedIn Post ScraperCollects 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

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.