# getLinkedinProfileByUrl

**Identifier:** `linkedin_getLinkedinProfileByUrl`

**Provider:** [LinkedIn](https://kirha.com/providers/linkedin.md)

Get LinkedIn profile information by URL

## Run it with the CLI

```bash
kirha tools run linkedin_getLinkedinProfileByUrl \
  --input '{
    "linkedinProfileUrl": "https://www.linkedin.com/in/:username/"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "linkedin_getLinkedinProfileByUrl",
  "input": {
    "linkedinProfileUrl": "https://www.linkedin.com/in/:username/"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "linkedinProfileUrl": {
      "description": "LinkedIn profile URL (e.g., https://www.linkedin.com/in/:username/)",
      "type": "string"
    }
  },
  "required": [
    "linkedinProfileUrl"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "about": {
      "type": "string"
    },
    "bioLinks": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "city": {
      "type": "string"
    },
    "connections": {
      "type": "number"
    },
    "context": {
      "type": "string"
    },
    "countryCode": {
      "type": "string"
    },
    "currentCompany": {
      "additionalProperties": false,
      "properties": {
        "companyId": {
          "type": "string"
        },
        "link": {
          "type": "string"
        },
        "location": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "education": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "descriptionHtml": {
            "type": "string"
          },
          "endYear": {
            "type": "string"
          },
          "instituteLogoUrl": {
            "type": "string"
          },
          "startYear": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "experience": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "company": {
            "type": "string"
          },
          "companyId": {
            "type": "string"
          },
          "companyLogoUrl": {
            "type": "string"
          },
          "descriptionHtml": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "firstName": {
      "type": "string"
    },
    "followers": {
      "type": "number"
    },
    "lastName": {
      "type": "string"
    },
    "linkedinId": {
      "type": "string"
    },
    "linkedinNumId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "position": {
      "type": "string"
    },
    "recommendations": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "url"
  ],
  "type": "object"
}
```

## Related tools

Other LinkedIn tools that this tool refers to, or that refer to it.

- [`getLinkedinPostsByProfile`](https://kirha.com/providers/linkedin/getLinkedinPostsByProfile.md)

-----

[All LinkedIn tools](https://kirha.com/providers/linkedin.md) · [< Back to tools list](https://kirha.com/tools.md)