LinkedIn Profile Scraper

Collect valuable information you need from LinkedIn profiles, including emails

Share:  
Table of Contents

New! Find 20x more emails with Phantombuster Email Discovery.


Get the most out of LinkedIn

Salesman, recruiters, CEOs use it daily. But are you getting the most out of your LinkedIn account?

Are you able to efficiently build qualitative and instantly actionable lists of prospects, potential hirees and new contacts yet?

LinkedIn Profile Scraper is the tool to have the best return to time spent on LinkedIn for you and your team.

Turn LinkedIn Profile URLs into detailed data.

LinkedIn Profile Scraper takes as an input a list of LinkedIn Profile URLs.

It will visit on your behalf each profile and extract every single publicly available data from it: Name, title, bio, experiences, education, skills, languages, etc.

It's all done in the cloud so you can close your laptop and focus on other tasks.

Get real, verified, email addresses.

For most 1st degree connection, you will obtain their email addresses and phone number.

For people you're not connected to, Phantombuster Email Discovery mode will take over and provide you with verified professional email addresses that do not bounce. Quality first.

Tutorial

What will you need? ⚙️

  • Session cookie: Your session cookie from LinkedIn. (Download our browser extension for Firefox or Chrome)
  • Spreadsheet URL: The link of a Google Spreadsheet with LinkedIn profile URLs in it.

Which steps to follow?

1. Create an account on Phantombuster.com 💻

If you haven't already, create a FREE account on Phantombuster. Our service will browse the web for you. It’s a website automator which runs in the cloud. Once done we'll follow up.

2. Use this API on your account.👌

Now that you're connected to Phantombuster, Click on the following button (it will open a new tab).

3. Click on Configure me!

You'll now see the 3 configuration dots blinking. Click on them.

4. LinkedIn authentication 🔑

Because the script will manipulate LinkedIn for you, it needs to be logged on your LinkedIn account. For that you just need to copy paste your session cookie in the script argument:

If you're operating from another browser and/or want to do it manually, here is how to do it.

5. Add a Google Spreadsheet 📑

Below your session cookie you’ll find Spreadsheet URL

Enter in the text field a link of a Google Spreadsheet with this same format (only column A is mandatory):

Add every linkedIn profiles link in column A (one link per row)

Please make sure your file is publicly accessible!

You can also enter a CSV file URL, it will work the same :)

6. Email discovery (optional)

LinkedIn allows its users access to the email addresses of their 1st degree connections.

However, if you’re looking for the email addresses of people you’re not connected to, picking an email discovery services is paramount.

As a Phantombuster user, you have a daily limit of email requests. (You can see that figure down below next to your execution time).

Use your credit by selecting "Phantombuster" as your email discovery service.

Already have a subscription with another data enrichment service such as Dropcontact.io or Hunter.io? Select a service and past your API key in the field below.

Important note: When email discovery is enabled, the API will open LinkedIn company pages to get company domains. For this reason, we recommend you limit your scraping to 40 profiles per day if you're using it from a free LinkedIn account.

Click on Launch & Enjoy!

It’s done! Click on "launch" to start the extraction.

Phantombuster will do the busy work for you and visit LinkedIn on your behalf. After a while you will find yourself with all the data neatly organized in a .csv file. Feel free to import it in your CRM or use it as is.

⚙️️Repetition setup ⚙️

Now that your API is ready, you should set up repetitive launches. That way, your scraping will be spread over days, weeks or even months.

Every time the API is launched, it will scrape 10 profiles and then stop. (This number can be changed in the configuration, the maximum is 100 per launch even though we don't recommend scraping so much.)

To do so, simply hit the “Settings” button to define when your API is launched:

Then, select a frequency:

Don't forget to click 💾 Save at the bottom of the page!

For example, 10 profiles scraped per launch, 8 launches per day: you'll have a total of 80 profiles per day. We recommend not exceeding these values with this API. (Read more below about LinkedIn's limits.)

Limits

We recommend visiting a maximum of 80 profiles per day if you have a free LinkedIn account.

Visiting too many profiles often results in LinkedIn invalidating your session cookie (that is, logging you out). We recommend launching 4 launches a day and scrape 20 profiles.

If you have a Premium, Sales Navigator or Recruiter LinkedIn account, those rates are much higher. Please see these official LinkedIn help pages: Commercial Use Limit and Finding People on LinkedIn.

Last thing: When email discovery is enabled, we recommend you divide any limit by 2 since the discovery service needs 2 requests to do its job (that is, 40 profiles per day).

Output

This API will output CSV and/or JSON containing the following fields:

  • imgUrl
  • headline
  • company (What is the name of the company she/he is currently working for)
  • school
  • location (Where is she/he located)
  • connections (connections count)
  • profileUrl
  • connectionDegree
  • linkedinSalesNavigatorUrl
  • mutualConnectionsUrl
  • description
  • firstName
  • lastName
  • fullName
  • subscribers (How many subscribers does she/he have)
  • companyUrl (What is the url of the company she/he is currently working for)
  • jobTitle (What is her/his current job title)
  • jobDescription (Description of the current job)
  • connectionsUrl (The 'See Connections' search URL)
  • mail (email address if 1st degree connection)
  • mailFromHunter (Discovered email (see 'Email discovery' section))
  • profileImageUrl
  • phoneNumber
  • twitter
  • facebook
  • im
  • birthday
  • connectedOn (date of connection (if connection))
  • phone (public phone number)
  • email from Dropcontact.io (result of an email request with Dropontact (if activated))
  • email from Hunter.io (result of an email request with Hunter (if activated))
  • email from Phantombuster (result of an email request with Phantombuster (if activated))
  • skill (all skills and endorsements for each one)

Share this API

Your friends & colleagues need to know about this!