# st.findPersonEmail

> The API Reference is also the SDK and CLI reference. Consecutive code fences marked `tab=HTTP`, `tab=Node`, `tab=Python` and `tab=CLI` are the same call on each surface (a fence marked `tab=HTTP,CLI` is the same text for both), and a block between `:::surface <names>` and `:::` applies only to the surfaces it names. Identifiers in the text are written as in Node and in HTTP JSON (camelCase); the Python SDK spells methods, parameters and result attributes in snake_case (`sendMessage` → `send_message`, `reconnectionLink` → `reconnection_link`), while names inside HTTP JSON stay camelCase.

This action allows you to find the email address of a LinkedIn person – the one its `personUrl` names, or the one its parent action opened: from the person's Contact info, from an email-finding provider, or both.

:::surface node,python
In the SDK this is the `findPersonEmail` method. It starts the action at root and takes the parameters below except `label`, which exists only in workflow JSON. The result below is returned in `data`. To run the action under [`st.openPersonPage`](/docs/action-st-open-person-page) instead, pass the workflow to [`customWorkflow`](/sdks/custom-workflow) – see [Building Workflows](/docs/building-workflows).
:::

:::surface cli
The command is `linkedin person email`. It starts the action at root, with the person's URL as its argument; its flags are listed below. To run the action under [`st.openPersonPage`](/docs/action-st-open-person-page) instead, pass the workflow to [`linkedin workflow run`](/cli/workflows) – see [Building Workflows](/docs/building-workflows).
:::

> Lookups through the provider are paid with enrichment credits that you buy on the [platform](https://app.linkedapi.io/enrichment). A lookup uses 1 credit only when the provider finds an address – see [Enrichment credits](#enrichment-credits). Contact info is free.

## Constraints

> ⏺️ **Root Start:** allowed, when `personUrl` parameter is provided.

> ⬆️ **Parent Actions:** [st.openPersonPage](/docs/action-st-open-person-page).

> ⬇️ **Child Actions:** N/A.

## Parameters

```json tab=HTTP
{
  "actionType": "st.findPersonEmail",
  "label": "person1Email",
  "personUrl": "https://www.linkedin.com/in/person1",
  "source": "contactInfoThenProvider",
  "requireWorkEmail": true
}
```

```typescript tab=Node
const workflow = await linkedapi.findPersonEmail.execute({
  personUrl: "https://www.linkedin.com/in/person1",
  source: "contactInfoThenProvider",
  requireWorkEmail: true
});

const { data, errors } = await linkedapi.findPersonEmail.result(workflow.workflowId);
```

```python tab=Python
from linkedapi import FindPersonEmailParams

workflow = linkedapi.find_person_email.execute(
    FindPersonEmailParams(
        person_url="https://www.linkedin.com/in/person1",
        source="contactInfoThenProvider",
        require_work_email=True,
    )
)

result = linkedapi.find_person_email.result(workflow.workflow_id)
```

```bash tab=CLI
linkedin person email https://www.linkedin.com/in/person1 \
  --source contactInfoThenProvider \
  --require-work-email \
  --json
```

In AI assistants, the MCP tool is `find_person_email`. The n8n action is **Find person email**; the Make module is **Find a person's email**.

- `label` (optional) – custom label for tracking this action in workflow completion.
- `personUrl` (required for root start, forbidden for parent start) – [public or hashed](/faq/what-are-hashed-url-and-public-url) LinkedIn URL of the person. Under `st.openPersonPage` the action works on the profile its parent opened.
- `source` (optional, default: `contactInfo`) – where to look for the address. Enum with the following values:
  - `contactInfo` – only the email the person shows in their Contact info. Free. LinkedIn shows Contact info mostly to 1st-degree connections, so for other people this usually finds nothing.
  - `provider` – only the email-finding provider. Paid with credits.
  - `contactInfoThenProvider` – Contact info first. The provider is called only when Contact info has no email, or, with `requireWorkEmail`, no work email.
  - `all` – both sources, always, even when Contact info already has a work address.
- `requireWorkEmail` (optional, default: `false`) – allowed only with `contactInfoThenProvider`. When `true`, a personal or unknown address in Contact info still sends the person to the provider. The Contact info address is returned either way.

:::surface cli
| Flag | Description |
| --- | --- |
| `--source` | Optional. `contactInfo` (default), `provider`, `contactInfoThenProvider` or `all`. |
| `--require-work-email` | Optional. Only with `--source contactInfoThenProvider`. |
:::

The provider receives only the person's first name, last name and the website domain of their current company. It never receives the profile URL or a Contact info address. To get the domain, the action opens the current company's page. It does this only when the domain is needed: to classify a Contact info address, or before a provider lookup.

**Limits.** The action counts against the account's [limits](/docs/admin-limits) like the pages it opens:

- The person's profile counts as one `stPersonProfileViews`: opened by the action itself at root start, or by the parent `st.openPersonPage`. Reading Contact info on that profile adds nothing.
- The company page counts as one `stCompanyPageViews` per lookup that opens it. The limit is checked first: when it is reached, the page is not opened and the result says `companyPageLimitReached`.
- When you have no enrichment credits left, a lookup that needs the company page only for the provider does not open it and ends with `insufficientCredits`. So a long list does not spend company page views on provider lookups after the credits run out; a company page opened to classify a Contact info address still counts. At root start with `source: provider`, the profile is not opened either.

Two kinds of request are rejected before the workflow starts:

- invalid parameters or a root start without `personUrl`, with `invalidWorkflow`;
- a paid source (`provider`, `contactInfoThenProvider` or `all`) when you have no enrichment credits, with `insufficientEnrichmentCredits`.

## Result options

1. **Lookup done.** None of these outcomes is a failure of the action, and what it found is in `providerStatus`.

:::surface http
**Completion:**
:::

:::surface node,python
**Completion** – `result()` returns its `data` in `data`, and a failed action in `errors`:
:::

:::surface cli
**Completion** – with `--json` the CLI prints its `data` as `data`, or the action's `error`:
:::

```json
{
  "actionType": "st.findPersonEmail",
  "label": "person1Email",
  "success": true,
  "data": {
    "emails": [
      {
        "address": "jane@gmail.com",
        "source": "contactInfo",
        "type": "personal"
      },
      {
        "address": "jane.doe@acme.com",
        "source": "provider",
        "type": "work",
        "status": "valid"
      }
    ],
    "providerStatus": "found"
  }
}
```

- `label` – included only if specified in the action parameters.
- `data.emails` – the addresses found, possibly none. Contact info entries come first. An address that both sources return appears twice, once per source.
  - `address` – the email address.
  - `source` – `contactInfo` or `provider`.
  - `type` – enum with the following values:
    - `work` – the address's domain matches the current company's website.
    - `personal` – the address belongs to a mail service such as gmail.com or outlook.com.
    - `unknown` – any other domain, or no company website to compare with.
  - `status` – only on provider entries. Enum with the following values:
    - `valid` – the provider is sure the mailbox exists.
    - `probable` – the address is likely but not confirmed.
- `data.providerStatus` – what happened with the provider. Enum with the following values:
  - `notRequested` – no provider lookup was needed: `source` is `contactInfo`, or Contact info satisfied `contactInfoThenProvider`.
  - `noName` – the person's name cannot be split into a first and a last name.
  - `noCompanyDomain` – the person has no current company with a website.
  - `companyPageLimitReached` – the company page was needed, but the account's `stCompanyPageViews` limit is reached, so the page was not opened.
  - `insufficientCredits` – you ran out of enrichment credits before this lookup.
  - `found` – the provider returned at least one address. This is the only status that uses a credit.
  - `notFound` – the provider found nothing.
  - `unavailable` – the provider could not answer. Try again later.

2. **Failed profile opening** (root start only):

```json
{
  "actionType": "st.findPersonEmail",
  "label": "person1Email",
  "success": false,
  "error": {
    "type": "personNotFound",
    "message": "The provided URL is not an existing LinkedIn person."
  }
}
```

- `label` – included only if specified in the action parameters.
- `error.type` – enum with the following possible values:
  - `personNotFound` – the provided URL is not an existing LinkedIn person.
  - `selfProfileNotAllowed` – the provided URL is your own profile.
  - `limitExceeded` – the account's `stPersonProfileViews` limit is reached, so the profile was not opened.

Any action can also fail with the errors every browser action can report, such as a signed-out account.

## Enrichment credits

The full picture – packs, refunds, running out – is in [Enrichment credits](/docs/enrichment-credits).

- A lookup uses **1 credit** when `providerStatus` is `found`, however many addresses it returns. Every other status uses none.
- Credits are bought in packs on the [platform](https://app.linkedapi.io/enrichment) and never expire. The same credits pay for [st.findPersonByEmail](/docs/action-st-find-person-by-email).
- A workflow that does not complete – it fails, or you cancel it – gives back the credits its lookups used, because their results were not delivered.
- Spending credits requires an active subscription or trial, like any workflow. Credits bought without one stay on your account until you subscribe.

> 💡 For worked examples – one profile, or every person a search returns – see [Finding a person's email](/docs/finding-person-email).
