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

# Unipile: Get User Profile

> Get a profile by provider ID or public identifier. LinkedIn: Unipile recommends at most ~100 profile retrievals per account per day.

Get a profile by provider ID or public identifier.

> [!NOTE]
>
> Tool ID: `unipile_get_user_profile`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'unipile_get_user_profile',
  {
    "identifier": "example_123",
    "account_id": "123456789"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute unipile_get_user_profile --input '{
  "identifier": "example_123",
  "account_id": "123456789"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe unipile_get_user_profile --json` for the complete live contract.

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.identifier` | `string` | Yes | — | Provider internal id (LinkedIn ACoAAA..., Sales Navigator ACwAAA...) or public identifier (the last part of the LinkedIn profile URL). |
| `payload.account_id` | `string` | Yes | — | Connected account id to read the profile with. |
| `payload.linkedin_sections` | `array` | No | — | LinkedIn profile sections to include (for example `*` for all). Heavy section requests may be throttled by LinkedIn. |
| `payload.linkedin_api` | `"recruiter" \| "sales_navigator"` | No | — | Read through Recruiter or Sales Navigator instead of Classic. Allowed: `recruiter`, `sales_navigator`. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "identifier": {
        "type": "string",
        "description": "Provider internal id (LinkedIn ACoAAA..., Sales Navigator ACwAAA...) or public identifier (the last part of the LinkedIn profile URL)."
      },
      "account_id": {
        "type": "string",
        "description": "Connected account id to read the profile with."
      },
      "linkedin_sections": {
        "type": "array",
        "description": "LinkedIn profile sections to include (for example `*` for all). Heavy section requests may be throttled by LinkedIn.",
        "items": {
          "type": "string"
        }
      },
      "linkedin_api": {
        "type": "string",
        "description": "Read through Recruiter or Sales Navigator instead of Classic.",
        "enum": [
          "recruiter",
          "sales_navigator"
        ]
      }
    },
    "required": [
      "identifier",
      "account_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.provider` | `"LINKEDIN"` | Yes | — | — |
| `result.data.provider_id` | `string` | Yes | — | — |
| `result.data.public_identifier` | `string \| null` | Yes | — | — |
| `result.data.first_name` | `string \| null` | Yes | — | — |
| `result.data.last_name` | `string \| null` | Yes | — | — |
| `result.data.pronoun` | `string` | No | — | — |
| `result.data.headline` | `string` | Yes | — | — |
| `result.data.summary` | `string` | No | — | — |
| `result.data.contact_info` | `object` | No | — | — |
| `result.data.contact_info.emails` | `array` | No | — | — |
| `result.data.contact_info.phones` | `array` | No | — | — |
| `result.data.contact_info.adresses` | `array` | No | — | — |
| `result.data.contact_info.socials` | `array` | No | — | — |
| `result.data.contact_info.socials[].type` | `string` | Yes | — | — |
| `result.data.contact_info.socials[].name` | `string` | Yes | — | — |
| `result.data.birthdate` | `object` | No | — | — |
| `result.data.birthdate.month` | `number` | Yes | — | — |
| `result.data.birthdate.day` | `number` | Yes | — | — |
| `result.data.primary_locale` | `object` | No | — | — |
| `result.data.primary_locale.country` | `string` | Yes | — | — |
| `result.data.primary_locale.language` | `string` | Yes | — | — |
| `result.data.location` | `string` | No | — | — |
| `result.data.websites` | `array` | Yes | — | — |
| `result.data.creator_website` | `object` | No | — | — |
| `result.data.creator_website.url` | `string` | Yes | — | — |
| `result.data.creator_website.description` | `string` | Yes | — | — |
| `result.data.profile_picture_url` | `string` | No | — | — |
| `result.data.profile_picture_url_large` | `string` | No | — | — |
| `result.data.background_picture_url` | `string` | No | — | — |
| `result.data.hashtags` | `array` | No | — | — |
| `result.data.can_send_inmail` | `boolean` | No | — | — |
| `result.data.connected_at` | `number` | No | — | — |
| `result.data.is_open_profile` | `boolean` | No | — | — |
| `result.data.is_premium` | `boolean` | No | — | — |
| `result.data.is_influencer` | `boolean` | No | — | — |
| `result.data.is_creator` | `boolean` | No | — | — |
| `result.data.is_hiring` | `boolean` | No | — | — |
| `result.data.is_open_to_work` | `boolean` | No | — | — |
| `result.data.is_saved_lead` | `boolean` | No | — | — |
| `result.data.is_crm_imported` | `boolean` | No | — | — |
| `result.data.is_relationship` | `boolean` | No | — | — |
| `result.data.is_self` | `boolean` | No | — | — |
| `result.data.invitation` | `object` | No | — | — |
| `result.data.invitation.type` | `"SENT" \| "RECEIVED"` | Yes | — | — |
| `result.data.invitation.status` | `"PENDING" \| "IGNORED" \| "WITHDRAWN"` | Yes | — | — |
| `result.data.work_experience` | `array` | No | — | — |
| `result.data.work_experience[].id` | `string` | No | — | — |
| `result.data.work_experience[].position` | `string` | Yes | — | — |
| `result.data.work_experience[].company_id` | `string` | No | — | — |

The table shows the first 50 fields. Use the live contract below for every field.

> [!NOTE]
>
> This output schema is too large for an inline display. Read the complete live contract with `deepline describe unipile_get_user_profile --json`.

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Unipile provider guide](https://deepline.com/docs/providers/unipile/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


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