Linkedin Mutual Connections Parser avatar

Linkedin Mutual Connections Parser

Try for free

3 days trial then $25.00/month - No credit card required now

View all Actors
Linkedin Mutual Connections Parser

Linkedin Mutual Connections Parser

saswave/linkedin-mutual-connections-parser
Try for free

3 days trial then $25.00/month - No credit card required now

Allows you to extract all informations from mutual connections of a linkedin profile url (1st and 2nd). Full name, jobtitle, premium status, followers, linkedin url, network distance, location, number of mutual connections

You can access the Linkedin Mutual Connections Parser programmatically from your own Python applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9    "url": "https://www.linkedin.com/in/thomas-l/",
10    "cookies": [{
11            "domain": ".linkedin.com",
12            "expirationDate": 1742798742.32278,
13            "hostOnly": False,
14            "httpOnly": False,
15            "name": "test",
16            "path": "/",
17            "sameSite": "no_restriction",
18            "secure": True,
19            "session": False,
20            "storeId": "0",
21            "value": "To be changed. Check readme on how to extract cookie session from browser",
22            "id": 1,
23        }],
24}
25
26# Run the Actor and wait for it to finish
27run = client.actor("saswave/linkedin-mutual-connections-parser").call(run_input=run_input)
28
29# Fetch and print Actor results from the run's dataset (if there are any)
30print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
31for item in client.dataset(run["defaultDatasetId"]).iterate_items():
32    print(item)
33
34# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

Linkedin Mutual Connections Parser API in Python

The Apify API client for Python is the official library that allows you to use Linkedin Mutual Connections Parser API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include:

Developer
Maintained by Community
Actor metrics
  • 19 monthly users
  • 5 stars
  • 57.7% runs succeeded
  • Created in Nov 2023
  • Modified 4 months ago