Linkedin Mutual Connections Parser avatar
Linkedin Mutual Connections Parser
Try for free

1 day trial then $10.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

1 day trial then $10.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

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "url": "https://www.linkedin.com/in/thomas-l/",
11    "cookies": [
12        {
13            "domain": ".linkedin.com",
14            "expirationDate": 1716940616.08443,
15            "hostOnly": false,
16            "httpOnly": false,
17            "name": "test",
18            "path": "/",
19            "sameSite": "no_restriction",
20            "secure": true,
21            "session": false,
22            "storeId": "0",
23            "value": "fake",
24            "id": 1
25        }
26    ]
27};
28
29(async () => {
30    // Run the Actor and wait for it to finish
31    const run = await client.actor("saswave/linkedin-mutual-connections-parser").call(input);
32
33    // Fetch and print Actor results from the run's dataset (if any)
34    console.log('Results from dataset');
35    const { items } = await client.dataset(run.defaultDatasetId).listItems();
36    items.forEach((item) => {
37        console.dir(item);
38    });
39})();
Developer
Community logoMaintained by Community
Actor metrics
  • 3 monthly users
  • 87.3% runs succeeded
  • 1.0 days response time
  • Modified 12 days ago

You might also like these Actors