LinkedIn Multi-Mode Scraper

LinkedIn Multi-Mode Scraper

by scraping_samurai

Scrape LinkedIn profiles, companies, and posts without managing cookies. A single, reliable tool for lead generation, competitor research, and social listening.

71 runs
7 users
Try This Actor

Opens on Apify.com

About LinkedIn Multi-Mode Scraper

Need LinkedIn data without the usual headaches? This actor is your one-stop shop. It scrapes profiles, company pages, and posts, all from a single, straightforward interface. The best part? You don't need to mess with cookies or manage complex browser sessions. It handles that messy authentication stuff for you, so you can focus on getting clean, structured data. I use it for a few key things: building targeted lead lists, researching competitors by watching their company updates, and analyzing post engagement to see what content actually resonates. It saves me hours I'd otherwise spend on manual searches or wrestling with other tools that break when LinkedIn changes its layout. The data comes out ready for a spreadsheet or your CRM, which means you can move from research to action almost immediately. If you're looking to gather LinkedIn intel reliably, this is the scraper that just works.

What does this actor do?

LinkedIn Multi-Mode Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

LinkedIn Multi-Mode Scraper

Overview

This actor scrapes data from LinkedIn in five distinct modes: profiles, companies, and posts. It outputs all data from the original LinkedIn payload, but flattens it by duplicating each field at the top level with a data_ prefix (e.g., data_followers), making it easier to query and filter without navigating nested objects.

Key Features

  • Multi-Mode Operation: One actor handles multiple use cases: profileByUrl, profileByName, companyByUrl, postByUrl, and postsByProfile.
  • Raw-Expanded Output: All original data fields are available at the top level with a data_ prefix alongside a cleaned, structured version.
  • Performance & Safety:
    • Caching: Repeated identical requests return instantly with a "status": "cached" indicator.
    • Rate Limiting: A safety clamp enforces a limit of 50 or fewer items for multi-result modes.
    • Tenant Scoping: Optional userId input partitions the cache per tenant or workspace.
  • Operational Note: For reliable completion on fresh, uncached targets, allocate a timeout budget of around 20 minutes.

How to Use

Provide a JSON object as input. The mode field is required. Only include other fields relevant to your chosen mode.

Input Structure

Common Fields
* mode (string, required): One of: profileByUrl, profileByName, companyByUrl, postByUrl, postsByProfile.
* limit (integer, optional, 1-50): Cap for multi-result modes (profileByName, postsByProfile). Default is 10.

Batching Fields (use arrays for multiple items)
* urls: For profileByUrl, companyByUrl, postByUrl.
* fullNames: For profileByName.
* profileUrls: For postsByProfile.

Single-Value Fields (alternative to batching)
* url: For profileByUrl, companyByUrl, postByUrl.
* fullName: For profileByName.
* profileUrl: For postsByProfile.

Tip: Use canonical URLs (https://www.linkedin.com/...). Avoid country-specific subdomains and tracking parameters for best results.

Quick Start Examples

Fetch a single profile:

{
  "mode": "profileByUrl",
  "url": "https://www.linkedin.com/in/reidhoffman/"
}

Search for profiles by name:

{
  "mode": "profileByName",
  "fullName": "Ada Lovelace",
  "limit": 3
}

Get recent posts from a profile:

{
  "mode": "postsByProfile",
  "profileUrl": "https://www.linkedin.com/in/satyanadella/",
  "limit": 10
}

Batch process company URLs:

{
  "mode": "companyByUrl",
  "urls": [
    "https://www.linkedin.com/company/ibm/",
    "https://www.linkedin.com/company/microsoft/"
  ]
}

Input/Output

The actor returns a JSON object for each processed item. The structure includes both cleaned fields and the original raw data.

Output Example (Profile):

{
  "jobId": "68cfc1562c409e61554902e1",
  "mode": "profileByUrl",
  "status": "succeeded",
  "type": "entity",
  "key": "li:profile:https://www.linkedin.com/in/ada-lovelace",
  "canonicalUrl": "https://www.linkedin.com/in/ada-lovelace",
  "fetchedAt": "2025-09-21T09:20:00.000Z",
  "fullName": "Ada Lovelace",
  "headline": "Pioneer of Computing",
  "location": "London, United Kingdom",
  "experiences": [...],
  "educations": [...],
  "data_full_name": "Ada Lovelace",
  "data_headline": "Pioneer of Computing",
  "data_location": "London, United Kingdom",
  "data_experiences": [...],
  "data_education": [...]
}

Key output fields:
* status: Indicates "succeeded", "cached", or an error state.
* Cleaned fields like fullName, headline, experiences.
* Duplicated raw fields prefixed with data_ (e.g., data_full_name, data_experiences).

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try LinkedIn Multi-Mode Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
scraping_samurai
Pricing
Paid
Total Runs
71
Active Users
7
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support