Linkedin Sales Navigator Scraper avatar
Linkedin Sales Navigator Scraper

Pricing

from $0.00 / retrieve results

Go to Apify Store
Linkedin Sales Navigator Scraper

Linkedin Sales Navigator Scraper

Extract data from LinkedIn Sales Navigator search results, including profiles, companies, contact information, and more. This Actor supports pagination and deep scraping for detailed employee and company profile information, as well as emails, company emails, and employee emails.

Pricing

from $0.00 / retrieve results

Rating

0.0

(0)

Developer

Ryan

Ryan

Maintained by Community

Actor stats

0

Bookmarked

12

Total users

11

Monthly active users

2 days ago

Last modified

Share

๐Ÿš€ LinkedIn Sales Navigator Scraper

Extract professional profiles and company data from LinkedIn Sales Navigator with full authentication, proxy support, and anti-detection features.


โœจ Features

  • โœ… People & Company Searches - Scrape any Sales Navigator search
  • โœ… Automatic Pagination - Get hundreds of results automatically
  • โœ… Deep Scraping - Optional detailed profile information (email, phone, etc.)
  • โœ… Stealth Mode - Advanced anti-bot detection bypass
  • โœ… Residential Proxies - Built-in proxy support for maximum success
  • โœ… Export Formats - JSON, CSV, or Excel

๐Ÿš€ Quick Start (2 Steps)

Step 1: Export Your LinkedIn Cookies ๐Ÿช

Install Cookie-Editor Extension:

Export Your Cookies:

  1. Go to https://www.linkedin.com/sales (must be logged in!)
  2. Click the Cookie-Editor icon (๐Ÿช) in your browser toolbar
  3. Click "Export" button at the bottom
  4. Select "JSON" format
  5. Copy the entire JSON output

Example output:

[
{"name":"li_at","value":"AQEDAT...","domain":".www.linkedin.com"},
{"name":"JSESSIONID","value":"ajax:123...","domain":".www.linkedin.com"},
{"name":"li_ep_auth_context","value":"AHRh...","domain":".www.linkedin.com"},
...20+ more cookies
]

โš ๏ธ Important: You need ALL cookies (20-25 of them), not just li_at!

Step 2: Get Your Search URL ๐Ÿ”

  1. Go to LinkedIn Sales Navigator
  2. Perform your search (add filters, keywords, etc.)
  3. Copy the entire URL from your browser address bar

Example:

https://www.linkedin.com/sales/search/people?query=(keywords%3Afounder)

Click Start! ๐ŸŽ‰


๐Ÿ“Š Where to Find Your Scraped Data

โœ… Dataset Tab (Your Main Results)

After scraping completes, your data is saved in the Dataset:

  1. Go to "Storage" โ†’ "Dataset" in your Actor run
  2. Or click the "Dataset" tab directly
  3. View your data in multiple formats:
    • Overview - Key employee and company info
    • Employee Details - Full employee data
    • Company Details - Complete company info
    • All Fields - Every available field

๐Ÿ“ฅ Export Options

Click "Export" to download as:

  • CSV - For Excel/Google Sheets
  • JSON - For API integration
  • Excel - Formatted spreadsheet
  • HTML, XML, RSS - Other formats

๐Ÿ“ Output Tab (Summary)

The Output tab shows a summary:

  • Number of records scraped
  • Success/failure status
  • Pages processed
  • Timestamp

๐ŸŽฏ Important: Your actual scraped profiles/companies are in the Dataset, not the Output tab!

See ./WHERE_TO_FIND_OUTPUT.md for detailed instructions.


๐Ÿ“‹ Input Parameters

ParameterTypeRequiredDescription
cookieStringStringโœ… YESALL LinkedIn cookies in JSON format from Cookie-Editor
searchUrlStringโœ… YESLinkedIn Sales Navigator search URL from your browser
totalRecordsNumberNoMaximum profiles to scrape (default: 25)
startPageNumberNoPage number to start from (default: 1)
proxyConfigurationObjectRecommendedApify Proxy settings (residential recommended)

Note: Wait times between pages are automatically set to 5-30 seconds for optimal scraping speed and safety.


๐Ÿ“Š Output Format

๐Ÿ“– Detailed Documentation: See OUTPUT_SCHEMA.md for complete field reference, export guides, and integration examples.

Standardized Data Fields

All results include these standardized fields:

{
"employee_linkedin": "https://www.linkedin.com/in/theresa-morgan/",
"employee_full_name": "Theresa Morgan",
"employee_first_name": "Theresa",
"employee_last_name": "Morgan",
"employee_linkedin_headline": "Sr. Director of Recruiting at Zerocater",
"employee_experience_title": "Sr. Director of Recruiting at Zerocater",
"employee_location": "Austin, Texas, United States",
"company_name": "Zerocater",
"company_linkedin": "https://www.linkedin.com/company/1234567/",
"company_description": "Technology company specializing in...",
"company_domain": "zerocater.com",
"company_phone": "+1-555-0100",
"company_industry": "Food Services",
"company_size": "51-200 employees",
"company_location": "Austin, Texas, United States",
"company_country": "United States",
"company_type": "Private Company",
"company_founded": "2010",
"company_specialties": "Catering, Food Technology, Workplace Solutions",
"scrapedAt": "2025-12-23T12:00:00.000Z",
// Legacy fields (backward compatibility)
"name": "Theresa Morgan",
"title": "Sr. Director of Recruiting at Zerocater",
"company": "Zerocater",
"location": "Austin, Texas, United States",
"profileUrl": "https://www.linkedin.com/sales/lead/...",
"avatar": "https://media.licdn.com/...",
"headline": "Helping companies grow faster",
"connectionDegree": "2nd",
"industry": "Technology",
"companySize": "11-50 employees"
}

Field Availability

โœ… Always Available

These fields are extracted from search results:

  • employee_linkedin - Converted to standard LinkedIn profile URL (e.g., /in/username/)
  • employee_full_name, employee_first_name, employee_last_name
  • employee_linkedin_headline, employee_experience_title
  • employee_location
  • company_name
  • company_linkedin - Converted to standard LinkedIn company URL (e.g., /company/123/)
  • company_location

โš ๏ธ Partially Available

These may be present depending on what LinkedIn shows in search results:

  • company_industry - When shown in search results
  • company_country - Extracted from location string
  • company_size - When shown in search results

Note: Some company detail fields (description, domain, phone, type, founded, specialties) may be empty as they typically require visiting individual profile pages, which is not enabled in this configuration.

๐Ÿ“ˆ Dataset Views in Apify Console

When viewing results in Apify Console, you'll see organized tables with these views:

  • Overview - Quick summary (name, title, company, industry, LinkedIn)
  • Employee Details - Comprehensive employee information
  • Company Details - Comprehensive company information
  • All Fields - Complete dataset with all 32+ fields

Each view is optimized for different use cases. Switch between views using the dropdown menu.

Important: LinkedIn URL Format

Employee LinkedIn URLs are automatically converted from Sales Navigator format to standard format:

โŒ Before: https://www.linkedin.com/sales/lead/ACwAAAyQDL4Bfv32QawPD7a77qjmta4xfysjFwQ,NAME_SEARCH,jIYH

โœ… After: https://www.linkedin.com/in/theresa-morgan/

Company LinkedIn URLs are similarly converted:

โŒ Before: https://www.linkedin.com/sales/company/1234567

โœ… After: https://www.linkedin.com/company/1234567/

This makes the URLs directly usable for viewing profiles in a regular browser without Sales Navigator access.


๐ŸŽฏ Success Tips

TipWhy It Matters
โœ… Use ALL cookies (20-25)Single cookie authentication often gets blocked
โœ… Enable residential proxiesLinkedIn blocks datacenter IPs aggressively
โœ… Fresh cookiesRe-export cookies weekly or when you see errors
โœ… Start smallTest with 5-10 records before large scrapes
โœ… Match geographyUse proxies from your LinkedIn account's country

๐Ÿ”ง Common Issues & Solutions

โŒ "cookieString is REQUIRED" error

Problem: You didn't provide cookies.

Solution:

  1. Install Cookie-Editor Chrome extension
  2. Go to linkedin.com/sales (logged in)
  3. Export โ†’ JSON โ†’ Copy all
  4. Paste into cookieString field

โŒ "Authentication failed" error

Problem: Cookies are expired, incomplete, or invalid.

Solution:

  1. Re-export fresh cookies from Cookie-Editor
  2. Make sure you're on linkedin.com/sales when exporting
  3. Verify the JSON has 20-25 cookies (not just 1-2)
  4. Check that li_at and li_ep_auth_context cookies are included

โŒ "Page appears to be blank" error

Problem: LinkedIn is blocking your IP address.

Solution:

  1. Enable residential proxies:
    {
    "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
    }
    }
  2. Wait 15-30 minutes between attempts
  3. Try a different proxy country

โŒ "Search results did not load" error

Problem: Invalid URL or LinkedIn is blocking.

Solution:

  1. Test your search URL in a browser first
  2. Make sure cookies are fresh (exported today)
  3. Enable residential proxies if not already
  4. Reduce totalRecords to 10-25 for testing

โŒ Rate limit / Too many requests

Problem: Making requests too quickly.

Solution:

  1. Reduce totalRecords to smaller batches (e.g., 25-50)
  2. Run smaller batches over time
  3. Wait 30-60 minutes between runs

Note: Wait times between pages are automatically optimized (5-30 seconds).


๐Ÿช Why Do I Need ALL Cookies?

LinkedIn sees:
- โœ… Valid authentication
- โŒ Missing JSESSIONID
- โŒ Missing session cookies
- โŒ Suspicious pattern
Result: BLOCKED!

ALL Cookies (โœ… High Success Rate):

LinkedIn sees:
- โœ… Valid authentication (li_at)
- โœ… Valid session (JSESSIONID)
- โœ… Sales Navigator context (li_ep_auth_context)
- โœ… All session cookies present
Result: Looks legitimate!

Success rate: 90%+ with all cookies vs 20-30% with just li_at


  1. Install: Cookie-Editor for Chrome

  2. Navigate to Sales Navigator: https://www.linkedin.com/sales (must be logged in)

  3. Click Extension Icon: Look for the ๐Ÿช icon in your browser toolbar

  4. Export:

    • Click the "Export" button at the bottom
    • Select "JSON" from the format dropdown
    • The cookies are now in your clipboard!
  5. Paste: Into the Actor's cookieString input field

That's it! You should see a JSON array with 20-25 cookies.


๐Ÿ’ก Best Practices

  1. Always test first: Run 5-10 records before large scrapes
  2. Use residential proxies: Required for consistent success
  3. Fresh cookies: Export right before scraping
  4. Respect limits: Don't scrape thousands at once
  5. Monitor logs: Check for warnings or errors
  6. Weekly refresh: Re-export cookies every 7 days

โš ๏ธ Important Notes

LinkedIn Terms of Service: This Actor is for educational and research purposes. Make sure you comply with LinkedIn's Terms of Service and applicable laws.

Cookie Security:

  • ๐Ÿ”’ Never share cookies publicly
  • ๐Ÿ”’ Cookies provide full access to your LinkedIn account
  • ๐Ÿ”’ Re-export fresh cookies regularly
  • ๐Ÿ”’ Use Apify's secret input feature

Rate Limiting: LinkedIn actively monitors scraping activity. Use appropriate delays and proxies to avoid account restrictions.

Proxy Requirement: Residential proxies are strongly recommended. LinkedIn actively blocks datacenter IPs and proxies.


๐Ÿ†˜ Need Help?

  1. Check your cookies: Make sure you have 20-25 cookies, not just 1
  2. Enable proxies: Residential proxies are essential
  3. Test your URL: Verify it works in your browser first
  4. Fresh cookies: Export new cookies if you see auth errors
  5. Start small: Test with 5 records before scaling up

๐Ÿ“Š Example Successful Run

โœ… Successfully set 22 cookies
โœ… Using proxy: 10.0.35.159:8011 (US residential)
โœ… Page loaded successfully
โœ… Authentication successful!
โœ… Found 25 results
โœ… Extracted 25 profiles
โœ… Saved to dataset
โœ… Scraping complete!

Happy Scraping! ๐ŸŽ‰

Having issues? Make sure you exported ALL cookies (not just li_at) and enabled residential proxies!