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

# LinkedIn user profile

> Get a LinkedIn user's public profile by profile URL.

Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the result. OAuth access tokens require `tools:execute` and access to this tool.



## OpenAPI

````yaml /openapi.json post /v1/linkedin_user_profile
openapi: 3.1.0
info:
  title: Mouter API
  version: '1.0'
  description: Discover tools, submit tasks, and read results and charges.
servers:
  - url: https://api.mouter.ai
    description: Production
security: []
paths:
  /v1/linkedin_user_profile:
    post:
      tags:
        - linkedin
      summary: LinkedIn user profile
      description: >-
        Get a LinkedIn user's public profile by profile URL.


        Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the
        result. OAuth access tokens require `tools:execute` and access to this
        tool.
      operationId: submit_linkedin_user_profile
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Reuse the key with the same credential and input when retrying the
            same submission.
          schema:
            maxLength: 128
            minLength: 1
            type: string
      requestBody:
        required: true
        content:
          application/json:
            example:
              url: https://www.linkedin.com/in/example/
            schema:
              $ref: '#/components/schemas/linkedin_user_profile_input'
      responses:
        '200':
          description: >-
            Existing task returned for an idempotent retry. An available result
            matches the output schema shown here.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    type: object
                    properties:
                      task_id:
                        type: string
                        pattern: ^[A-Za-z0-9_-]{1,40}$
                      status:
                        type: string
                        enum:
                          - submitted
                          - queued
                          - in_progress
                          - succeeded
                          - failed
                          - timed_out
                          - canceled
                      progress:
                        anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                      error:
                        anyOf:
                          - type: object
                            properties:
                              code:
                                type: string
                              message:
                                type: string
                            required:
                              - code
                              - message
                          - type: 'null'
                      created_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      updated_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      result:
                        anyOf:
                          - $ref: '#/components/schemas/linkedin_user_profile_result'
                          - type: 'null'
                    required:
                      - task_id
                      - status
                      - progress
                      - error
                      - created_at
                      - updated_at
                      - result
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
          headers:
            Idempotency-Replayed:
              schema:
                type: string
                const: 'true'
        '202':
          description: Task accepted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    $ref: '#/components/schemas/AcceptedTask'
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
              example:
                code: 0
                message: ''
                data:
                  task_id: task_example
                  status: submitted
                  progress: null
                  error: null
                  created_at: 1795488000
                  updated_at: 1795488000
                  result: null
                request_id: req_example
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '409':
          $ref: '#/components/responses/Error409'
        '413':
          $ref: '#/components/responses/Error413'
        '415':
          $ref: '#/components/responses/Error415'
        '429':
          $ref: '#/components/responses/Error429'
        '503':
          $ref: '#/components/responses/Error503'
      security:
        - Bearer: []
      externalDocs:
        description: View tool on Mouter
        url: https://mouter.ai/tools/linkedin/linkedin-user-profile
components:
  schemas:
    linkedin_user_profile_input:
      additionalProperties: false
      properties:
        url:
          maxLength: 2048
          title: Url
          type: string
      required:
        - url
      title: LinkedinProfileInput
      type: object
    linkedin_user_profile_result:
      additionalProperties: false
      properties:
        platform:
          const: linkedin
          default: linkedin
          title: Platform
          type: string
        profile:
          $ref: '#/components/schemas/linkedin_user_profile_result__LinkedinProfile'
        retrieved_at:
          maximum: 9007199254740991
          minimum: 0
          title: Retrieved At
          type: integer
      required:
        - profile
        - retrieved_at
      title: LinkedinProfileResult
      type: object
    AcceptedTask:
      type: object
      properties:
        task_id:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,40}$
        status:
          type: string
          enum:
            - submitted
            - queued
            - in_progress
            - succeeded
            - failed
            - timed_out
            - canceled
        progress:
          anyOf:
            - type: integer
              minimum: 0
              maximum: 100
            - type: 'null'
        error:
          anyOf:
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
              required:
                - code
                - message
            - type: 'null'
        created_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        updated_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        result:
          type: 'null'
      required:
        - task_id
        - status
        - progress
        - error
        - created_at
        - updated_at
        - result
    linkedin_user_profile_result__LinkedinProfile:
      additionalProperties: false
      properties:
        id:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Id
        name:
          maxLength: 4096
          title: Name
          type: string
        url:
          title: Url
          type: string
        headline:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Headline
        about:
          anyOf:
            - maxLength: 200000
              type: string
            - type: 'null'
          default: null
          title: About
        location:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Location
        country_code:
          anyOf:
            - maxLength: 8
              type: string
            - type: 'null'
          default: null
          title: Country Code
        avatar_url:
          anyOf:
            - maxLength: 8192
              type: string
            - type: 'null'
          default: null
          title: Avatar Url
        follower_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Follower Count
        connection_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Connection Count
        current_company_name:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Current Company Name
        experience:
          anyOf:
            - items:
                $ref: >-
                  #/components/schemas/linkedin_user_profile_result__PublicExperience
              maxItems: 500
              type: array
            - type: 'null'
          default: null
          title: Experience
        education:
          anyOf:
            - items:
                $ref: >-
                  #/components/schemas/linkedin_user_profile_result__PublicEducation
              maxItems: 500
              type: array
            - type: 'null'
          default: null
          title: Education
        skills:
          anyOf:
            - items:
                maxLength: 4096
                type: string
              maxItems: 1000
              type: array
            - type: 'null'
          default: null
          title: Skills
      required:
        - name
        - url
      title: LinkedinProfile
      type: object
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        data:
          type: 'null'
        request_id:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - code
        - message
        - data
        - request_id
    linkedin_user_profile_result__PublicExperience:
      additionalProperties: false
      properties:
        title:
          maxLength: 4096
          title: Title
          type: string
        company_name:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Company Name
        location:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Location
        description:
          anyOf:
            - maxLength: 100000
              type: string
            - type: 'null'
          default: null
          title: Description
        period:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Period
        start_date_text:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Start Date Text
        end_date_text:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: End Date Text
      required:
        - title
      title: PublicExperience
      type: object
    linkedin_user_profile_result__PublicEducation:
      additionalProperties: false
      properties:
        start_year:
          anyOf:
            - maximum: 9999
              minimum: 1
              type: integer
            - type: 'null'
          default: null
          title: Start Year
        end_year:
          anyOf:
            - maximum: 9999
              minimum: 1
              type: integer
            - type: 'null'
          default: null
          title: End Year
        school_name:
          maxLength: 4096
          title: School Name
          type: string
        degree:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Degree
        field_of_study:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Field Of Study
        period:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Period
      required:
        - school_name
      title: PublicEducation
      type: object
  responses:
    Error400:
      description: Invalid request parameters, headers, or body.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: A valid credential is required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error402:
      description: Insufficient balance or credential allowance.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: The credential lacks permission.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error409:
      description: The idempotency key was reused with a different input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error413:
      description: The request body is too large.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error415:
      description: The request body must use application/json.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error429:
      description: The active task limit was reached.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error503:
      description: The operation is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: A Mouter API key or OAuth access token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.