LinkedIn Profile Scraper icon

LinkedIn Profile Scraper

Extract professional profiles, company firmographics, emails, and job listings from LinkedIn for B2B prospecting.

As an Apify affiliate, we may earn a commission from qualifying purchases made through our links, at no extra cost to you. We only recommend tools we believe in.

EXCEL CSV JSON XML HTML RSS JSONL

Try It Out

Experience the power of this scraper for free.

Run Scraper Now
apify-console
➜ ~ apify call linkedin-scraper
Loading actor configuration...
Running on Apify cloud...
✔ Run succeeded!
Fetched items: 1,245
Exporting to: CSV Excel

Overview

The LinkedIn Profile Scraper is an essential tool for B2B sales teams, recruiters, and market researchers who need deep professional data. Unlike the restricted official LinkedIn API, this scraper allows you to extract highly detailed personal profiles, complete company structures (firmographics), and active job postings directly into your CRM or spreadsheets. You can scrape thousands of profiles to gather work experience, education history, skills, endorsements, and crucially, public contact information such as emails and phone numbers. It handles pagination, logs into the platform safely on your behalf (via cookies), and respects sophisticated rate limits to ensure your account remains secure while delivering structured lead data.

Key Features

Extract 100% of public profile information (Experience, Education, Skills)
Scrape Company pages (Employee count, HQ location, specialties)
Get detailed active Job listing data for hiring signals
Extract public emails, websites, and Twitter accounts linked in profiles
Search via specific LinkedIn Search URLs (e.g., specific roles in NYC)
Safe residential proxy rotation to prevent account suspension
Export cleaned data ready for instant CRM import (HubSpot, Salesforce)

Use Cases

1

High-quality B2B sales prospecting and lead enrichment

2

Talent acquisition, candidate sourcing, and recruitment

3

Market and competitor employee structure research

4

Build hyper-targeted professional email and outbound lists

5

Analyze industry skill trends and alumni networks

Input Parameters

Parameter Type Required Description
cookie String Optional Your LinkedIn Session Cookie (li_at) required for authentication
searchUrl Array Optional Specific LinkedIn Search URLs (e.g. Sales Navigator searches)
profileUrls Array Optional Direct list of LinkedIn profile URLs to scrape
deepScrape Boolean Optional Scrape entire history (experience/education) rather than just top-level data
limit Number Optional Maximum number of profiles/companies to extract

Sample Output

{
  "url": "https://www.linkedin.com/in/johndoe/",
  "firstName": "John",
  "lastName": "Doe",
  "headline": "VP of Sales at Apify | B2B Growth Strategy",
  "location": "San Francisco, California",
  "industry": "Computer Software",
  "email": "john.doe@example.com",
  "experience": [
    {
      "title": "VP of Sales",
      "company": "Apify",
      "duration": "Jan 2024 - Present",
      "description": "Leading the global sales team..."
    }
  ],
  "education": [
    {
      "school": "Stanford University",
      "degree": "MBA"
    }
  ],
  "skills": ["B2B Sales", "SaaS", "Leadership"]
}

How to Use

  1. 1

    Click the 'Try for Free' button to access the LinkedIn Scraper on Apify.

  2. 2

    Log in to your free Apify account.

  3. 3

    Retrieve your `li_at` session cookie from your browser and paste it into the scraper's auth field.

  4. 4

    Input the specific profile URLs, company URLs, or a LinkedIn Search URL.

  5. 5

    Set a reasonable maximum limit to extract (e.g., 100 profiles).

  6. 6

    Click 'Start'. Download your enriched leads as a CSV or Excel file for your CRM.

API Example

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({
    token: 'YOUR_API_TOKEN',
});

const input = {
    "cookie": "YOUR_LI_AT_COOKIE",
    "profileUrls": [
        "https://www.linkedin.com/in/william-gates/"
    ],
    "deepScrape": true,
    "limit": 10
};

const run = await client.actor("bebity/linkedin-premium-actor").call(input);

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Pricing Structure

Pay for usage model. Due to LinkedIn's strict anti-bot measures, residential proxies are required. The average cost is $4.00 - $8.00 per 1,000 deep-scraped profiles. The $5/month free Apify credit covers the extraction of hundreds of profiles at zero cost.

Limitations

  • Requires a valid LinkedIn session cookie (`li_at`). You must log in using a real account.
  • Aggressive scraping (e.g., thousands of profiles per day on a free standard LinkedIn account) can highly risk your account getting restricted. We recommend using 'burner' or dedicated scraper accounts.
  • Direct personal emails are only extracted if the user made them completely public.

Frequently Asked Questions

Is it safe for my LinkedIn account?
There is always a risk when using your personal LinkedIn cookie. The actor implements smart delays and mimics human behavior, but if you scrape too aggressively (e.g., 1000+ profiles a day on a basic account), LinkedIn may flag your account. We strongly recommend using a secondary 'burner' account for scraping.
How do I get my LinkedIn session cookie (`li_at`)?
Log into LinkedIn on your computer. Open Developer Tools (F12) > Application tab > Cookies > linkedin.com. Look for the cookie named `li_at`, copy its value, and paste it securely into the Apify scraper input.
Does this scraper work with Sales Navigator?
Yes. This premium actor is designed to handle both standard LinkedIn and Sales Navigator search URLs, extracting data directly from those specialized search results.
Can I extract personal email addresses?
Yes, but only if the user has set their contact information to 'Public'. The scraper cannot magically extract private emails. However, people often include business emails in their 'About' section, which this tool extracts seamlessly.

Extracted Data Details

Full Name & Headline Current Job Title & Company Contact Info (Emails, Websites) Detailed Work Experience History Education & Certifications Top Skills & Endorsements Location & Industry Company Size & Firmographics Profile Picture URL

Pricing Structure Freemium
Category Business & B2B
Last Verified Mar 2026

View on Apify Store

Need a Custom Solution?

Contact us for a bespoke scraper built to your exact requirements.

Hire an Expert
LinkedIn Profile Scraper

LinkedIn Profile Scraper

Ready to extract data from {name}

Run for Free