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.
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
Use Cases
High-quality B2B sales prospecting and lead enrichment
Talent acquisition, candidate sourcing, and recruitment
Market and competitor employee structure research
Build hyper-targeted professional email and outbound lists
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
Click the 'Try for Free' button to access the LinkedIn Scraper on Apify.
- 2
Log in to your free Apify account.
- 3
Retrieve your `li_at` session cookie from your browser and paste it into the scraper's auth field.
- 4
Input the specific profile URLs, company URLs, or a LinkedIn Search URL.
- 5
Set a reasonable maximum limit to extract (e.g., 100 profiles).
- 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?
How do I get my LinkedIn session cookie (`li_at`)?
Does this scraper work with Sales Navigator?
Can I extract personal email addresses?
Extracted Data Details
View on Apify Store
Related Tools
Crunchbase Scraper
Extract company data, funding rounds, investors, and startup information from Crunchbase.
Glassdoor Reviews Scraper
Extract company reviews, ratings, and employee feedback from Glassdoor. Perfect for employer branding research and competitive analysis.
LinkedIn Jobs Scraper
Extract job listings, company info, and salary data from LinkedIn for recruitment and market analysis.
Need a Custom Solution?
Contact us for a bespoke scraper built to your exact requirements.
Hire an ExpertRelated Articles
How to Scrape LinkedIn Jobs and Company Data in 2026
Step-by-step guide to extracting LinkedIn job postings and company profiles using Apify — legally and without getting blocked.
tips7 Pro Tips for Exporting Web Data to Excel (2026 Guide)
Learn professional best practices for exporting scraped web data to Excel. Actionable tips for formatting, cleaning, and automating your data analysis pipelines.