← All operations

List your LinkedIn connections

Find your connections by name, or list them one window at a time.

connections.list · $0.01 per completed request

When to use it

Use it to check whether you are connected to someone and to get their profile URL.

Request

FieldTypeNotes
querystringNonblank native name query. Provider matching rules are not exact-name guarantees.
cursorstringOpaque single-use token for a retained Relay-owned list page, bound to account, operation, and invitation direction. Omit initially; use the successor cursor after each successful response. It permits the next observed scroll, not guaranteed new rows. Concurrent use returns CURSOR_IN_USE; consumed, unknown, mismatched, or closed tokens return INVALID_CURSOR. Cancellation/failure closes the affected chain; disconnect, account mismatch, browser closure, and shutdown invalidate network cursors. Restart cannot restore them. No time expiry or collection quota is imposed. Release one idle token with DELETE /v1/cursors/{cursor} (CLI: relay release <cursor>) when finished, or disconnect to close all held pages. Release consumes the token and leaves other pages and the browser connected. Search cursors cannot be released. A failed close with the page still open returns CURSOR_RELEASE_FAILED and allows explicit retry; cancellation after the claim cannot promise rollback. This token contains no provider URL or browser credential and does not replace API authentication.

HTTP, against the local API:

POST http://127.0.0.1:3447/v1/operations/connections.list
Authorization: Bearer <local-token>
Content-Type: application/json

{}

The same request through the CLI, which adds the local token for you:

relay connections --query "Alex Example"

Response

The result has operation, account, data, source and completeness. See Results. Fields in data:

FieldTypeNotes
querystringThe normalized native query, present only for queried calls.
itemsarray of object requiredObserved connections in provider order.
items[].profileUrlstring requiredCanonical profile URL identifying this connection.
items[].namestring | null required
items[].headlinestring | null required
items[].connectedDateTextstring | null requiredDisplayed connection date text; no timestamp or timezone is inferred.

For the exact contract, run relay schema.

Price

$0.01 per completed request. No subscription. Known failures are not charged. The $5 welcome credit covers 500 requests.

Onboard your agent

Other operations

Get a LinkedIn profile · Get a LinkedIn company · List people at a LinkedIn company · Search LinkedIn people · Search LinkedIn companies · List LinkedIn invitations · List LinkedIn conversations · Read a LinkedIn conversation · Send a LinkedIn message · List LinkedIn posts by a member or company · Get a LinkedIn post · List comments on a LinkedIn post · List reactions on a LinkedIn post · Read your LinkedIn feed · List LinkedIn notifications