100 free credits. No credit card required. Get a key

LinkedIn company employees API

People who work at a company now, filtered by title, keywords and location: the people search with the company already set.

GET /v1/linkedin/companies/{company}/employeesNot switched on yet5 credits per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/linkedin/companies/stripe/employees?title=head%20of%20sales",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 5 credits

No bundled sample for this call. The response is a LinkedInEmployeesPage; its fields are listed below.

Parameters

NameTypeDescription
companypath · requiredstringThe company’s universal name (after /company/), its URL, or its numeric id. Example: microsoft.
titlequerystringCurrent job title words. Example: account executive.
keywordsquerystringWords to match anywhere on the profile. Example: enterprise.
geo_idsquerystringLocation: numeric ids, comma-separated (up to 10). Example: 102257491.
afterquerystringCursor: the previous page’s after, unchanged.
accountquerystringOptional: the id of a LinkedIn account you connected (POST /v1/linkedin/accounts). The read then runs as that account (what it can see, its network distance) instead of on the shared pool. Example: csn_01JDX9EXAMPLE0000000000.
Status codes
StatusMeaning
200A page of employees.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404LinkedIn has no such public page, or it was removed.
429Too many requests. Wait for Retry-After seconds.
503LinkedIn is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Questions

When can I use it?

It needs a signed-in LinkedIn session. Our shared, paced pool of sessions is not switched on yet, so a call answers 503 upstream_unavailable and is never charged. It is listed so you can plan for it.

LinkedIn is a trademark of LinkedIn Corporation. We are not affiliated with or endorsed by LinkedIn.