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

# Professional Email Lookup API

> Find a person's current professional email from a LinkedIn URL, or from a name and company. Every address is checked as deliverable before it is returned.

`POST /v1/data/people/professional-email/run`

**Pricing:** $0.04 per email ($40.00 per 1,000). Searching by name and company costs \$0.05 per email instead.

## Ways to call it

* **By LinkedIn URL**: set `linkedinUrls`
* **By name and company**: set `people`

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**linkedinUrls** `string[]`

LinkedIn profile URLs of the people to find professional emails for, one person per URL. Each URL is one lookup.

Format e.g. `https://www.example.com`.

**people** `string[]`

One person per line: full name, a comma (or a tab, when pasted from a spreadsheet), then the company's website domain or its name. Example: Paul D'Ambra, posthog.com or Satya Nadella, Microsoft. A domain is used as given; a company name is turned into the domain the company sends email from, and the Company Domain column shows which one was used. Each entry is one lookup.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/people/professional-email/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "linkedinUrls": [
      "https://www.linkedin.com/in/satyanadella",
      "https://www.linkedin.com/in/sundarpichai"
    ]
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/people/professional-email/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "linkedinUrls": [
        "https://www.linkedin.com/in/satyanadella",
        "https://www.linkedin.com/in/sundarpichai"
    ]
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/people/professional-email/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "linkedinUrls": [
    "https://www.linkedin.com/in/satyanadella",
    "https://www.linkedin.com/in/sundarpichai"
  ]
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one email, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `input` | Input | text |
| `profileUrl` | Profile URL | url |
| `fullName` | Full Name | text |
| `companyDomain` | Company Domain | text |
| `email` | Email | text |
| `emailStatus` | Email Status | text |
| `catchAllDomain` | Catch-All Domain | boolean |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "people/professional-email",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "email": "snadella@microsoft.com",
      "fullName": "Satya Nadella",
      "profileUrl": "https://www.linkedin.com/in/satyanadella",
      "companyDomain": "microsoft.com",
      "catchAllDomain": false,
      "input": "https://www.linkedin.com/in/satyanadella",
      "emailStatus": "deliverable"
    }
  ]
}
```

## Related APIs

For a personal address instead use [`people/personal-email`](https://docs.mindcase.co/apis/people/personal-email); for a phone number use [`people/phone-lookup`](https://docs.mindcase.co/apis/people/phone-lookup); for every email at one company domain use [`companies/emails`](https://docs.mindcase.co/apis/companies/emails).


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