Back to blog
tutorial·ScriptBase Team·2 min read

Scrape LinkedIn Profiles Without Logging In

Get name, headline, company, location and follower counts from any public LinkedIn profile as structured JSON. No login, no cookies, no Sales Navigator seat.

linkedinprofileslead-generationno-code

Most LinkedIn scrapers ask you to hand over your own login — a session cookie, a li_at token, sometimes your password. That is how they get blocked, and it is your account that eats the ban. It is also how the cheapest listings on the market earn a 3.5-star rating: they work until they don't, and when they don't, it is your problem.

The LinkedIn Profile Scraper reads public profiles without any of that.

What you get

{
"fullName": "Bill Gates",
"headline": "Chair, Gates Foundation",
"location": "Seattle, Washington",
"currentCompany": { "name": "Gates Foundation" },
"counts": { "followers": 37000000, "connections": 500 },
"about": "Co-chair of the Bill & Melinda Gates Foundation…"
}

Two things this actor tells you that others quietly don't.

connections caps at 500. LinkedIn itself stops reporting exact connection counts there — a profile showing 500 may have 500 or 50,000. That ceiling is LinkedIn's, not ours, and any tool claiming a precise number above it is inventing one.

headline can be absent. The data comes from two independent sources, and they are near-complementary: one carries about, location and employment history, the other carries headline. Which fields are populated depends on which source answered. We say so plainly, because a field that is sometimes present breaks pipelines that assume it is always there.

Run it without code

  1. Open the LinkedIn Profile Scraper on Apify.
  2. Paste a profile URL — linkedin.com/in/username. Country subdomains like uk.linkedin.com/in/… resolve to the same person and are billed once.
  3. Click Start and export the row as JSON, CSV or Excel.

No login, no cookies, no browser extension, no Sales Navigator.

Run it from code

Terminal window
curl -X POST \
"https://api.apify.com/v2/acts/scriptbase~linkedin-profile-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "url": "https://www.linkedin.com/in/williamhgates" }'

What it will not give you

No email addresses — LinkedIn does not publish them, and tools that return one are guessing from name and employer, so test that guess before you trust it. Person profiles only: company and school pages are rejected rather than charged for a call that cannot fill the fields. And public profiles only, because a profile that requires sign-in is one this actor deliberately will not reach.