Linkedin Ads Scraper API avatar

Linkedin Ads Scraper API

Try for free

No credit card required

Go to Store
Linkedin Ads Scraper API

Linkedin Ads Scraper API

data_xplorer/linkedin-ads-scraper
Try for free

No credit card required

๐Ÿ”ฎ Unlock LinkedIn Ads Insights: Transform LinkedIn's Ad Library data into structured analytics. Extract comprehensive ad performance, targeting strategies, and campaign metrics with automated calculations. Access real-time advertising intelligence through simple API calls.

๐Ÿ“ข LinkedIn Ads Scraper

๐Ÿ’ก A powerful scraper to extract advertising data from the LinkedIn Ads Library, providing comprehensive insights into LinkedIn advertising campaigns

Extract detailed advertising data from LinkedIn's Ad Library with this reliable scraping solution! Get structured data about ads, including advertiser information, campaign details, targeting, and performance metrics. Perfect for market research, competitor analysis, and advertising insights.

trends scraper

โœจ What You'll Get

๐Ÿ’Ž Key Features

  • Precise calculation of impressions by country
  • Standardized date format (MM/DD/YYYY)
  • Automatic timestamp conversion
  • Hierarchical data organization
  • URL cleaning and normalization

๐Ÿ“Š Available Data

  • Ad details and content
  • Advertiser information
  • Campaign dates and performance
  • Targeting information
  • Impression statistics by country
  • Ad media (images, videos)
  • Campaign URLs and links

Data Structure Details

FieldTypeDescription
adIDintUnique ad identifier
advertiserNamestringName of the advertiser
advertiserLogostringURL of advertiser's logo
adImagestringURL of ad creative
adDatearrayAd run dates
adTypestringType of advertisement
adDateTimestampsarrayUnix timestamps of run dates
adDescriptionstringAd copy text
adHashtagsarrayHashtags used in ad
adTotalImpressionsstringTotal impression range
adImpressionsCountryarrayImpressions breakdown by country
adUrlstringAd detail page URL
adLinkUrlstringAdvertisement destination URL
adPaidBystringEntity paying for the ad
adTargetingarrayTargeting parameters used

๐Ÿš€ Performance Features

โšก๏ธ Lightning Fast:

  • Parallel processing of ad pages
  • Optimized batch processing
  • Smart proxy handling
  • Efficient URL cleaning and resolving

๐Ÿ› ๏ธ Smart Handling:

  • Proxy support
  • Dynamic content extraction
  • Automatic pagination
  • Robust error recovery
  • Multiple ad format support

๐ŸŽฏ Coverage:

  • All ad types supported

๐Ÿ“‹ Quick Start

Input Parameters

ParameterTypeDefaultDescription
searchUrlstringrequiredLinkedIn Ads Library search URL
maxItemsinteger20Maximum number of ads to scrape
proxyTypestringRESIDENTIALType of proxy to use

Input

1{
2    "searchUrl": "https://www.linkedin.com/ad-library/search?keyword=renergy",
3    "maxItems": 20,
4    "proxyType": "RESIDENTIAL"
5}

Output Example

1{
2    "adId": "123456789",
3    "advertiserName": "Example Company",
4    "advertiserLogo": "https://example.com/logo.jpg",
5    "adImage": "https://example.com/ad.jpg",
6    "adDate": [
7        {"start": "02/01/2024"},
8        {"end": "02/28/2024"}
9    ],
10    "adDateTimestamps": {
11        "start": 1706745600000,
12        "end": 1709251200000
13    },
14    "adType": "Ad Single",
15    "adDescription": "Join our team of experts! We're looking for talented professionals to drive innovation and growth. Click to learn more about our exciting opportunities.",
16    "adHashtags": ["hiring", "jobs", "careers", "recruitment"],
17    "adTotalImpressions": "10k-15k",
18    "adImpressionsCountry": {
19        "France": {
20            "percentage": "45%",
21            "estimatedImpressions": {
22                "min": 4500,
23                "max": 6750
24            }
25        },
26        "Belgium": {
27            "percentage": "30%",
28            "estimatedImpressions": {
29                "min": 3000,
30                "max": 4500
31            }
32        },
33        "Switzerland": {
34            "percentage": "25%",
35            "estimatedImpressions": {
36                "min": 2500,
37                "max": 3750
38            }
39        }
40    },
41    "adUrl": "https://linkedin.com/ad-library/ad/123456789",
42    "adLinkUrl": "https://example.com/careers?utm_source=linkedin",
43    "adPaidBy": "Example Company Global Services",
44    "adTargeting": {
45        "language": [
46            "French",
47            "English"
48        ],
49        "location": [
50            "France",
51            "Belgium",
52            "Switzerland"
53        ],
54        "company": "Companies with 1000+ employees in Technology sector"
55    }

๐Ÿ”’ Reliability & Performance

Data Quality

  • Structured ad content extraction
  • Clean URL processing
  • Consistent date formatting
  • Reliable impression data
  • Comprehensive targeting information

Technical Robustness

  • Proxy rotation support
  • Automatic retry mechanism
  • Smart error handling
  • Rate limiting compliance
  • Session management

Performance Optimization

  • Parallel request processing
  • Efficient memory usage
  • Smart batch processing
  • Optimized content parsing

๐Ÿค Support

  • Need assistance? We're here to help!
  • Open an issue for feature requests
  • Technical support available
  • Regular updates and maintenance

๐Ÿ“ Notes

  • Respects LinkedIn's terms of service
  • Data is from public Ad Library
  • Use responsibly and ethically
Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Feb 2025

  • Modified 3 days ago