# Enrich a CRM account list with company size from domains

**Use case:** 

Give a list of company domains from your CRM or target list and get one company row per domain: name, industry, employee count, location and LinkedIn page. Domains shared by unrelated companies are skipped instead of guessed.

## Input

```json
{
  "items": [
    "stripe.com",
    "shopify.com",
    "hubspot.com",
    "notion.so"
  ],
  "limit": 25,
  "includeAudit": false
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "name": {
    "label": "Company",
    "format": "string"
  },
  "linkedinUrl": {
    "label": "LinkedIn page",
    "format": "string"
  },
  "industry": {
    "label": "Industry",
    "format": "string"
  },
  "employeeCount": {
    "label": "Employees",
    "format": "integer"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "logoUrl": {
    "label": "Logo",
    "format": "string"
  },
  "matchType": {
    "label": "How it was matched",
    "format": "string"
  },
  "otherCompaniesOnDomain": {
    "label": "Other companies on this domain",
    "format": "integer"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Company Data by Domain Actor is ready to run with the inputs already set for "Enrich a CRM account list with company size from domains". [Sign up or log in](https://console.apify.com/create-task-from-example/Z9Wb2cAEAXseHA75E) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Enrich a CRM account list with company size from domains" task

The Company Data by Domain Actor will start running based on the input automatically. You can also change all the input fields, like which companies? (domains, website urls or emails), max companies in total, and more, to match your specific use case.

### 3. Receive the "Enrich a CRM account list with company size from domains" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as domain, company, linkedin page, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Enrich a CRM account list with company size from domains" task via API](https://apify.com/b2bdata/company-by-domain.md).

## FAQ

### What does the company by domain task return?

The company by domain task returns one company card per domain with name, industry, employee count, location, LinkedIn page, logo URL and how the domain was matched.

### What input does the account enrichment task need?

This task needs a list of company domains. Website URLs and email addresses are reduced to their domain. A company name is not a domain and is listed as invalid in the misses record.

### How do I enrich a CRM export on a schedule or via the API?

Run the account enrichment task through the Apify API, put it on a schedule in Apify Console, or start it by hand. Export the dataset as CSV or JSON and open it in Google Sheets or Excel.

### What happens to a shared or unknown domain in this enrichment task?

In the account enrichment task, a domain with no company on file, or shared by unrelated companies with no clear owner, returns one notice row instead of a guessed company.

## About this Actor

This example demonstrates how to use [Company Data by Domain](https://apify.com/b2bdata/company-by-domain.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/b2bdata/company-by-domain.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/b2bdata/company-by-domain.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
