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

# People Data Labs: Enrich Company

> Enrich one company from its domain or name with firmographics such as industry, employee count (headcount), revenue range, and location.

Enrich one company from its domain or name with firmographics such as industry, employee count (headcount), revenue range, and location.

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

## 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(
  'peopledatalabs_enrich_company',
  {
    "domain": "example.com",
    "name": "Example",
    "titlecase": true
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute peopledatalabs_enrich_company --input '{
  "domain": "example.com",
  "name": "Example",
  "titlecase": true
}' --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": {
    "id": "id_123",
    "name": "Example",
    "employee_count": 123
  }
}
```

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

## Input reference

People Data Labs enrich company input.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.domain` | `string` | No | — | Company website domain. |
| `payload.name` | `string` | No | — | Company name. |
| `payload.titlecase` | `boolean` | No | — | Normalize output text casing. |
| `payload.pretty` | `boolean` | No | — | Pretty-print the upstream response. |
| `payload.min_likelihood` | `integer` | No | — | Minimum PDL likelihood score required for a 200 match. Minimum: 1. Maximum: 10. |
| `payload.include_if_matched` | `boolean` | No | — | Include matched input fields in response metadata. |
| `payload.required` | `string` | No | — | PDL required expression for fields that must be present in a billable match. |
| `payload.data_include` | `string` | No | — | Comma-separated fields to include, or a leading - list to exclude. To request no data payload, pass the literal two-character value "". A bare empty value is ignored and returns the full record. Projection does not reduce credits. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "People Data Labs enrich company input.",
    "properties": {
      "domain": {
        "type": "string",
        "description": "Company website domain.",
        "aliases": [
          "website"
        ]
      },
      "name": {
        "type": "string",
        "description": "Company name."
      },
      "titlecase": {
        "type": "boolean",
        "description": "Normalize output text casing."
      },
      "pretty": {
        "type": "boolean",
        "description": "Pretty-print the upstream response."
      },
      "min_likelihood": {
        "type": "integer",
        "description": "Minimum PDL likelihood score required for a 200 match.",
        "minimum": 1,
        "maximum": 10
      },
      "include_if_matched": {
        "type": "boolean",
        "description": "Include matched input fields in response metadata."
      },
      "required": {
        "type": "string",
        "description": "PDL required expression for fields that must be present in a billable match."
      },
      "data_include": {
        "type": "string",
        "description": "Comma-separated fields to include, or a leading - list to exclude. To request no data payload, pass the literal two-character value \"\"; a bare empty value is ignored and returns the full record. Projection does not reduce credits."
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output reference

People Data Labs enrich company result.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.id` | `string` | No | — | — |
| `result.data.name` | `string` | No | — | — |
| `result.data.employee_count` | `number` | No | — | — |
| `result.data.website` | `string` | No | — | — |
| `result.data.display_name` | `string` | No | — | — |
| `result.data.size` | `string` | No | — | — |
| `result.data.industry` | `string` | No | — | — |
| `result.data.description` | `string` | No | — | — |
| `result.data.founded` | `number` | No | — | — |
| `result.data.linkedin_url` | `string` | No | — | — |
| `result.data.phone` | `string` | No | — | — |
| `result.meta` | `record` | 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": "People Data Labs enrich company result.",
    "properties": {
      "data": {
        "type": [
          "object",
          "null"
        ],
        "description": "Provider response payload.",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "employee_count": {
            "type": "number"
          },
          "website": {
            "type": "string"
          },
          "display_name": {
            "type": "string"
          },
          "size": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "founded": {
            "type": "number"
          },
          "linkedin_url": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

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

## Related documentation

* [People Data Labs provider guide](https://deepline.com/docs/providers/peopledatalabs/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.