Get LinkedIn connections
TL;DR
About
The run opens the Connections page under My Network in the signed-in browser and scrolls the list until no new cards appear for about 6 seconds, or until your count is reached. It returns whatever is in the page at that point, so a slow lazy load can end the run with a partial list and no error. Compare connections.length with total to spot a gap, and run again if it matters. Key your spreadsheet on memberUrn rather than publicId, because people rename their vanity URL and the URN stays put. connectedOnText is LinkedIn's own line in your display language, so parse it yourself before sorting by date. There is no email, location or separate company field, and the headline is whatever each person typed. Large networks take a while, since every card must load on a single scrolling page before anything comes back.
Input
count optionalHow many connections to return, newest first. Default 100. LinkedIn loads 10 per step, so a large count on a large network takes long and counts against the account: ask for all of them only when you need them.
Default: 100Output
total requiredThe connection count LinkedIn shows above the list.
complete requiredTrue when connections holds every connection (total reached). False when count stopped the list first.
connections requiredNewest first, as LinkedIn sorts them by default.
Example output
Shape only: placeholder values generated from the output schema, not a real run.
{
"total": 3,
"complete": true,
"connections": [
{
"name": "Example",
"headline": "…",
"publicId": "abc123",
"memberUrn": "abc123",
"profileUrl": "https://example.com/item/123",
"connectedOnText": "…"
}
]
}