App Logo
linkedin.com

Get LinkedIn profile

Fetch a LinkedIn profile's top card and About section by publicId. Returns profileUrl, name, headline, degree, memberUrn, location, currentCompany, followers, connections, and about. Check name first: non-null means the record is trustworthy; null means the fetch failed. Requires being logged in to LinkedIn.

Input

publicId required

LinkedIn public profile id — the part after /in/ in the profile URL.

Output

name required

The profile owner's name, and the response health check. Non-null means the top card parsed and the whole record is trustworthy. Null means the parse failed (auth wall, block, or blank render) — treat every other field as invalid rather than interpreting the nulls.

profileUrl required

Canonical profile URL.

about optional

Full About prose, line breaks preserved. Null means no About text was captured — either the profile has none, or (rarely) it did not load in time. Disambiguate with name: when name is non-null the top card parsed cleanly, so a null here almost always means the profile genuinely has no About section.

degree optional

Connection degree, normalised to "1st", "2nd" or "3rd" (with a trailing + when LinkedIn shows its 3rd-or-beyond badge) so it can be compared directly whatever language the page rendered in. Null on your own profile or when no badge is shown.

headline optional

Top-card headline line. Null when the profile has no headline.

location optional

Top-card location as rendered. Null when the profile exposes no contact link, which is the row it shares.

followers optional

Top-card follower count as an integer, grouping separators removed. Null when the card shows no follower count.

memberUrn optional

Stable internal member id (an ACoAA… token, the tail of urn:li:fsd_profile:<id>). Unlike publicId it never changes, so it is the join key for search_people's connectionOf. Read from the profile card ids LinkedIn renders for the page, so it is present on every profile — including your own and members you are not connected to.

connections optional

Top-card connection count, canonicalised: the digits as a string (e.g. "25"), or "500+" for the capped value LinkedIn displays once a member passes 500. Null when the card shows no connection count.

currentCompany optional

Top-card current-employer chip. Null when the card surfaces no company chip — the employer is then only in get_profile_experience.

Start building not clicking