> ## 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.

# Personal Email Lookup API

> Find a person's personal email address from a LinkedIn URL, or from a name and company. Every address is checked to be a real, working mailbox.

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

**Pricing:** $0.2 per email ($200.00 per 1,000).

## 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 personal 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 name or website domain. Example: Jason Fried, basecamp.com or Satya Nadella, Microsoft. The person's LinkedIn profile is found first, then their personal email. Each entry is one lookup.

## Example

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

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

r = requests.post(
    "https://api.mindcase.co/v1/data/people/personal-email/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "linkedinUrls": [
        "https://www.linkedin.com/in/demo-john-doe",
        "https://www.linkedin.com/in/demo-jane-roe"
    ]
}},
)
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/personal-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/demo-john-doe",
    "https://www.linkedin.com/in/demo-jane-roe"
  ]
} }),
});
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 |
| `personalEmail` | Personal Email | text |
| `mailboxStatus` | Mailbox Status | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "people/personal-email",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "personalEmail": "john.doe@example.com",
      "fullName": "John Doe",
      "profileUrl": "https://www.linkedin.com/in/demo-john-doe",
      "mailboxStatus": "exists",
      "input": "https://www.linkedin.com/in/demo-john-doe"
    }
  ]
}
```

## Related APIs

For a current work email use [`people/professional-email`](https://docs.mindcase.co/apis/people/professional-email); for a phone number use [`people/phone-lookup`](https://docs.mindcase.co/apis/people/phone-lookup); for the full career profile use [`people/enrichment`](https://docs.mindcase.co/apis/people/enrichment).


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