LinkedIn Sales Navigator URL Converter

Convert Sales Navigator URLs to LinkedIn profile URLs

Share:  
Table of Contents

Convert your Sales Navigator URLs to default LinkedIn profile URLs

Got a list of Sales Navigator profile URLs and want to their regular profile URLs?
Well that's all that API does :) And you don't even need a Sales Navigator account for it to work!
Not that for converting the Sales Navigator URL, the API needs to visit the profile for that URL.

What will you need? ⚙️

  • Session cookie: Your session Cookie from LinkedIn
  • Spreadsheet URL: Your spreadsheet URL as input
  • Number of lines to process per launch: How many URLs to convert from your spreadsheet (all of them if empty)

(You already have all that? Click straight away on "Use this API")

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:

  • 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. Add a Google Spreadsheet 📑

Below your session cookies you’ll find Spreadsheet URL.

Add in the Spreadsheet URL textbox the link of a Google spreadsheet with this same format (Share option must be OPEN).

Your spreadsheet should contain a list of LinkedIn Sales Navigator Profile URLs (one link per row).

You can specify the name of the column that contains the profile links. Simply enter the column name in the next text field.
You can also enter a single SN Profile URL directly in the field.

Click on Launch & Enjoy!

It’s done! All that is left to do is to click on "launch" and watch your API do the work for you!

Limits

Please be aware that this API, like most of our LinkedIn APIs, will manipulate your own account on your behalf.

The API needs to visit the profile to convert the URL and we've noticed that visiting more than 80 profiles per day will almost always result in LinkedIn invalidating your session cookie (that is, logging you out). In that regard we recommend spacing your launches.

Output

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

  • url (LinkedIn Sales Navigator profile URL)
  • defaultUrl (LinkedIn default Profile URL)

Share this API

Your friends & colleagues need to know about this!