![Linkedin Mutual Connections Parser avatar](https://images.apifyusercontent.com/_wtAnfLgG9AUHKdkjX0w3by8XdgRNMDNzqA_DgpT_Fg/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNEx2UlQ1R04zcmhINlFtWTUvNWdkSlBaUXVQd1lHb0ZZS24tbGlua2VkaW4taWNvbi0yNTZ4MjU2LTZ5cWFrbTdsLnBuZw.webp)
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](https://images.apifyusercontent.com/_wtAnfLgG9AUHKdkjX0w3by8XdgRNMDNzqA_DgpT_Fg/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNEx2UlQ1R04zcmhINlFtWTUvNWdkSlBaUXVQd1lHb0ZZS24tbGlua2VkaW4taWNvbi0yNTZ4MjU2LTZ5cWFrbTdsLnBuZw.webp)
![Linkedin Mutual Connections Parser](https://images.apifyusercontent.com/_wtAnfLgG9AUHKdkjX0w3by8XdgRNMDNzqA_DgpT_Fg/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vNEx2UlQ1R04zcmhINlFtWTUvNWdkSlBaUXVQd1lHb0ZZS24tbGlua2VkaW4taWNvbi0yNTZ4MjU2LTZ5cWFrbTdsLnBuZw.webp)
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 more
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify 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": 1742798742.32278,
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": "To be changed. Check readme on how to extract cookie session from browser",
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 console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
36 const { items } = await client.dataset(run.defaultDatasetId).listItems();
37 items.forEach((item) => {
38 console.dir(item);
39 });
40})();
41
42// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
- 14 monthly users
- 5 stars
- 43.2% runs succeeded
- Created in Nov 2023
- Modified 4 months ago
Categories