API · LinkedIn
GET /linkedin/accounts/{account}/salesnav/companies/{company}/headcount
A company’s headcount over time and by function, from your connected account’s Sales Navigator seat.
| Request | GET /v1/linkedin/accounts/{account}/salesnav/companies/{company}/headcount |
| Operation id | linkedin.salesnav.headcount |
| Cost | 5 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A company’s headcount over time and by function, from your connected account’s Sales Navigator seat.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account | string | yes | The id of the LinkedIn account you connected (from GET /v1/linkedin/accounts). Example: csn_01JDX9EXAMPLE0000000000. |
company | string | yes | Numeric company id, universal name or company page URL. Example: 1035. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Headcount insights. | LinkedInCompanyHeadcount |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | LinkedIn has no such public page, or it was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | LinkedIn is temporarily unavailable. Retryable; nothing was charged. | Error |
LinkedInCompanyHeadcount fields
| Field | Type | Description |
|---|---|---|
account | string | The connected account id (csn_…). |
company_id | string | |
total | object[] | |
median_tenure_years | number | null | |
by_function | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.