App Logo
linkedin.com

Sales Navigator – Export lead list (all pages)

Export every lead in a LinkedIn Sales Navigator lead list, by list id (from list_lead_lists), looping all pages instead of stopping at the first 25 like get_lead_list. Returns total, the full leads array (salesProfileUrn, salesLeadUrl, name, degree, geoRegion, current title/company, listCount, dateAddedToListAt, crmStatus) and a `complete` flag so a truncated export can never be mistaken for a whole one. Needs a Sales Navigator seat.

Input

listId required

Lead list id (numeric string) from list_lead_lists.

maxLeads optional

Safety cap on how many leads to pull. Default 5000. If the list is larger, `complete` comes back false.

pageSize optional

Leads per request. Default 25 (what the page itself uses).

Output

count required

Leads actually returned.

leads required
total required

Total leads the list reports.

listId required
complete required

True only when count reached total. False means the export was cut short (cap hit or paging stalled) — treat the data as partial.

pages optional

Number of requests made.

truncatedReason optional

Why the export stopped early, when complete is false.

Start building not clicking