LinkedIn Ads Library Scraper avatar

LinkedIn Ads Library Scraper

Pricing

$5.00 / 1,000 ad scrapeds

Go to Apify Store
LinkedIn Ads Library Scraper

LinkedIn Ads Library Scraper

Scrape LinkedIn's Ad Library for company ads — get ad type, body text, headlines, images, advertiser logo, and ad detail deeplinks. B2B competitor ad spy.

Pricing

$5.00 / 1,000 ad scrapeds

Rating

0.0

(0)

Developer

SR

SR

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

5 hours ago

Last modified

Categories

Share

Free LinkedIn Ad Library Scraper — B2B Competitor Ad Spy

The free LinkedIn Ad Library scraper built for B2B competitor ad spy. Search any company on LinkedIn's official Ad Library and get the full ad — type, body text, headline, content images, advertiser logo, and detail deeplinks — as clean JSON.

The only practical free alternative to paid SaaS B2B ad-spy tools that charge $99-$499/month for the same data.

What you get

  • Ad ID + deeplink to LinkedIn's ad detail page
  • Advertiser company name + logo
  • Ad type — Single Image, Video, Carousel, Document, Article
  • Body text + headline
  • Content image URLs (filters out profile / logo thumbnails)
  • For person-promoted ads: person name + person title
  • Total ad count for the search (from LinkedIn's own counter)
  • Country + date-range filtering

Why scrape the LinkedIn Ad Library

LinkedIn's Ad Library is publicly accessible at /ad-library/search, but the page is server-side rendered with no public API. To programmatically pull LinkedIn ads at scale you have to scrape the HTML and parse the markup — which changes every few months.

This Actor handles the parsing for you and ships ready-to-use structured JSON. No LinkedIn login, no Sales Navigator subscription, no Marketing-Partner-API access required.

Input

FieldDefaultDescription
searchrequiredCompany name or keyword
countryallISO 2-letter country code (filter the search results)
date_rangealllast_30_days / this_month / this_year / last_year
sortNEWESTNEWEST or OLDEST

Use cases

  • B2B competitor ad spy — the cheapest way to track what your B2B competitors are advertising on LinkedIn
  • SaaS / agency / consulting creative intelligence — what's working in your niche right now
  • ABM monitoring — which competitors are running ads to your target account industries
  • Personal brand / thought-leadership tracking — LinkedIn shows person-level promoted posts; this scrapes those too
  • Competitive content research — Document Ads and Article Ads reveal what gated assets competitors are pushing

Output (sample)

{
"ad_id": "1384570116",
"deeplink": "https://www.linkedin.com/ad-library/detail/1384570116",
"advertiser_name": "Asana",
"ad_type": "Single Image Ad",
"body_text": "Danone drives impact and innovation with Asana.",
"headline": "Get your team aligned",
"images": ["https://media.licdn.com/dms/image/v2/D5610AQ…"],
"advertiser_logo": "https://media.licdn.com/dms/image/v2/D4E0BAQ…",
"country": "US",
"date_range": "all",
"sort": "NEWEST",
"total_ads_in_search": 24
}

Limits

  • LinkedIn returns roughly 25 ads per search-result page; the Actor returns whatever's on the first page — use total_ads_in_search to know what you're missing
  • LinkedIn rate-limits aggressively — if a run returns zero items, wait 10-30 minutes before retrying with the same query
  • HTML parsing is fragile to LinkedIn redesigns — open an issue if a layout change breaks parsing

Pair this actor with the rest of the suite for full cross-platform competitor ad intelligence:

Run all four on the same competitor and you have the complete picture of what they're advertising across every major surface.