App Logo
linkedin.com

Get LinkedIn profile photo

Automatically get LinkedIn profile photo on linkedin.com. Get a LinkedIn profile's avatar (profile photo) image link by publicId. Returns profileUrl, name, photoUrl (a signed image link: keep its query string, which 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 member token, or a full profile URL. Complements get_profile, which returns everything except the photo. Until 19 Oct 2026 a publicIds list was accepted; a call still sending it fails with a message saying to send one publicId per call.

Input

publicId optional

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).

publicIds optional

Not supported since 19 Oct 2026: the run fails with a message saying so. Send one publicId per call and fan out with run_script's scripts.

Output

name required

Profile name. Never null: a profile whose name cannot be read fails instead.

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 link to the photo. Its query string is part of the signature, so keep it as given. Null when the profile has no real photo.

profileUrl required
photoAlt optional

The photo's alt text; null if absent.

FAQ

Get a LinkedIn profile's avatar (profile photo) image link by publicId. Returns profileUrl, name, photoUrl (a signed image link: keep its query string, which 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 member token, or a full profile URL. Complements get_profile, which returns everything except the photo. Until 19 Oct 2026 a publicIds list was accepted; a call still sending it fails with a message saying to send one publicId per call.
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
You do not need one. "Get LinkedIn profile photo" drives the real linkedin.com pages in a browser, so it works whether or not linkedin.com offers an API for this.
Optional: publicId, publicIds.
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