Get Connections for Linkedin
Pricing
$0.01 / actor start
Go to Apify Store
Under maintenance
Get Connections for Linkedin
Export your LinkedIn 1st-degree connections to JSON/CSV. Ideal for personal CRM, network backups, and lead management. Uses search pagination for stability and supports residential proxies. Retrieves Name, Headline, and Profile URL.
Pricing
$0.01 / actor start
Rating
0.0
(0)
Developer

Addeus
Maintained by Community
Actor stats
0
Bookmarked
7
Total users
5
Monthly active users
3.9 days
Issues response
5 days ago
Last modified
Categories
Share
LinkedIn Get Connections Actor
This Apify actor fetches the most recent LinkedIn connections from the connections page.
Features
- Fetches up to 30 most recent LinkedIn connections
- Extracts connection details (name, profile URL, headline, connection date)
- Automatic error handling with screenshot and HTML capture
- Uses authentication cookies for LinkedIn access
Input
The actor accepts the following input parameters:
{"li_at_cookie": "AQEDAT...YOUR_COOKIE_HERE","userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","maxConnections": 30}
Parameters
li_at_cookie(required): Your LinkedIn authentication cookie (li_at)userAgent(optional): Custom user agent string (defaults to Chrome on Windows)maxConnections(optional): Maximum number of connections to fetch (default: 30)
Output
The actor returns an array of connection objects:
{"connections": [{"name": "John Doe","profileUrl": "https://www.linkedin.com/in/johndoe/","urnProfileUrl": "https://www.linkedin.com/in/ACoAACtA1yABHmdeNELohPaBF8626F-Qg9rg11w","connectionDate": "Connexion le 15 janvier 2025"}],"totalFetched": 30,"timestamp": "2025-01-15T10:30:00.000Z"}
How to Get Your LinkedIn Cookie
- Open LinkedIn in your browser and log in
- Open Developer Tools (F12)
- Go to Application/Storage > Cookies > https://www.linkedin.com
- Find the cookie named
li_atand copy its value
Error Handling
When an error occurs, the actor automatically:
- Captures a full-page screenshot
- Saves the complete HTML content
- Stores debug information with error details
All error artifacts are saved to the Apify Key-Value Store with timestamps.
Notes
- LinkedIn connections are automatically sorted by most recent
- The actor navigates to: https://www.linkedin.com/mynetwork/invite-connect/connections/
- Respects LinkedIn's rate limits with appropriate delays
- Uses headless Chrome for automation
