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

# ContactOut: Linkedin Contact Info

> Find personal and/or work emails (and optionally phone) from a LinkedIn profile URL, with email-only credit consumption.

Find personal and/or work emails (and optionally phone) from a LinkedIn profile URL, with email-only credit consumption.

> [!NOTE]
>
> Tool ID: `contactout_linkedin_contact_info`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'contactout_linkedin_contact_info',
  {
    "profile": "https://example.com/resource"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute contactout_linkedin_contact_info --input '{
  "profile": "https://example.com/resource"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "linkedin_url": "https://www.linkedin.com/in/jane-doe",
    "full_name": "Example",
    "headline": "example"
  }
}
```

Use `deepline describe contactout_linkedin_contact_info --json` for the latest machine-readable contract.

## Input reference

Get contact details (emails, phone) for a single LinkedIn profile URL.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.profile` | `string` | Yes | — | Fully formed LinkedIn profile URL. Must begin with `http` and contain `linkedin.com/in/` or `linkedin.com/pub/`. Format: `uri`. |
| `payload.include_phone` | `boolean` | No | `false` | If true, includes phone numbers in the response (consumes phone credits). |
| `payload.email_type` | `"personal" \| "work" \| "personal,work" \| "none"` | No | — | Filter email type. `personal` returns only personal emails. `work` returns only work emails (triggers real-time verification). `personal,work` returns both. `none` returns no emails. Allowed: `personal`, `work`, `personal,work`, `none`. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Get contact details (emails, phone) for a single LinkedIn profile URL.",
    "properties": {
      "profile": {
        "type": "string",
        "description": "Fully formed LinkedIn profile URL. Must begin with `http` and contain `linkedin.com/in/` or `linkedin.com/pub/`.",
        "format": "uri"
      },
      "include_phone": {
        "type": "boolean",
        "description": "If true, includes phone numbers in the response (consumes phone credits).",
        "default": false
      },
      "email_type": {
        "type": "string",
        "description": "Filter email type. `personal` returns only personal emails; `work` returns only work emails (triggers real-time verification); `personal,work` returns both; `none` returns no emails.",
        "enum": [
          "personal",
          "work",
          "personal,work",
          "none"
        ]
      }
    },
    "required": [
      "profile"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.linkedin_url` | `string` | No | — | — |
| `result.data.full_name` | `string` | No | — | — |
| `result.data.headline` | `string` | No | — | — |
| `result.data.title` | `string` | No | — | — |
| `result.data.location` | `string` | No | — | — |
| `result.data.country` | `string` | No | — | — |
| `result.data.industry` | `string` | No | — | — |
| `result.data.seniority` | `string` | No | — | — |
| `result.data.job_function` | `string` | No | — | — |
| `result.data.followers` | `number` | No | — | — |
| `result.data.updated_at` | `string` | No | — | — |
| `result.data.profile_picture_url` | `string` | No | — | — |
| `result.data.summary` | `string` | No | — | — |
| `result.data.email` | `array` | No | — | — |
| `result.data.work_email` | `array` | No | — | — |
| `result.data.personal_email` | `array` | No | — | — |
| `result.data.phone` | `array` | No | — | — |
| `result.data.company` | `object` | No | — | — |
| `result.data.company.name` | `string` | No | — | — |
| `result.data.company.domain` | `string` | No | — | — |
| `result.data.company.email_domain` | `string` | No | — | — |
| `result.data.company.website` | `string` | No | — | — |
| `result.data.company.logo_url` | `string` | No | — | — |
| `result.data.company.type` | `string` | No | — | — |
| `result.data.company.size` | `number \| string` | No | — | — |
| `result.data.company.industry` | `string` | No | — | — |
| `result.data.company.founded_at` | `number \| string` | No | — | — |
| `result.data.company.headquarter` | `string` | No | — | — |
| `result.data.company.locations` | `array` | No | — | — |
| `result.data.company.revenue` | `number \| string \| null` | No | — | — |
| `result.data.company.specialties` | `array` | No | — | — |
| `result.data.company.followers` | `number` | No | — | — |
| `result.data.company.employees` | `number` | No | — | — |
| `result.data.company.funding` | `object` | No | — | — |
| `result.data.company.funding.total_funding_usd` | `number` | No | — | — |
| `result.data.company.funding.funding_status` | `string` | No | — | — |
| `result.data.company.funding.latest_date` | `string` | No | — | — |
| `result.data.company.funding.number_of_funding_rounds` | `number` | No | — | — |
| `result.data.company.funding.rounds` | `array` | No | — | — |
| `result.data.experience` | `array` | No | — | — |
| `result.data.education` | `array` | No | — | — |
| `result.data.skills` | `array` | No | — | — |
| `result.data.contact_availability` | `object` | No | — | — |
| `result.data.contact_availability.personal_email` | `boolean` | No | — | — |
| `result.data.contact_availability.work_email` | `boolean` | No | — | — |
| `result.data.contact_availability.phone` | `boolean` | No | — | — |
| `result.data.work_email_status` | `record` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "linkedin_url": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "headline": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "seniority": {
            "type": "string"
          },
          "job_function": {
            "type": "string"
          },
          "followers": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "profile_picture_url": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "email": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "work_email": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "personal_email": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "phone": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "company": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              },
              "email_domain": {
                "type": "string"
              },
              "website": {
                "type": "string"
              },
              "logo_url": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "size": {
                "type": [
                  "number",
                  "string"
                ]
              },
              "industry": {
                "type": "string"
              },
              "founded_at": {
                "type": [
                  "number",
                  "string"
                ]
              },
              "headquarter": {
                "type": "string"
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "revenue": {
                "type": [
                  "number",
                  "string",
                  "null"
                ]
              },
              "specialties": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "followers": {
                "type": "number"
              },
              "employees": {
                "type": "number"
              },
              "funding": {
                "type": "object",
                "properties": {
                  "total_funding_usd": {
                    "type": "number"
                  },
                  "funding_status": {
                    "type": "string"
                  },
                  "latest_date": {
                    "type": "string"
                  },
                  "number_of_funding_rounds": {
                    "type": "number"
                  },
                  "rounds": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                },
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "experience": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "education": {
            "type": "array",
            "items": {}
          },
          "skills": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contact_availability": {
            "type": "object",
            "properties": {
              "personal_email": {
                "type": "boolean"
              },
              "work_email": {
                "type": "boolean"
              },
              "phone": {
                "type": "boolean"
              }
            },
            "additionalProperties": true
          },
          "work_email_status": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `1.4` per pricing unit.

## Related documentation

* [ContactOut provider guide](https://deepline.com/docs/providers/contactout/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


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