LinkedIn Search Export

Collect LinkedIn search results

Share:  
Table of Contents

Extract every result of a LinkedIn Search - Profiles, Companies, Content,.. - to a single file.

🆕 Updated: Now handles more search categories: People, Jobs, Content, Companies, Groups, and even Schools!

Do you want to build a qualified database of contacts fitting your target. But launching a LinkedIn search and copy/pasting is your only option? Not anymore!

Our updated LinkedIn Search Export tool lets you automatically turn a LinkedIn Search into a single spreadsheet with every result of every page.

LinkedIn Automation and Search Extraction are the best way to very quickly create a lead file for your commercial team, recruitment purposes and much more.

Our Solution

Launch LinkedIn Search Export that will export in CSV the URL profile link of every person appearing in the search results.
You can also decide on which circles (1st, 2nd &/or 3rd) you wish to launch the search.


⬆️ This is an example of what the bot will do, all by itself & just for you 💖

Extract all your connections in a single file

To scrape your first connections, use http://linkedin.com/mynetwork/invite-connect/connections as an input (10 profiles per page).

You can do the same with all your Network Suggestions by using https://www.linkedin.com/mynetwork/ as an input.

Combine API and set your Prospection process on automatic.

Combine it with our other LinkedIn APIs, LinkedIn Network Booster for example, and you'll be able to connect at scale with the people you extracted.

Do you want to find the email addresses of these people ? Use LinkedIn Profile Scraper with Hunter.io or DropContact.io.

Easy step-by-step tutorial to extract your LinkedIn Searches

1. Create an account on Phantombuster.com 💻

If you haven't already, create a FREE account on Phantombuster. We browse the web for you so you can focus on not automatable tasks.

2. Click on 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 🔑

Since Phantombuster will access LinkedIn for you, it needs to be logged on your LinkedIn account. For that you simply need to copy/paste your session cookie in the session cookie field:

  • 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. Decide which search you want to launch

In the search text field, simply enter the terms you want to search on the LinkedIn search engine. For example SpaceX engineer or iOS developer or even CEO!

You can also input an URL to a Google Spreadsheet (or an URL to a CSV file) containing a list of searches to run. It's that easy! (make sure your file is publicly accessible)

More advanced search queries are also possible using keywords allowed by LinkedIn: OR & AND (see Using Boolean Search) and even school:, company:... (see Using Search Operators).

Even more advanced: You can also paste into the search field or your spreadsheet a LinkedIn search page URL. That is, make an advanced search yourself on LinkedIn and copy-paste the URL you're sent to into the field. If you're using a spreadsheet, you can chain search URLs from different categories (people, companies, etc.).
You can also append in the search page URL &page=x (x represents a page number) to let know the API where it should start to scrape data in the LinkedIn result.

6. Which circles 💫?

If you're scraping a list of people, the three checkboxes allow you to target specific degrees of connections. If you want to scrape your connections, only enable the 1st checkbox. If you want to only find people that are close to you but not yet connected, enable the 2nd checkbox. And for the 3rd+ checkbox, well... You get the picture.

7. Which category?

If you enter specific search terms (not search URLs), you can specify which category to search in. LinkedIn Search Export now handles searches for People, Jobs, Companies, Groups, and Schools.

8. How many pages of results?

Define here the number of pages you want the bot to scrape.
Remember that the bot connects to your account in order to execute those scraping operations. In order to not exceed LinkedIn daily user's requests, Phantombuster advises you to use this API wisely.

See LinkedIn Commercial Use Limit.

Note: We noticed that LinkedIn will not return more than 100 result pages.

Click on Launch & Enjoy!

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

Output

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

  • url (LinkedIn profile URL)
  • name
  • firstName
  • lastName
  • job
  • location
  • query (Corresponding search query that lead to this result)

Share this API

Your friends & colleagues need to know about this!