# LinkedIn Get Profile API

> Fetch a LinkedIn profile (name, headline, location, vanity) by vanity name via the Voyager dash API. Cookie-authenticated.

Category: [Social Media APIs](https://upapi.io/apis/social-media) · Last updated 2026-11-02

## How to call it

- Endpoint: `POST https://api.upapi.io/linkedin-get-profile.post`, key in the `X-Api-Key` header, JSON body.
- Cost: 15 weighted units per call.
- Timeout: 30 seconds.
- Cache: identical requests are served from cache for 3600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/linkedin-get-profile.post

```bash
curl -X POST https://api.upapi.io/linkedin-get-profile.post \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "vanityName": "example", "sessionCookies": "example" }'
```

## Request parameters

- `proxyUrl` (string) — Optional user-provided proxy URL.
- `vanityName` (string, required) — LinkedIn public identifier / vanity name (the slug in /in/<vanity>).
- `sessionCookies` (string, required) — JSON of session cookies: li_at, JSESSIONID, bcookie.

## Response fields

- `fields` (object) — Additional raw scalar fields extracted from the profile object.
- `message` (string)
- `profile` (object)
- `profile.summary` (string)
- `profile.headline` (string)
- `profile.lastName` (string)
- `profile.location` (string)
- `profile.entityUrn` (string)
- `profile.firstName` (string)
- `profile.profileUrl` (string)
- `profile.vanityName` (string)
- `profile.publicIdentifier` (string)
- `success` (boolean)
- `elapsedMs` (integer)
- `fetchedAt` (string)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "vanityName": "example",
  "sessionCookies": "example"
}
```

```json
{
  "fields": {},
  "message": "",
  "profile": {
    "summary": "",
    "headline": "",
    "lastName": "",
    "location": "",
    "entityUrn": "",
    "firstName": "",
    "profileUrl": "",
    "vanityName": "",
    "publicIdentifier": ""
  },
  "success": false,
  "elapsedMs": 0,
  "fetchedAt": ""
}
```

## Frequently asked questions

### How much does the LinkedIn Get Profile API cost per call?

Each call spends 15 weighted units of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the LinkedIn Get Profile API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are LinkedIn Get Profile API responses cached?

Yes — identical requests are served from cache for 3600 seconds, and a cache hit is not billed.

## More Social Media APIs

- [LinkedIn Get Sent Invitations](https://upapi.io/apis/social-media/linkedin-get-sent-invitations)
- [LinkedIn Check Account Health](https://upapi.io/apis/social-media/linkedin-check-account-health)
- [TikTok Get User Profile](https://upapi.io/apis/social-media/tiktok-get-user-profile)
- [Chatous Get Account State](https://upapi.io/apis/social-media/chatous-get-account-state)
- [Get Bluesky Profile](https://upapi.io/apis/social-media/bluesky-profile)
- [Get Contra Company Profile](https://upapi.io/apis/social-media/contra-company-profile)
- [Get LinkedIn Job Details](https://upapi.io/apis/social-media/linkedin-jobs-detail)
- [Get Mastodon Profile](https://upapi.io/apis/social-media/mastodon-profile)
