> ## 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: Enrich Domain

> Enrich company metadata from a domain. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Enrich company metadata from a domain.

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

## 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_enrich_domain',
  {
    "domain": "example.com"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute contactout_enrich_domain --input '{
  "domain": "example.com"
}' --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": {
    "name": "Example",
    "domain": "example.com",
    "email_domain": "jane.doe@example.com"
  }
}
```

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

## Input reference

Enrich one company domain and return ContactOut company metadata in the legacy Deepline response shape.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.domain` | `string` | Yes | — | Minimum length: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Enrich one company domain and return ContactOut company metadata in the legacy Deepline response shape.",
    "properties": {
      "domain": {
        "type": "string",
        "minLength": 1
      }
    },
    "required": [
      "domain"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.name` | `string` | No | — | — |
| `result.data.domain` | `string` | No | — | — |
| `result.data.email_domain` | `string` | No | — | — |
| `result.data.website` | `string` | No | — | — |
| `result.data.logo_url` | `string` | No | — | — |
| `result.data.type` | `string` | No | — | — |
| `result.data.size` | `number \| string` | No | — | — |
| `result.data.industry` | `string` | No | — | — |
| `result.data.founded_at` | `number \| string` | No | — | — |
| `result.data.headquarter` | `string` | No | — | — |
| `result.data.locations` | `array` | No | — | — |
| `result.data.revenue` | `number \| string \| null` | No | — | — |
| `result.data.specialties` | `array` | No | — | — |
| `result.data.followers` | `number` | No | — | — |
| `result.data.employees` | `number` | No | — | — |
| `result.data.funding` | `object` | No | — | — |
| `result.data.funding.total_funding_usd` | `number` | No | — | — |
| `result.data.funding.funding_status` | `string` | No | — | — |
| `result.data.funding.latest_date` | `string` | No | — | — |
| `result.data.funding.number_of_funding_rounds` | `number` | No | — | — |
| `result.data.funding.rounds` | `array` | 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": {
          "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
      },
      "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.