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

# Reference - Person Identify API

<HTMLBlock>
  {`
  <style>
  .App .markdown-body table {
    table-layout: fixed;
  }
  </style>
  `}
</HTMLBlock>

# Endpoint

The endpoint for the Person Identify API is `https://api.peopledatalabs.com/v5/person/identify`.

# Person Identify API Access and Billing

You can access the Person Identify API through our [self-signup dashboard](https://peopledatalabs.com/signup/)

When the API finds a matching person, it returns up to 20 profiles sorted by match score along with an HTTP response code of `200`. When it doesn't find a matching person, it returns an HTTP response code of `404`. We charge **per 200 & 404**.

> 🚧 Warning: Credit Usage
>
> Each call that you make to the Person Identify API will consume one credit, **regardless of the number of profiles that the API returns**.
>
> This behavior differs from that of our other APIs, which consume one credit for each profile that they return.

# Rate Limiting

The default rate limit for all customers is 10 calls per minute.

# Input Parameters

> 📘 For More Details, See [Person Identify API - Input Parameters](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api)
>
> You can also click on the individual parameter names in the table below to view more information on them.

<Table>
  <thead>
    <tr>
      <th>
        Parameter Name
      </th>

      <th>
        Required
      </th>

      <th>
        Description
      </th>

      <th>
        Default
      </th>

      <th>
        Example
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        [`name`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#name)
      </td>

      <td>
        No\*
      </td>

      <td>
        The person's full name (at least the first and the last.)
      </td>

      <td />

      <td>
        Jennifer C. Jackson
      </td>
    </tr>

    <tr>
      <td>
        [`first_name`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#first_name)
      </td>

      <td>
        No\*
      </td>

      <td>
        The person's first name.
      </td>

      <td />

      <td>
        Jennifer
      </td>
    </tr>

    <tr>
      <td>
        [`last_name`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#last_name)
      </td>

      <td>
        No\*
      </td>

      <td>
        The person's last name.
      </td>

      <td />

      <td>
        Jackson
      </td>
    </tr>

    <tr>
      <td>
        [`middle_name`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#middle_name)
      </td>

      <td>
        No
      </td>

      <td>
        The person's middle name.
      </td>

      <td />

      <td>
        Cassandra
      </td>
    </tr>

    <tr>
      <td>
        [`location`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#location)
      </td>

      <td>
        No\*
      </td>

      <td>
        The location in which a person lives, which can be anything from a street address to a country name.
      </td>

      <td />

      <td>
        Medford, OR USA
      </td>
    </tr>

    <tr>
      <td>
        [`street_address`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#street_address)
      </td>

      <td>
        No\*
      </td>

      <td>
        The street address at which the person lives.
      </td>

      <td />

      <td>
        1234 Main Street
      </td>
    </tr>

    <tr>
      <td>
        [`locality`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#locality)
      </td>

      <td>
        No\*
      </td>

      <td>
        The locality in which the person lives.
      </td>

      <td />

      <td>
        Boise
      </td>
    </tr>

    <tr>
      <td>
        [`region`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#region)
      </td>

      <td>
        No\*
      </td>

      <td>
        The state or region in which the person lives.
      </td>

      <td />

      <td>
        Idaho
      </td>
    </tr>

    <tr>
      <td>
        [`country`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#country)
      </td>

      <td>
        No
      </td>

      <td>
        The country in which the person lives.
      </td>

      <td />

      <td>
        United States
      </td>
    </tr>

    <tr>
      <td>
        [`postal_code`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#postal_code)
      </td>

      <td>
        No\*
      </td>

      <td>
        The postal code in which the person lives. If there is no value for country, we assume that the postal code is in the US.
      </td>

      <td />

      <td>
        83701
      </td>
    </tr>

    <tr>
      <td>
        [`company`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#company)
      </td>

      <td>
        No\*
      </td>

      <td>
        The name, website or social URL of a company where the person has worked.
      </td>

      <td />

      <td>
        Amazon Web Services
      </td>
    </tr>

    <tr>
      <td>
        [`school`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#school)
      </td>

      <td>
        No\*
      </td>

      <td>
        The name, website or social URL of a university or college that the person has attended.
      </td>

      <td />

      <td>
        university of iowa
      </td>
    </tr>

    <tr>
      <td>
        [`phone`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#phone)
      </td>

      <td>
        No\*
      </td>

      <td>
        A phone number the person has used. \*\*Input must begin with`+[country code]` for a match to be returned. \*\*
      </td>

      <td />

      <td>
        +1 555-234-1234
      </td>
    </tr>

    <tr>
      <td>
        [`email`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#email)
      </td>

      <td>
        No\*
      </td>

      <td>
        The email that the person has used.
      </td>

      <td />

      <td>
        [sean.thorne@talentiq.co](mailto:sean.thorne@talentiq.co)
      </td>
    </tr>

    <tr>
      <td>
        [`email_hash`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#email_hash)
      </td>

      <td>
        No\*
      </td>

      <td>
        The sha256 or md5 email hash.
      </td>

      <td />

      <td>
        e206e6cd7fa5f9499fd6d2d943dcf7d9c1469bad351061483f5ce7181663b8d4
      </td>
    </tr>

    <tr>
      <td>
        [`profile`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#profile)
      </td>

      <td>
        No\*
      </td>

      <td>
        The social profile that the person has used (see the [list of available social profiles](https://docs.peopledatalabs.com/docs/social-networks)).
      </td>

      <td />

      <td>
        `https://linkedin.com/in/seanthorne`
      </td>
    </tr>

    <tr>
      <td>
        [`lid`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#lid)
      </td>

      <td>
        No\*
      </td>

      <td>
        The LinkedIn numerical ID
      </td>

      <td />

      <td>
        145991517
      </td>
    </tr>

    <tr>
      <td>
        [`birth_date`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#birth_date)
      </td>

      <td>
        No
      </td>

      <td>
        The person's birth date: either a year or a full birth date.
      </td>

      <td />

      <td>
        35339
      </td>
    </tr>

    <tr>
      <td>
        [`titlecase`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#titlecase)
      </td>

      <td>
        No
      </td>

      <td>
        The API returns all text in the data object of responses as lowercase by default. Setting `titlecase` to `true` will titlecase the person data in `200` responses.
      </td>

      <td>
        `false`
      </td>

      <td>
        `true`
      </td>
    </tr>

    <tr>
      <td>
        [`pretty`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#pretty)
      </td>

      <td>
        No
      </td>

      <td>
        Whether the output should have human-readable indentation.
      </td>

      <td>
        `false`
      </td>

      <td>
        `true`
      </td>
    </tr>

    <tr>
      <td>
        [`api_key`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#api_key)
      </td>

      <td>
        No\*
      </td>

      <td>
        Your secret API key. <br /> <br /> While we do not require this as part of the request parameters, if you do not provide it here, then you must provide it using an alternative means, such as in the headers using the `x-api-key` field. For more information, see the [Authentication](https://docs.peopledatalabs.com/docs/authentication) page.
      </td>

      <td>
        None
      </td>

      <td />
    </tr>

    <tr>
      <td>
        [`include_if_matched`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#include_if_matched)
      </td>

      <td>
        No
      </td>

      <td>
        If set to `true`, the output will contain the [`matches.matched_on`](https://docs.peopledatalabs.com/docs/output-response-person-identify-api#matchesmatched_on) field which will list the fields in each profile that matched the input query.
      </td>

      <td>
        `false`
      </td>

      <td>
        `true`
      </td>
    </tr>
  </tbody>
</Table>

> **Note** (\*): While we don't require any of these parameters individually, you must provide a sufficient combination of them as inputs. For more details, see the [minimum required inputs](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#required-parameters).

# Output Response

## Response Fields

> 📘 For More Details, See [Person Identify API - Output Response](https://docs.peopledatalabs.com/docs/output-response-person-identify-api)
>
> You can also click on the individual parameter names in the table below to view more information on them.

| Field Name                                                                          | Type             | Description                                                                                                                                                                                                                                                    |
| ----------------------------------------------------------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [`status`](https://docs.peopledatalabs.com/docs/output-response-person-identify-api#status)                          | `Integer`        | The [API response code](https://docs.peopledatalabs.com/docs/errors).                                                                                                                                                                                          |
| [`matches`](https://docs.peopledatalabs.com/docs/output-response-person-identify-api#matches)                        | `Array [Object]` | A list of up to 20 profiles matching the input criteria from the API request. The API only returns profiles with a [match\_score](https://docs.peopledatalabs.com/docs/output-response-person-identify-api#matchesmatch_score) greater than 5 (out of 100.)                                     |
| [`matches.match_score`](https://docs.peopledatalabs.com/docs/output-response-person-identify-api#matchesmatch_score) | `Integer`        | An integer between `1-99` drawn from a probability-like distribution representing the matching strength between a profile and the input criteria. In other words, the probability that this record is the record that you are looking for based on your query. |
| [`matches.data`](https://docs.peopledatalabs.com/docs/output-response-person-identify-api#matchesdata)               | `Array [Object]` | The field attributes associated with this profile. For a list of fields, see the [Person Schema](https://docs.peopledatalabs.com/docs/fields).                                                                                                                                                  |
| [`matches.matched_on`](https://docs.peopledatalabs.com/docs/output-response-person-identify-api#matchesmatched_on)   | `Array [String]` | A list of data fields that the API matched for this profile. The API only returns this if you set the [`include_if_matched`](https://docs.peopledatalabs.com/docs/input-parameters-person-identify-api#include_if_matched) input parameter to `true`.          |

## Response Data Structure

The response from the Person Identify API will be in this format:

```json
{
  "status": 200,
  "matches": [
    {
      "data": {
        ...
      },
      "match_score": 92,
      "matched_on": [
        "company",
        "name"
      ]
    },
    {
      "data": {
        ...
      },
      "match_score": 5,
      "matched_on": [
        "name"
      ]
    },
    ...
  ]
}

```

## Errors

If the request encounters an error, it will instead return an Error Response in the format described in [Errors](https://docs.peopledatalabs.com/docs/errors).