> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /linkedin/user

> Linkedin Get 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`.

**⚠️ Common errors:** 412: User not found — do NOT guess aliases. Use /linkedin/search/users to find the correct alias or URN first.



## OpenAPI

````yaml /openapi/professional-network.json post /api/linkedin/user
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/linkedin/user:
    post:
      tags:
        - LinkedIn Users
      summary: /linkedin/user
      description: >-
        Linkedin Get 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`.


        **⚠️ Common errors:** 412: User not found — do NOT guess aliases. Use
        /linkedin/search/users to find the correct alias or URN first.
      operationId: __api_linkedin_user_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkedinUserPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LinkedinUser'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    LinkedinUserPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        user:
          anyOf:
            - type: string
            - $ref: '#/components/schemas/LinkedinURN_Literal_fsd_profile__'
          x-llm-resolve:
            accepts_raw: true
        with_experience:
          type: boolean
          default: true
        with_education:
          type: boolean
          default: true
        with_honors:
          type: boolean
          default: true
        with_certificates:
          type: boolean
          default: true
        with_languages:
          type: boolean
          default: true
        with_patents:
          type: boolean
          default: true
        with_skills:
          type: boolean
          default: true
        with_description_and_top_skills:
          type: boolean
          default: true
        fast_mode:
          type: boolean
          default: false
      type: object
      required:
        - user
    LinkedinUser:
      properties:
        '@type':
          type: string
          default: LinkedinUser
        internal_id:
          $ref: '#/components/schemas/LinkedinURN'
        urn:
          $ref: '#/components/schemas/LinkedinURN'
        name:
          type: string
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          type: string
        url:
          type: string
        headline:
          anyOf:
            - type: string
            - type: 'null'
        follower_count:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        background_image:
          anyOf:
            - type: string
            - type: 'null'
        connection_count:
          anyOf:
            - type: integer
            - type: 'null'
        top_skills:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        frame:
          anyOf:
            - $ref: '#/components/schemas/LinkedinProfileStatus'
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        pronouns:
          anyOf:
            - type: string
            - type: 'null'
        custom_pronouns:
          anyOf:
            - type: string
            - type: 'null'
        experience:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserExperience'
              type: array
            - type: 'null'
        education:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserEducation'
              type: array
            - type: 'null'
        languages:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserLanguage'
              type: array
            - type: 'null'
        certificates:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserCertificate'
              type: array
            - type: 'null'
        honors:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserHonor'
              type: array
            - type: 'null'
        patents:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserPatent'
              type: array
            - type: 'null'
        skills:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserSkill'
              type: array
            - type: 'null'
        verified:
          type: boolean
          default: false
        is_premium:
          type: boolean
          default: false
        is_top_voice:
          type: boolean
          default: false
      type: object
      required:
        - internal_id
        - urn
        - name
        - alias
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    LinkedinURN_Literal_fsd_profile__:
      properties:
        type:
          type: string
          const: fsd_profile
        value:
          type: string
      type: object
      required:
        - type
        - value
    LinkedinURN:
      properties:
        type:
          $ref: '#/components/schemas/LinkedinURNPrefix'
        value:
          type: string
      type: object
      required:
        - type
        - value
    LinkedinProfileStatus:
      type: string
      enum:
        - open_to_work
        - hiring
    LinkedinUserExperience:
      properties:
        '@type':
          type: string
          default: LinkedinUserExperience
        company:
          $ref: '#/components/schemas/LinkedinUserExperienceCompany'
        position:
          anyOf:
            - type: string
            - type: 'null'
        work_type:
          anyOf:
            - $ref: '#/components/schemas/LinkedinWorkType'
            - type: 'null'
        employment:
          anyOf:
            - $ref: '#/components/schemas/LinkedinUserExperienceEmployment'
            - type: 'null'
        interval:
          anyOf:
            - type: string
            - type: 'null'
        period:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        medias:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserExperienceMedia'
              type: array
            - type: 'null'
      type: object
      required:
        - company
    LinkedinUserEducation:
      properties:
        '@type':
          type: string
          default: LinkedinUserEducation
        company:
          $ref: '#/components/schemas/LinkedinUserEducationCompany'
        major:
          anyOf:
            - type: string
            - type: 'null'
        interval:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - company
    LinkedinUserLanguage:
      properties:
        '@type':
          type: string
          default: LinkedinUserLanguage
        name:
          type: string
        level:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserCertificate:
      properties:
        '@type':
          type: string
          default: LinkedinUserCertificate
        name:
          type: string
        company:
          anyOf:
            - $ref: '#/components/schemas/LinkedinUserCertificateCompany'
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        label:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserHonor:
      properties:
        '@type':
          type: string
          default: LinkedinUserHonor
        name:
          type: string
        issued_by:
          anyOf:
            - type: string
            - type: 'null'
        issued_at:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserPatent:
      properties:
        '@type':
          type: string
          default: LinkedinUserPatent
        name:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        issued_at:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        inventor_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserSkill:
      properties:
        '@type':
          type: string
          default: LinkedinUserSkill
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
      type: object
      required:
        - name
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    LinkedinURNPrefix:
      type: string
      enum:
        - fsd_company
        - fsd_group
        - fsd_profile
        - fsd_skill
        - activity
        - comment
        - company
        - group
        - geo
        - pulse
        - member
        - industry
        - ugcPost
        - job
        - message
        - conversation
        - media
        - share
        - linkedInArticle
    LinkedinUserExperienceCompany:
      properties:
        '@type':
          type: string
          default: LinkedinUserExperienceCompany
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        industry:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN_Literal_industry__'
            - type: 'null'
        industry_full:
          anyOf:
            - $ref: '#/components/schemas/LinkedinIndustry'
            - type: 'null'
        employee_range:
          anyOf:
            - type: string
            - type: 'null'
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinWorkType:
      type: string
      enum:
        - on-site
        - hybrid
        - remote
    LinkedinUserExperienceEmployment:
      type: string
      enum:
        - full-time
        - part-time
        - permanent
        - self-employed
        - freelance
        - contract
        - internship
        - apprenticeship
        - indirect contract
    LinkedinUserExperienceMedia:
      properties:
        '@type':
          type: string
          default: LinkedinUserExperienceMedia
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - title
    LinkedinUserEducationCompany:
      properties:
        '@type':
          type: string
          default: LinkedinUserEducationCompany
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        industry:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN_Literal_industry__'
            - type: 'null'
        industry_full:
          anyOf:
            - $ref: '#/components/schemas/LinkedinIndustry'
            - type: 'null'
        employee_range:
          anyOf:
            - type: string
            - type: 'null'
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserCertificateCompany:
      properties:
        '@type':
          type: string
          default: LinkedinUserCertificateCompany
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN_Literal_fsd_company_company__'
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinURN_Literal_industry__:
      properties:
        type:
          type: string
          const: industry
        value:
          type: string
      type: object
      required:
        - type
        - value
    LinkedinIndustry:
      properties:
        '@type':
          type: string
          default: LinkedinIndustry
        urn:
          $ref: '#/components/schemas/LinkedinURN_Literal_industry__'
        name:
          type: string
        hierarchy:
          type: string
      type: object
      required:
        - urn
        - name
        - hierarchy
        - description
    LinkedinURN_Literal_fsd_company_company__:
      properties:
        type:
          type: string
          enum:
            - fsd_company
            - company
        value:
          type: string
      type: object
      required:
        - type
        - value
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````