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

# Lusha: Enrich Company

> Enrich company metadata (size, revenue, industry, technologies) from a domain, company name, or Lusha company ID. Includes SDK V2 examples, schemas, and cost.

Enrich company metadata (size, revenue, industry, technologies) from a domain, company name, or Lusha company ID.

> [!NOTE]
>
> Tool ID: `lusha_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(
  'lusha_enrich_company',
  {
    "domain": "example.com",
    "company": "Example Corp",
    "company_id": "company_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run lusha_enrich_company --input '{
  "domain": "example.com",
  "company": "Example Corp",
  "company_id": "company_123"
}'
```

## 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"]}}
{
  "v3Id": "v3_123",
  "name": "Example",
  "alternativeName": "Example",
  "alternativeDomains": [
    "example.com"
  ],
  "description": "Example description",
  "domain": "example.com",
  "emailDomain": "jane.doe@example.com",
  "fqdn": "example",
  "website": "https://example.com",
  "logoUrl": "https://example.com",
  "companyType": "example",
  "founded": "example",
  "employees": "example",
  "employeesInLinkedin": 123,
  "lushaPopularityTier": 123,
  "revenueRange": [
    123
  ],
  "mainIndustry": "example",
  "subIndustry": "example",
  "social": {
    "linkedin": {
      "url": "https://example.com"
    }
  },
  "address": "example",
  "location": {
    "city": "San Francisco",
    "continent": "example",
    "country": "US",
    "countryIso2": "example",
    "state": "California",
    "stateCode": "example",
    "non_accent_country": "US",
    "non_accent_state": "California",
    "zipcodes": [
      "example"
    ],
    "fullLocation": "example"
  },
  "companyLocations": [
    {
      "city": "San Francisco",
      "continent": "example",
      "country": "US",
      "countryIso2": "example",
      "state": "California",
      "stateCode": "example",
      "non_accent_country": "US",
      "non_accent_state": "California",
      "zipcodes": [
        "example"
      ],
      "fullLocation": "example"
    }
  ],
  "industryPrimaryGroupDetails": {
    "sics": [
      {
        "sic": 123,
        "description": "Example description"
      }
    ],
    "naics": [
      {
        "naics": 123,
        "description": "Example description"
      }
    ]
  },
  "specialities": [
    "example"
  ],
  "linkedinFollowers": 123
}
```

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

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.domain` | `string` | No | — | Company domain, e.g. "acme.com". Do not include http\:// or [www](http://www). Minimum length: 1. |
| `payload.company` | `string` | No | — | Company name for lookup. Minimum length: 1. |
| `payload.company_id` | `string` | No | — | Lusha company ID: a `v3Id`/`v3CompanyId` from a current result. A numeric ID from the retired V2 API fails loudly when Lusha V3 cannot resolve it. Minimum length: 1. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "domain": {
        "type": "string",
        "description": "Company domain, e.g. \"acme.com\". Do not include http:// or www.",
        "minLength": 1
      },
      "company": {
        "type": "string",
        "description": "Company name for lookup.",
        "minLength": 1
      },
      "company_id": {
        "type": "string",
        "description": "Lusha company ID: a `v3Id`/`v3CompanyId` from a current result. A numeric ID from the retired V2 API fails loudly when Lusha V3 cannot resolve it.",
        "minLength": 1
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.v3Id` | `string` | Yes | — | — |
| `result.name` | `string` | Yes | — | — |
| `result.alternativeName` | `string` | Yes | — | — |
| `result.alternativeDomains` | `array` | Yes | — | — |
| `result.description` | `string` | Yes | — | — |
| `result.domain` | `string` | Yes | — | — |
| `result.emailDomain` | `string` | Yes | — | — |
| `result.fqdn` | `string` | Yes | — | — |
| `result.website` | `string` | Yes | — | — |
| `result.logoUrl` | `string` | Yes | — | — |
| `result.companyType` | `string` | Yes | — | — |
| `result.founded` | `string` | Yes | — | — |
| `result.employees` | `string` | Yes | — | — |
| `result.employeesInLinkedin` | `integer` | Yes | — | — |
| `result.lushaPopularityTier` | `integer` | Yes | — | — |
| `result.revenueRange` | `array` | Yes | — | — |
| `result.mainIndustry` | `string` | Yes | — | — |
| `result.subIndustry` | `string` | Yes | — | — |
| `result.social` | `object` | Yes | — | — |
| `result.social.linkedin` | `object` | Yes | — | — |
| `result.social.linkedin.url` | `string` | Yes | — | — |
| `result.address` | `string` | Yes | — | — |
| `result.location` | `object` | Yes | — | — |
| `result.location.city` | `string` | Yes | — | — |
| `result.location.continent` | `string` | Yes | — | — |
| `result.location.country` | `string` | Yes | — | — |
| `result.location.countryIso2` | `string` | Yes | — | — |
| `result.location.state` | `string` | Yes | — | — |
| `result.location.stateCode` | `string` | Yes | — | — |
| `result.location.non_accent_country` | `string` | Yes | — | — |
| `result.location.non_accent_state` | `string` | Yes | — | — |
| `result.location.zipcodes` | `array` | Yes | — | — |
| `result.location.fullLocation` | `string` | Yes | — | — |
| `result.companyLocations` | `array` | Yes | — | — |
| `result.companyLocations[].city` | `string` | Yes | — | — |
| `result.companyLocations[].continent` | `string` | Yes | — | — |
| `result.companyLocations[].country` | `string` | Yes | — | — |
| `result.companyLocations[].countryIso2` | `string` | Yes | — | — |
| `result.companyLocations[].state` | `string` | Yes | — | — |
| `result.companyLocations[].stateCode` | `string` | Yes | — | — |
| `result.companyLocations[].non_accent_country` | `string` | Yes | — | — |
| `result.companyLocations[].non_accent_state` | `string` | Yes | — | — |
| `result.companyLocations[].zipcodes` | `array` | Yes | — | — |
| `result.companyLocations[].fullLocation` | `string` | Yes | — | — |
| `result.industryPrimaryGroupDetails` | `object` | Yes | — | — |
| `result.industryPrimaryGroupDetails.sics` | `array` | Yes | — | — |
| `result.industryPrimaryGroupDetails.sics[].sic` | `integer` | Yes | — | — |
| `result.industryPrimaryGroupDetails.sics[].description` | `string` | Yes | — | — |
| `result.industryPrimaryGroupDetails.naics` | `array` | Yes | — | — |
| `result.industryPrimaryGroupDetails.naics[].naics` | `integer` | Yes | — | — |

The table shows the first 50 fields. Expand the raw schema below for every field.

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "v3Id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "alternativeName": {
        "type": "string"
      },
      "alternativeDomains": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": {
        "type": "string"
      },
      "domain": {
        "type": "string"
      },
      "emailDomain": {
        "type": "string"
      },
      "fqdn": {
        "type": "string"
      },
      "website": {
        "type": "string"
      },
      "logoUrl": {
        "type": "string"
      },
      "companyType": {
        "type": "string"
      },
      "founded": {
        "type": "string"
      },
      "employees": {
        "type": "string"
      },
      "employeesInLinkedin": {
        "type": "integer"
      },
      "lushaPopularityTier": {
        "type": "integer"
      },
      "revenueRange": {
        "type": "array",
        "items": {
          "type": "integer"
        }
      },
      "mainIndustry": {
        "type": "string"
      },
      "subIndustry": {
        "type": "string"
      },
      "social": {
        "type": "object",
        "properties": {
          "linkedin": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string"
              }
            },
            "required": [
              "url"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "linkedin"
        ],
        "additionalProperties": true
      },
      "address": {
        "type": "string"
      },
      "location": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string"
          },
          "continent": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "countryIso2": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "stateCode": {
            "type": "string"
          },
          "non_accent_country": {
            "type": "string"
          },
          "non_accent_state": {
            "type": "string"
          },
          "zipcodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "fullLocation": {
            "type": "string"
          }
        },
        "required": [
          "city",
          "continent",
          "country",
          "countryIso2",
          "state",
          "stateCode",
          "non_accent_country",
          "non_accent_state",
          "zipcodes",
          "fullLocation"
        ],
        "additionalProperties": true
      },
      "companyLocations": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "city": {
              "type": "string"
            },
            "continent": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "countryIso2": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "stateCode": {
              "type": "string"
            },
            "non_accent_country": {
              "type": "string"
            },
            "non_accent_state": {
              "type": "string"
            },
            "zipcodes": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "fullLocation": {
              "type": "string"
            }
          },
          "required": [
            "city",
            "continent",
            "country",
            "countryIso2",
            "state",
            "stateCode",
            "non_accent_country",
            "non_accent_state",
            "zipcodes",
            "fullLocation"
          ],
          "additionalProperties": true
        }
      },
      "industryPrimaryGroupDetails": {
        "type": "object",
        "properties": {
          "sics": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sic": {
                  "type": "integer"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [
                "sic",
                "description"
              ],
              "additionalProperties": true
            }
          },
          "naics": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "naics": {
                  "type": "integer"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [
                "naics",
                "description"
              ],
              "additionalProperties": true
            }
          }
        },
        "required": [
          "sics",
          "naics"
        ],
        "additionalProperties": true
      },
      "specialities": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "linkedinFollowers": {
        "type": "integer"
      }
    },
    "required": [
      "v3Id",
      "name",
      "alternativeName",
      "alternativeDomains",
      "description",
      "domain",
      "emailDomain",
      "fqdn",
      "website",
      "logoUrl",
      "companyType",
      "founded",
      "employees",
      "employeesInLinkedin",
      "lushaPopularityTier",
      "revenueRange",
      "mainIndustry",
      "subIndustry",
      "social",
      "address",
      "location",
      "companyLocations",
      "industryPrimaryGroupDetails",
      "specialities",
      "linkedinFollowers"
    ],
    "additionalProperties": true
  }
  ```
</details>

## Deepline cost

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

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.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.