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

> ## Agent Instructions
> ## Submitting feedback
> If you find an error, a missing step, or information that is outdated or misleading on this page — especially if it stopped you from completing your task — report it so the Encrata docs team can fix it.
> Send a POST request to https://docs.encrata.com/feedback with a JSON body containing `path` (the full URL of the page, for example `https://docs.encrata.com/quickstart`) and `feedback` (what was wrong and what you expected):
> curl -X POST https://docs.encrata.com/feedback -H 'Content-Type: application/json' -d '{"path": "https://docs.encrata.com/quickstart", "feedback": "Step 3 uses a parameter that the API rejects."}'
> Do not include API keys, personal data, or other secrets in your feedback.

# Phone Identity

> Find out who owns a phone number: names, locations, addresses, emails, usernames, and social profiles. 1 credit, with free repeats for 6 months.

Phone Identity is a reverse phone lookup. It returns who the number belongs to,
where they are, and the public profiles linked to it, with the web pages each
finding came from.

`POST /api/lookup/phone/identity`

Requires an [Encrata API key](https://docs.encrata.com/authentication.md) in the `Authorization` header.

## Request

**phone** `string` *required*

The phone number in E.164 format, for example `+14155552671`. You can send it
as `query` instead.

### Example request

```bash cURL theme={"theme":{"light":"github-light","dark":"vesper"}}
curl -X POST "https://developer.encrata.com/api/lookup/phone/identity" \
  -H "Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"phone": "+14155552671"}'
```

```python Python theme={"theme":{"light":"github-light","dark":"vesper"}}
import requests

resp = requests.post(
    "https://developer.encrata.com/api/lookup/phone/identity",
    headers={"Authorization": "Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},
    json={"phone": "+14155552671"},
)
print(resp.json())
```

```javascript JavaScript theme={"theme":{"light":"github-light","dark":"vesper"}}
const resp = await fetch("https://developer.encrata.com/api/lookup/phone/identity", {
  method: "POST",
  headers: {
    Authorization: "Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ phone: "+14155552671" }),
});
const data = await resp.json();
```

## Response

The lookup is in `result`. `message` is `Phone identity ready.`

Every array is always present. An empty array means nothing was found for that
field.

**phone** `string`

The number you looked up, in E.164 format.

**found** `boolean`

`true` when at least one of `owner_name`, `names`, `emails`, `socials`, or
`sources` has a value. `false` means no public owner information was found.

**owner\_name** `string`

The most likely owner name. `""` when unknown.

**names** `string[]`

Every name linked to the number.

**locations** `string[]`

Places linked to the number, for example `San Francisco, CA`.

**addresses** `string[]`

Street addresses linked to the number.

**relatives** `string[]`

Names of people associated with the owner.

**emails** `string[]`

Email addresses linked to the number.

**usernames** `string[]`

Usernames linked to the number.

**socials** `object[]`

Social and media profiles.

**properties**

**platform** `string`

Platform name, for example `linkedin`.

**url** `string`

Profile URL.

**sources** `object[]`

The public web pages the findings came from. Use these to verify a match.

**properties**

**site** `string`

Site name.

**title** `string`

Page title.

**link** `string`

Page URL.

**snippet** `string`

The text on the page that mentions the number. Left out when empty.

**carrier** `string`

The carrier name. Left out when unknown.

**line\_type** `string`

The line type, for example `mobile`. Left out when unknown.

**country** `string`

The country name. Left out when unknown.

**region** `string`

State or region. Left out when unknown.

**city** `string`

City. Left out when unknown.

**credits** `number`

Credits charged: `1` on your first identity check of this number, `0` for a
repeat within 6 months.

**cached** `boolean`

`true` when the owner findings came from Encrata's cache. It isn't a billing
signal. Left out when `false`.

> [!WARNING]
>
> Identity findings come from public web pages and can be out of date or belong
> to a previous owner of the number. Check `sources` before you act on a match.

## Errors

See [Phone Lookup errors](https://docs.encrata.com/api-reference/endpoint/phone-lookup.md#errors).
Identity adds no other cases.

## Credits

Each check costs **1 credit**, including a check that returns `found: false`.
Checking the same number again within 6 months is free (`credits: 0`). The
window is shared by your workspace. See [Credits](https://docs.encrata.com/credits.md#free-repeat-window).

```bash cURL theme={"theme":{"light":"github-light","dark":"vesper"}}
curl -X POST "https://developer.encrata.com/api/lookup/phone/identity" \
  -H "Authorization: Bearer enc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"phone": "+14155552671"}'
```

```json 200 Found theme={"theme":{"light":"github-light","dark":"vesper"}}
{
  "success": true,
  "result": {
    "phone": "+14155552671",
    "owner_name": "Jane Doe",
    "names": ["Jane Doe", "Jane A. Doe"],
    "locations": ["San Francisco, CA"],
    "addresses": [],
    "relatives": ["John Doe"],
    "emails": ["jane.doe@example.com"],
    "usernames": ["janedoe"],
    "socials": [
      { "platform": "linkedin", "url": "https://www.linkedin.com/in/janedoe" }
    ],
    "sources": [
      {
        "site": "example.com",
        "title": "Jane Doe - Contact",
        "link": "https://example.com/team/jane-doe",
        "snippet": "Call Jane on +1 415-555-2671"
      }
    ],
    "line_type": "mobile",
    "carrier": "T-Mobile USA, Inc.",
    "country": "United States",
    "region": "California",
    "city": "San Francisco",
    "found": true,
    "credits": 1
  },
  "message": "Phone identity ready."
}
```

```json 200 Not found theme={"theme":{"light":"github-light","dark":"vesper"}}
{
  "success": true,
  "result": {
    "phone": "+442071838750",
    "owner_name": "",
    "names": [],
    "locations": [],
    "addresses": [],
    "relatives": [],
    "emails": [],
    "usernames": [],
    "socials": [],
    "sources": [],
    "line_type": "landline",
    "country": "United Kingdom",
    "found": false,
    "credits": 1
  },
  "message": "Phone identity ready."
}
```

```json 502 theme={"theme":{"light":"github-light","dark":"vesper"}}
{
  "success": false,
  "result": { "code": "upstream_unavailable" },
  "message": "The phone lookup could not be completed. Please try again in a few minutes."
}
```


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