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

# People Enrichment API

> Enriches a known person into a full profile with current role, seniority, location, employment history and employer firmographics.

`POST /v1/data/people/enrichment/run`

**Pricing:** $0.05 per profile ($52.00 per 1,000).

## Ways to call it

* **By LinkedIn URL**: set `linkedinUrls`
* **By work email**: set `emails`
* **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 enrich, one person per URL. Each URL is one lookup.

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

**emails** `string[]`

Work email addresses of the people to enrich, one person per email. Best effort: shared or vanity aliases may match the wrong person.

Format e.g. `hello@yuna.travel`.

**people** `string[]`

One person per entry, written as full name, then a comma, then the company name or website domain. Example: Jason Fried, basecamp.com or Satya Nadella, Microsoft. Each entry is one lookup.

**firstName** `string`

Legacy API input for one person, kept for existing integrations; use People instead. The person's first name; must be used together with last name and company name.

**lastName** `string`

Legacy API input for one person, kept for existing integrations; use People instead. The person's last name; must be used together with first name and company name.

**companyName** `string`

Legacy API input for one person, kept for existing integrations; use People instead. The person's current or recent employer, used together with first and last name.

**companyDomain** `string`

Legacy API input for one person, kept for existing integrations; use People instead. The employer's website domain, improving match accuracy when searching by name and company.

Format e.g. `stripe.com`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/people/enrichment/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/ashtom",
      "https://www.linkedin.com/in/fidjisimo"
    ]
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/people/enrichment/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/ashtom",
        "https://www.linkedin.com/in/fidjisimo"
    ]
}},
)
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/enrichment/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/ashtom",
    "https://www.linkedin.com/in/fidjisimo"
  ]
} }),
});
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 profile, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `profileUrl` | Profile URL | url |
| `firstName` | First Name | text |
| `lastName` | Last Name | text |
| `headline` | Headline | text |
| `jobTitle` | Job Title | text |
| `seniority` | Seniority | text |
| `departments` | Departments | array |
| `subdepartments` | Subdepartments | array |
| `functions` | Functions | array |
| `city` | City | text |
| `state` | State | text |
| `country` | Country | text |
| `photo` | Photo | image |
| `twitterUrl` | Twitter URL | url |
| `githubUrl` | GitHub URL | url |
| `facebookUrl` | Facebook URL | url |
| `companyName` | Company Name | text |
| `companyDomain` | Company Domain | text |
| `company` | Company | object |
| `experience` | Experience | object\_array |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "people/enrichment",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "headline": "Chairman and CEO at Microsoft",
      "twitterUrl": null,
      "facebookUrl": null,
      "city": "Redmond",
      "departments": [
        "c_suite"
      ],
      "githubUrl": null,
      "seniority": "c_suite",
      "subdepartments": [
        "executive"
      ],
      "companyName": "Microsoft",
      "profileUrl": "http://www.linkedin.com/in/satyanadella",
      "companyDomain": "microsoft.com",
      "lastName": "Nadella",
      "country": "United States",
      "experience": [
        {
          "title": "Chairman and CEO",
          "companyName": "Microsoft",
          "startDate": "2014-02-01",
          "endDate": null,
          "current": true
        },
        {
          "title": "Member Board of Trustees",
          "companyName": "University of Chicago",
          "startDate": "2018-01-01",
          "endDate": null,
          "current": true
        }
      ],
      "photo": "https://media.licdn.com/dms/image/v2/C5603AQHHUuOSlRVA1w/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1579726625398?e=2147483647...",
      "jobTitle": "Chairman and CEO",
      "functions": [],
      "company": {
        "name": "Microsoft",
        "websiteUrl": "http://www.microsoft.com",
        "linkedinUrl": "http://www.linkedin.com/company/microsoft",
        "twitterUrl": "https://twitter.com/visualstudio",
        "facebookUrl": "https://www.facebook.com/visualstudio/",
        "foundedYear": 1975,
        "industry": "information technology & services",
        "industries": [
          "information technology & services",
          "computer software",
          "internet"
        ],
        "estimatedNumEmployees": 223000,
        "keywords": [
          "business software",
          "developer tools",
          "home educational software"
        ],
        "organizationRevenue": 331839000000,
        "totalFunding": null,
        "latestFundingStage": null,
        "latestFundingRoundDate": null,
        "city": "Redmond",
        "state": "Washington",
        "country": "United States",
        "sicCodes": [
          "3571",
          "7372",
          "7373"
        ],
        "naicsCodes": [
          "54151",
          "51321",
          "51821"
        ],
        "technologyNames": [
          ".NET",
          "3M 360 Encompass - Health Analytics Suite",
          "A Small Orange"
        ],
        "headcountSixMonthGrowth": 0.01447050450211864,
        "headcountTwelveMonthGrowth": 0.01508796482235205,
        "headcountTwentyFourMonthGrowth": 0.06820706993686466
      },
      "state": "Washington",
      "firstName": "Satya"
    }
  ]
}
```

## Related APIs

For a work email use [`people/professional-email`](https://docs.mindcase.co/apis/people/professional-email); for a personal email 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).


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