Most LinkedIn scrapers have a dirty secret: they need your li_at session cookie. That means logging in, handing over your credentials, and risking a permanent ban on your LinkedIn account.
We built an alternative. A LinkedIn scraper that works 100% without cookies, using search engines and public APIs. 8 scraping modes, free email discovery, and pay-per-result pricing starting at $1/1K.
Here's how it works and why it matters.
The Problem With Cookie-Based Scrapers
Every major LinkedIn scraper on the market asks for your li_at cookie:
- Bebity: Requires cookie, $29/month flat fee
- Caprolok: Cookie required, "2000 employees in 60 seconds"
- Most GitHub scrapers: First line of the README: "Paste your li_at cookie"
The moment you share your session cookie with a third-party tool, LinkedIn can detect the abnormal access pattern and permanently ban your account. No warning, no appeal. Your connections, messages, and professional network — gone.
The Cookie-Free Approach
Our scraper uses three data sources that don't require authentication:
1. Search Engine Results (SERP)
LinkedIn profiles are indexed by Google, Brave, and Yahoo. When you search site:linkedin.com/in/ "software engineer" "San Francisco", these engines return profile cards with:
- Full name
- Headline/title
- Location
- Profile URL
We query 3 engines in parallel (Brave + Yahoo + Google) and merge the results. If one engine rate-limits, the others still deliver.
2. Public LinkedIn Pages (999 Metadata)
Even when LinkedIn returns a "login wall" (HTTP 999), the page still contains rich SEO metadata in <meta> tags:
-
og:title‚Üí "Tim Cook - Apple | LinkedIn" -
og:description‚Üí Brief about/summary text -
og:image‚Üí Profile photo URL
Our scraper extracts name, headline, location, and photo from these tags — no authentication needed.
3. Guest APIs
LinkedIn's Voyager API has public endpoints that return structured data without a cookie. We use these for job listings and company pages.
8 Scraping Modes
| Mode | What You Get | Price/1K |
|---|---|---|
| Profiles | Name, headline, location, company, email | $2.50 |
| Companies | Industry, size, HQ, website, specialties | $2.00 |
| Jobs | Title, salary, location, description | $1.00 |
| Posts | Text, engagement, hashtags, video detection | $1.50 |
| Search | Find profiles by keywords + location | $2.00 |
| Search Profiles | Search + fully scrape each result | $4.00 |
| Profile Complete | Profile + posts + engagement score | $4.00 |
| Company Employees | Find people at a company | $2.50 |
Code Examples
Python: Scrape 10 LinkedIn Profiles
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("get-leads/linkedin-scraper").call(run_input={
"mode": "profiles",
"urls": [
"https://www.linkedin.com/in/williamhgates",
"https://www.linkedin.com/in/satyanadella",
],
"maxResults": 10,
"discoverEmails": True,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"{item['name']} - {item.get('email', 'no email')} - {item['headline']}")
Python: Search for Data Scientists in NYC
run = client.actor("get-leads/linkedin-scraper").call(run_input={
"mode": "search",
"searchQuery": "data scientist",
"location": "New York",
"maxResults": 20,
})
Python: Find All Employees of a Company
run = client.actor("get-leads/linkedin-scraper").call(run_input={
"mode": "company_employees",
"urls": ["https://www.linkedin.com/company/microsoft"],
"maxResults": 50,
})
Optional: Enhanced Mode (With Cookie)
If you want richer data, you can optionally provide your li_at cookie. This unlocks:
- Profiles: +experience, education, skills, certifications, languages (5x more fields)
- Company Employees: 100+ employees instead of ~20
- Search Profiles: Better discovery + richer enrichment
The cookie is optional — every mode works without it. Use it when you need the extra depth.
How It Compares
| Feature | Get Leads | HarvestAPI | Dev Fusion | Bebity |
|---|---|---|---|---|
| Profiles/1K | $2.50 | $4.00 | $10.00 | $29/mo |
| Cookie required | No | No | No | Yes |
| Modes | 8 | 15 actors | 1 | 2 |
| Email discovery | Free | +$6/1K | Built-in | No |
| Memory | 256 MB | 256 MB | 256 MB | 4096 MB |
Try It
- Go to All-in-One LinkedIn Scraper on Apify
- Click "Try for free" — you get $5 of free platform credits
- Select a mode, paste URLs or enter a search query
- Click Start — results in seconds
No signup, no cookies, no risk.
Published by Get Leads — building data tools for lead generation and sales prospecting.
Top comments (0)