LinkedIn Companies Employees

Do your homework, know everything about your buyer's personae

Share:  
Table of Contents

Get employee information from targeted companies

With a list of companies, it can take ages to go through all the "employee pages". Let our API do the work and collect a CSV with all the data you need.

Our Solution

Gather company LinkedIn page URLs or LinkedIn company IDs and fill a Google Spreadsheet with those. Once done, our agent will process each row and collect data from all the employees of the listed companies.

What will you need?

For this API you will just need three things:

  • Session cookie: Your session cookie from LinkedIn.
  • Spreadsheet URL: Link to a Google Spreadsheet with LinkedIn company URLs.
  • Employee pages to go through: 10 by default. You can request for more or fewer pages per company (please be gentle, scraping too many pages in a short period of time is not recommended)

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 🔑

(You already know how to get your sessionCookie? skip this part)
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:

  • Using Chrome, go to your LinkedIn homepage and open the inspector
    → Right click anywhere on the page and select “Inspect”
    CMD+OPT+i on macOS
    or
    F12 or CTRL+MAJ+i on Windows

  • Locate the “Application” tab

  • Select “Cookies” > “http://www.linkedin.com” on the left menu.

  • Locate the “li_at” cookie.

  • Copy what’s under “Value” (Double click on it then Ctrl+C) and paste it into your script Argument)

// How to access your cookies with Firefox and Safari//

5. Google spreadsheet

Create a google spreadsheet and fill column A with:

  • "LinkedIn Company URL" like: https://www.linkedin.com/company/phantombuster/
    or
  • "LinkedIn Company ID" like: 5000463

Click on Launch & Enjoy!

It’s done! All that is left to do is to click on "launch" to try your script!

More bots like this one will be added to Phantombuster,

stay tuned & check our API store!💗

⚙️️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 companies and then stop. (This number can be changed in the configuration.)

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 companies per launch, 4 launches per day: you'll have a total of 40 companies per day. We recommend not exceeding these values with this API.

Output

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

  • url (LinkedIn profile URL)
  • name
  • job (Past job)
  • location (Where is she/he based)
  • currentjob (Current position)

Share this API

Your friends & colleagues need to know about this!