LinkedIn full profile API
A member’s whole profile as a signed-in member sees it: every position with dates and company ids, education, skills, certifications, languages, projects, volunteering and honors, plus followers, connections and network distance. Works for members who hide their public profile from visitors.
GET /v1/linkedin/profiles/{profile}/fullNot switched on yet10 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/linkedin/profiles/williamhgates/full",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()No bundled sample for this call. The response is a LinkedInFullProfile; its fields are listed below.
Parameters
| Name | Type | Description |
|---|---|---|
profilepath · required | string | The public identifier (the part after /in/), the profile URL, or the profile id (ACoAA…, or its urn:li:fsd_profile urn) the searches return. Example: jane-synthetic. |
accountquery | string | Optional: 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. |
Response fields
200 with a LinkedInFullProfile, in LinkedIn’s own schema.org JSON-LD, with the rest of the public page beside it.
| Field | Type | Description |
|---|---|---|
public_identifier | string | null | The /in/ name; null for hidden members. |
profile_urn | string | urn:li:fsd_profile:ACoAA…: what connection_of, from_member and the other signed-in reads take. |
member_id | string | null | The numeric member id (urn:li:member:<id>). |
url | string | null | |
first_name | string | null | |
last_name | string | null | |
headline | string | null | |
about | string | null | |
location | object | |
industry | string | null | |
avatar_url | string | null | Signed LinkedIn image URL; it expires. |
background_url | string | null | |
premium | boolean | null | |
open_to_work | boolean | null | The #OpenToWork photo frame (null when there is no photo). |
hiring | boolean | null | The #Hiring photo frame. |
followers_count | integer | null | |
connections_count | integer | null | LinkedIn caps what it shows at 500 for members other than the viewer. |
network_distance | "self" | "1st" | "2nd" | "3rd" | "out_of_network" | null | How far the member is from the session that read it (the pool account, or yours with account=). |
positions | LinkedInPosition[] | Current roles first. |
education | LinkedInEducation[] | |
skills | object[] | |
certifications | LinkedInCertification[] | |
languages | LinkedInLanguage[] | |
projects | LinkedInProject[] | |
volunteering | LinkedInVolunteering[] | |
honors | LinkedInHonor[] | |
unavailable_sections | "positions" | "education" | "skills" | "certifications" | "languages" | "projects" | "volunteering" | "honors" | "network"[] | Sections LinkedIn would not serve on this call (their lists are then empty, not "none"). Usually empty. |
Status codes
| Status | Meaning |
|---|---|
200 | The full profile. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | LinkedIn has no such public page, or it was removed. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | LinkedIn 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.
Contact details?
Use the profile contact endpoint.
LinkedIn is a trademark of LinkedIn Corporation. We are not affiliated with or endorsed by LinkedIn.