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

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

Node.js

Python

curl

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "url": "https://www.linkedin.com/in/thomas-l/",
9    "cookies": [{
10            "domain": ".linkedin.com",
11            "expirationDate": 1716940616.08443,
12            "hostOnly": False,
13            "httpOnly": False,
14            "name": "test",
15            "path": "/",
16            "sameSite": "no_restriction",
17            "secure": True,
18            "session": False,
19            "storeId": "0",
20            "value": "fake",
21            "id": 1,
22        }],
23}
24
25# Run the Actor and wait for it to finish
26run = client.actor("saswave/linkedin-mutual-connections-parser").call(run_input=run_input)
27
28# Fetch and print Actor results from the run's dataset (if there are any)
29for item in client.dataset(run["defaultDatasetId"]).iterate_items():
30    print(item)
Developer
Community logoMaintained by Community
Actor metrics
  • 4 monthly users
  • 90.0% runs succeeded
  • 1.0 days response time
  • Created in Nov 2023
  • Modified 20 days ago

You might also like these Actors