App Logo
linkedin.com

Get LinkedIn profile photo

Get a LinkedIn profile's avatar (profile photo) image URL by publicId. Returns profileUrl, name, photoUrl (the signed media.licdn.com display-photo URL — keep its query string, it is required to fetch the image), photoAlt, and hasPhoto (false when the profile shows only the default ghost avatar). Accepts a vanity slug, the obfuscated ACoAA… member token, or a full /in/ URL. Complements get_profile, which returns everything except the photo.

Input

publicId required

LinkedIn public profile id — the /in/ segment. Accepts the vanity slug (e.g. 'dhuynh95'), the obfuscated member token (ACoAA…), or a full profile URL (the /in/<id> is extracted).

Output

name required

Profile name (first main h2). Never null: a top-card that does not parse (auth wall, class rotation, blank shell) throws instead of returning a nameless record.

hasPhoto required

True when a real display photo was found; false when the profile shows only LinkedIn's default ghost avatar.

photoUrl required

Full signed avatar URL on media.licdn.com (…/profile-displayphoto-…). The ?e=&v=&t= query string is part of the signature — do NOT strip it or the fetch 403s. Null when the profile has no real photo.

profileUrl required
photoAlt optional

The avatar img alt text; null if absent — LinkedIn currently renders the avatar with an empty alt.

FAQ

Get a LinkedIn profile's avatar (profile photo) image URL by publicId. Returns profileUrl, name, photoUrl (the signed media.licdn.com display-photo URL — keep its query string, it is required to fetch the image), photoAlt, and hasPhoto (false when the profile shows only the default ghost avatar). Accepts a vanity slug, the obfuscated ACoAA… member token, or a full /in/ URL. Complements get_profile, which returns everything except the photo.
Required: publicId.
It returns name, hasPhoto, photoAlt, photoUrl, profileUrl.
Yes. It acts as you on linkedin.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the linkedin.com cookies saved by the Reduck extension.
It only reads. It looks things up on linkedin.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/linkedin.com/get_profile_photo, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linkedin.com/get_profile_photo
It is part of Reduck's official curated catalogue.

Start building not clicking