Ad intelligence

LinkedIn Ads Scraper: search the LinkedIn Ad Library by keyword or company

Collect LinkedIn ads from the public LinkedIn Ad Library by keyword, advertiser, payer or company. Get ad copy, headline, format, image, video or carousel, CTA and landing page, with optional details: who paid, run dates, impressions by country and targeting. No login; an only-new-ads mode supports daily monitoring.

★ 5.0 rating · 1 reviews3 users100.0% successful runs (30 days)

What data you get

adText / headlineAd copy and headline
formatSingle image, video, carousel and other formats
mediaImage, video or carousel media
ctaCall-to-action button
landingPageLanding page URL
advertiser / payerAdvertiser and who paid for the ad
runDatesStart and end dates of the ad
impressionsTotal impressions and impressions by country
targetingTargeted languages, locations and criteria

How it works

  1. Open the scraper on Apify and sign up (free).
  2. Enter routes, dates and options in the form.
  3. Click Start and download results as JSON, CSV or Excel, or call the API.

Pricing

$1.60 per 1,000 rows

You pay per ad returned. Basic ads and ads with details (impressions, countries, targeting, landing page) are separate events, so the higher rate applies only when details are on.

Apify gives $5 free credits every month — enough to test this scraper at no cost.

Example tasks

Ready-made inputs. Copy one into the scraper form or send it through the API.

Scrape LinkedIn ads mentioning CRM shown in the US

Keyword search in ad copy, 48 newest ads.

{
  "searchTerms": [
    "crm"
  ],
  "searchType": "keyword",
  "countries": [
    "US"
  ],
  "maxAdsPerSearch": 48
}
Run this task →

LinkedIn ads by HubSpot and Salesforce from the last 30 days

Advertiser search with impressions and targeting.

{
  "searchTerms": [
    "hubspot",
    "salesforce"
  ],
  "searchType": "advertiser",
  "dateRange": "last-30-days",
  "includeDetails": true
}
Run this task →

Monitor new LinkedIn ads of a competitor company

Only ads not seen in earlier runs, from the company page.

{
  "companies": [
    "https://www.linkedin.com/company/hubspot/"
  ],
  "onlyNewRowsStore": "hubspot-ads",
  "maxAdsPerSearch": 100
}
Run this task →

Cybersecurity LinkedIn ads in Germany and France, Q1

Custom date range with impressions by country.

{
  "searchTerms": [
    "cybersecurity"
  ],
  "searchType": "keyword",
  "countries": [
    "DE",
    "FR"
  ],
  "startDate": "2026-01-01",
  "endDate": "2026-03-31",
  "includeDetails": true
}
Run this task →

Use cases

FAQ

Do I need a LinkedIn account?

No. The LinkedIn Ad Library is public and the scraper works without login. You only need an Apify account.

What does 'Search by' change?

Search terms can be read as a keyword from ad copy, an advertiser name, a payer name or a LinkedIn company ID.

Can I monitor new ads daily?

Yes. Give the run a memory name for only-new ads and schedule it; each run returns ads not delivered before.

Is it legal to scrape LinkedIn?

The scraper collects only publicly visible LinkedIn data without logging in. Make sure your use complies with local laws (such as GDPR) and the site's terms, and avoid collecting or misusing personal data.

How do I get the data into my app?

Download results as JSON, CSV or Excel, or use the Apify API, the Python and JavaScript clients, or integrations with Make, n8n, Zapier and Google Sheets.

More scrapers

Start monitoring LinkedIn ads

Run on Apify — free trial