How to scrape LinkedIn profiles safely (2026 guide)
LinkedIn is the single richest source of B2B lead data on the open web — and the hardest to scrape because they aggressively block bots. On Kavex you scrape with your own LinkedIn session cookie, which means our requests look identical to your normal browsing. We never see your password, the cookie is encrypted at rest, and you can remove it anytime.
This guide covers the safe way to do it: which fields you can pull, how the cookie flow works, and how Kavex compares to Phantombuster and direct-DIY approaches.
What you can pull from a LinkedIn profile
Kavex extracts up to 26 fields per profile when you enable all toggles. Always-included fields: name, headline, location, current company.
- Profile content: about summary, past work history, education, skills, languages, certifications
- Background sections: volunteer experience, honors & awards, publications, patents, projects, courses, test scores
- Signals: connections count, followers count, verified badge, "open to work" flag, "hiring" flag, pronouns
- Media: profile photo URL, banner image URL
- Quality grade per row (full / partial / name_only) so you know what you got
Why you need a cookie
LinkedIn locks profile pages behind a login wall. Without a session cookie, every request to /in/username gets a "Sign Up" wall and zero data. The cookie tells LinkedIn "this is a real session" so the full profile renders.
You provide your own li_at cookie (the same one your browser uses). We encrypt it with AES-256-GCM and only decrypt it on the scraper at run time — never expose it in the UI, never log it, never send it back to your browser.
Step-by-step scrape
Once your cookie is saved, scraping is a paste-and-go flow.
- Settings → LinkedIn Cookie → paste your li_at value → click Test → wait for "Active" badge
- /configure/linkedin-profiles → paste profile URLs or @handles (one per line)
- Toggle which of the 20 optional fields you want
- Submit. Results stream in with ~10s per profile (we rate-limit so LinkedIn doesn't flag you)
How is this different from Phantombuster?
Phantombuster bills per-execution-time (€56-€352/month for hours of phantom usage). Kavex bills per-result (3 credits = $0.003 per profile). On a typical 500-profile recruiting list, Phantombuster runs through 30+ minutes of phantom time; Kavex finishes in 1.5k credits ($1.50). The savings compound on regular use.
Tools mentioned in this guide
How Kavex compares to alternatives
We don't hide from comparisons. Each link below is an honest side-by-side breakdown.
Frequently asked questions
Keep reading
Ready to try Kavex?
1,000 free credits on signup. No credit card.
Get started