# Enrich inbound leads with industry and headcount from domain

**Use case:** 

Send the company domains from your inbound leads and get one firmographic record per domain: industry, employee count and size band, headquarters, founding year and LinkedIn page. Ambiguous domains are skipped and explained, never guessed.

## Input

```json
{
  "domains": [
    "stripe.com",
    "shopify.com",
    "hubspot.com"
  ],
  "minLeadScore": 0,
  "outputFormat": "default",
  "maxChargeUsd": 0,
  "sourceTag": "",
  "concurrency": 1
}
```

## Output

```json
{
  "companyName": {
    "label": "Company name",
    "format": "string"
  },
  "inputDomain": {
    "label": "Input domain",
    "format": "string"
  },
  "industry": {
    "label": "Industry",
    "format": "string"
  },
  "employeeCount": {
    "label": "Employee count",
    "format": "integer"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "websiteUrl": {
    "label": "Website URL",
    "format": "string"
  },
  "linkedinUrl": {
    "label": "LinkedIn URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Explanation (explanation rows only)",
    "format": "string"
  },
  "leadScore": {
    "label": "Lead score (0-100)",
    "format": "integer"
  }
}
```

## How it works

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

The Firmographics by Domain - Company Enrichment API Actor is ready to run with the inputs already set for "Enrich inbound leads with industry and headcount from domain". [Sign up or log in](https://console.apify.com/create-task-from-example/BzubiP0QtgwfgHLll) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Enrich inbound leads with industry and headcount from domain" task

The Firmographics by Domain - Company Enrichment API Actor will start running based on the input automatically. You can also change all the input fields, like company domains (up to 100), minimum lead score (0-100), and more, to match your specific use case.

### 3. Receive the "Enrich inbound leads with industry and headcount from domain" 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 company name, input domain, industry, 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 inbound leads with industry and headcount from domain" task via API](https://apify.com/b2bdata/company-firmographics-by-domain.md).

## FAQ

### What does the lead firmographics task return?

The lead firmographics task returns one record per domain with company name, industry, employee count, size band, headquarters location, website, LinkedIn page and a lead score.

### What input does the firmographics by domain task need?

This task needs a list of company domains or website URLs, from 1 to 100 per run. A company name is skipped as invalid. Duplicates are removed.

### How do I run the firmographics lookup from the API or a schedule?

Run the firmographics 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.

### How does the lead enrichment task handle ambiguous domains?

The lead firmographics task writes a row only when exactly one company is a confirmed match for the domain. Missing and ambiguous domains are counted in the run summary instead of being guessed.

## About this Actor

This example demonstrates how to use [Firmographics by Domain - Company Enrichment API](https://apify.com/b2bdata/company-firmographics-by-domain.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/b2bdata/company-firmographics-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-firmographics-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`).
