# /linkedin/user

`POST /api/linkedin/user`

Price: 1-9 credits depending on requested fields. Base price is 9 credits. Each field explicitly set to `false` reduces the price by 1 credit (minimum 1 credit): `with_experience`, `with_education`, `with_honors`, `with_certificates`, `with_languages`, `with_patents`, `with_skills`, `with_description_and_top_skills`.

Linkedin Get User

## How to use it

Entry point for user data. Accepts alias, URL, or URN. Deep sections (skills, certificates, languages, honors, patents, exact connections) and the profile URN are returned when the input is a URN; alias or URL input returns the core public profile and may omit the URN. Do NOT guess LinkedIn aliases/slugs — always search for the person first using /linkedin/search/users, then use the returned profile URL or alias. `headline` is the English (en_US) variant; a member who keeps the profile in several languages can have a different text per locale, and `headlines` lists all of them with `locale` and `is_primary` — the entry the profile page itself shows is the one with `is_primary` true, which is not always English.

## Working with /linkedin/user

IMPORTANT: Never guess LinkedIn aliases — they are unpredictable (e.g. Jensen Huang is 'jenhsunhuang', not 'jensenhuang'). If you only have a person's name, ALWAYS use /linkedin/search/users first to find their alias. Then call /linkedin/user with the alias to get full profile + URN. Use URN for sub-endpoints (posts, skills, experience, etc.).

- name only → /linkedin/search/users → alias → /linkedin/user → urn → /linkedin/user/posts
- known alias → /linkedin/user → urn → /linkedin/user/skills
- known alias → /linkedin/user → urn → /linkedin/user/experience

- `LinkedinURN` — Unique identifier in LinkedIn. Format: urn:li:{prefix}:{id}. Never guess — always get from endpoint response.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `user` (union, required) — User alias, profile URL, or fsd_profile URN (examples: "google")
- `with_experience` (boolean) — Set this Parameter to true if you need to get experience info. With this parameter enabled the method will work longer (default: true)
- `with_education` (boolean) — Set this Parameter to true if you need to get education info. With this parameter enabled the method will work longer (default: true)
- `with_honors` (boolean) — Set this Parameter to true if you need to get honors info. With this parameter enabled the method will work longer (default: true)
- `with_certificates` (boolean) — Set this Parameter to true if you need to get certificates info. With this parameter enabled the method will work longer (default: true)
- `with_languages` (boolean) — Set this Parameter to true if you need to get languages info. With this parameter enabled the method will work longer (default: true)
- `with_patents` (boolean) — Set this Parameter to true if you need to get patents info. With this parameter enabled the method will work longer (default: true)
- `with_skills` (boolean) — Set this Parameter to true if you need to get skills info. With this parameter enabled the method will work longer (default: true)
- `with_description_and_top_skills` (boolean) — Set this Parameter to true if you need to get description and top skills info. With this parameter enabled the method will work longer (default: true)
- `with_profile_details` (boolean) — Set this Parameter to true if you need photo, banner, follower and connection counts and profile badges to be filled in when they are missing. With this parameter enabled the method will work longer (default: true)
- `cache_max_age_days` (integer, nullable) — How old the profile data is allowed to be, in days. A profile already collected within that window is returned as it was collected; otherwise it is read from LinkedIn now. Send null to always read from LinkedIn. (default: 180; examples: 180; min: 1; max: 365)

## Response

### 200 — Successful Response

- `@type` (string) (default: "LinkedinUser")
- `internal_id` (object, nullable)
  - `type` (string, required) (one of: "fsd_company", "fsd_group", "fsd_profile", "fsd_skill", "activity", "comment", "company", "group", "geo", "pulse", "member", "industry", "ugcPost", "job", "message", "conversation", "media", "share", "linkedInArticle")
  - `value` (string, required)
- `urn` (object, nullable)
  - `type` (string, required) (one of: "fsd_company", "fsd_group", "fsd_profile", "fsd_skill", "activity", "comment", "company", "group", "geo", "pulse", "member", "industry", "ugcPost", "job", "message", "conversation", "media", "share", "linkedInArticle")
  - `value` (string, required)
- `name` (string, required)
- `first_name` (string, nullable)
- `last_name` (string, nullable)
- `alias` (string, required)
- `url` (string, required)
- `headline` (string, nullable)
- `headlines` (array, nullable)
  - `@type` (string) (default: "LinkedinUserHeadline")
  - `locale` (string, required)
  - `text` (string, required)
  - `is_primary` (boolean) (default: false)
- `follower_count` (integer, nullable)
- `image` (string, nullable)
- `background_image` (string, nullable)
- `connection_count` (integer, nullable)
- `description` (string, nullable)
- `top_skills` (array, nullable)
- `frame` (string, nullable) (one of: "open_to_work", "hiring")
- `location` (string, nullable)
- `country_code` (string, nullable)
- `country` (string, nullable)
- `city` (string, nullable)
- `pronouns` (string, nullable)
- `custom_pronouns` (string, nullable)
- `experience` (array, nullable)
  - `@type` (string) (default: "LinkedinUserExperience")
  - `company` (object, required)
    - `@type` (string) (default: "LinkedinUserExperienceCompany")
    - `name` (string, required)
    - `urn` (object, nullable)
      - `type` (object, required) (see schema LinkedinURNPrefix)
      - `value` (string, required)
    - `url` (string, nullable)
    - `alias` (string, nullable)
    - `industry` (object, nullable)
      - `type` (string, required) (one of: "industry")
      - `value` (string, required)
    - `industry_full` (object, nullable)
      - `@type` (string) (default: "LinkedinIndustry")
      - `urn` (object, required) (see schema LinkedinURN_Literal_industry__)
      - `name` (string, required)
      - `hierarchy` (string, required)
      - `description` (string, required)
    - `employee_range` (string, nullable)
    - `logo_url` (string, nullable)
  - `position` (string, nullable)
  - `work_type` (string, nullable) (one of: "on-site", "hybrid", "remote")
  - `employment` (string, nullable) (one of: "full-time", "part-time", "permanent", "self-employed", "freelance", "contract", "internship", "apprenticeship", "indirect contract")
  - `interval` (string, nullable)
  - `start_date` (string, nullable) — Role start, `YYYY-MM` or `YYYY`.
  - `end_date` (string, nullable) — Role end, `YYYY-MM` or `YYYY`. Absent while ongoing.
  - `period` (string, nullable)
  - `location` (string, nullable)
  - `description` (string, nullable)
  - `medias` (array, nullable)
    - `@type` (string) (default: "LinkedinUserExperienceMedia")
    - `id` (string, nullable)
    - `url` (string, nullable)
    - `text` (string, nullable)
    - `image` (string, nullable)
- `education` (array, nullable)
  - `@type` (string) (default: "LinkedinUserEducation")
  - `company` (object, required)
    - `@type` (string) (default: "LinkedinUserEducationCompany")
    - `name` (string, required)
    - `urn` (object, nullable)
      - `type` (object, required) (see schema LinkedinURNPrefix)
      - `value` (string, required)
    - `url` (string, nullable)
    - `alias` (string, nullable)
    - `industry` (object, nullable)
      - `type` (string, required) (one of: "industry")
      - `value` (string, required)
    - `industry_full` (object, nullable)
      - `@type` (string) (default: "LinkedinIndustry")
      - `urn` (object, required) (see schema LinkedinURN_Literal_industry__)
      - `name` (string, required)
      - `hierarchy` (string, required)
      - `description` (string, required)
    - `employee_range` (string, nullable)
    - `logo_url` (string, nullable)
  - `major` (string, nullable)
  - `interval` (string, nullable)
  - `description` (string, nullable)
- `languages` (array, nullable)
  - `@type` (string) (default: "LinkedinUserLanguage")
  - `name` (string, required)
  - `level` (string, nullable)
- `certificates` (array, nullable)
  - `@type` (string) (default: "LinkedinUserCertificate")
  - `name` (string, required)
  - `company` (object, nullable)
    - `@type` (string) (default: "LinkedinUserCertificateCompany")
    - `name` (string, required)
    - `urn` (object, nullable)
      - `type` (string, required) (one of: "fsd_company", "company")
      - `value` (string, required)
    - `url` (string, nullable)
  - `created_at` (string, nullable)
  - `label` (string, nullable)
  - `url` (string, nullable)
- `honors` (array, nullable)
  - `@type` (string) (default: "LinkedinUserHonor")
  - `name` (string, required)
  - `issued_by` (string, nullable)
  - `issued_at` (string, nullable)
  - `text` (string, nullable)
- `patents` (array, nullable)
  - `@type` (string) (default: "LinkedinUserPatent")
  - `name` (string, required)
  - `id` (string, nullable)
  - `issued_at` (string, nullable)
  - `text` (string, nullable)
  - `url` (string, nullable)
  - `inventor_count` (integer, nullable)
- `skills` (array, nullable)
  - `@type` (string) (default: "LinkedinUserSkill")
  - `name` (string, required)
  - `urn` (object, nullable)
    - `type` (string, required) (one of: "fsd_company", "fsd_group", "fsd_profile", "fsd_skill", "activity", "comment", "company", "group", "geo", "pulse", "member", "industry", "ugcPost", "job", "message", "conversation", "media", "share", "linkedInArticle")
    - `value` (string, required)
- `verified` (boolean) (default: false)
- `is_premium` (boolean) (default: false)
- `is_top_voice` (boolean) (default: false)
- `fetched_at` (integer, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

User not found — do NOT guess aliases. Use /linkedin/search/users to find the correct alias or URN first.

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

