LinkedIn is the holy grail of B2B prospecting. But when it comes to extracting data at scale, reality kicks in:
The result? Incomplete databases, poor segmentation, and lost opportunities.
Apify provides a cookie-free, scalable, and reliable way to scrape LinkedIn leads at scale.
With the LinkedIn Profile Details Batch Scraper + EMAIL (No Cookies) actor, you get clean datasets in JSON or CSV format, including:
👉 Example:
Imagine importing structured data like this directly into Salesforce, HubSpot, or Pipedrive — ready for segmentation and outreach.
from apify_client import ApifyClient
import csv
from datetime import datetime
client = ApifyClient("<YOUR_API_TOKEN>")
run_input = {
"profileUrls": [
"https://www.linkedin.com/in/satyanadella",
"https://www.linkedin.com/in/neal-mohan"
]
}
run = client.actor("apimaestro/linkedin-profile-batch-scraper-no-cookies-required").call(run_input=run_input)
dataset_id = run["defaultDatasetId"]
items = list(client.dataset(dataset_id).iterate_items())
def row_from_item(it):
bi = it.get("basic_info", {}) or {}
loc = (bi.get("location") or {})
return {
"full_name": bi.get("fullname"),
"headline": bi.get("headline"),
"company_current": bi.get("current_company"),
"city": loc.get("city"),
"country": loc.get("country"),
"followers": bi.get("follower_count"),
"linkedin_url": bi.get("profile_url"),
}
rows = [row_from_item(it) for it in items]
out_file = f"leads_linkedin_{datetime.utcnow().strftime('%Y%m%d-%H%M%S')}.csv"
with open(out_file, "w", newline="", encoding="utf-8") as f:
w = csv.DictWriter(f, fieldnames=list(rows[0].keys()))
w.writeheader()
for r in rows:
w.writerow(r)
print("Dataset:", f"https://console.apify.com/storage/datasets/{dataset_id}")
print("CSV ready:", out_file)
With just a few lines of Python, you turn LinkedIn into a lead automation engine:
Want to stop scraping profiles one by one and start working with datasets of high-quality LinkedIn leads?
👉 Try it now with Apify: LinkedIn Profile Batch Scraper (No Cookies)
And if you want to go further — building a full lead automation machine that runs 24/7, feeds your CRM, and scores leads automatically —
📩 Contact me at kevinmenesesgonzalez@gmail.com
Let’s turn LinkedIn into your best-performing lead engine.
How to Scrape LinkedIn Leads (Without Cookies) and Build a Lead Machine with Apify was originally published in Coinmonks on Medium, where people are continuing the conversation by highlighting and responding to this story.


