# Domain Email Finder (`mighty_monk/domain-email-finder`) Actor

Find email addresses for company domains by crawling homepage, contact, about, and team pages (mailto, regex, JSON-LD) and generating common email patterns from full names. Lead-gen ready with confidence scores.

- **URL**: https://apify.com/mighty\_monk/domain-email-finder.md
- **Developed by:** [Harsh](https://apify.com/mighty_monk) (community)
- **Categories:** Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 email or domain results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### What does Domain Email Finder do?

**Domain Email Finder** discovers **email addresses for company domains** — ideal for cold outreach, lead lists, and enrichment pipelines. Give it domains like `acme.com`, optionally add full names, and it:

1. **Crawls** the homepage plus `/contact`, `/about`, `/team` (and linked contact pages) with a fast Cheerio crawler
2. **Extracts** emails from `mailto:` links, page text, and JSON-LD structured data
3. **Generates** common email patterns from names (`first@`, `first.last@`, `flast@`, `firstl@`, …)
4. **Deduplicates** results with confidence scores (`high` / `medium` / `low`)

Runs on the [Apify platform](https://apify.com) with **API access**, **scheduling**, **integrations**, proxy rotation, and monitoring.

### Why use Domain Email Finder?

- **Cold email stacks** need domain → emails without paying Apollo for every lookup
- **Lead generation** at scale: feed domains from SERP, directories, or CRM exports
- **Pattern + website hybrid**: catch public inbox addresses *and* guess role-based / name-based patterns
- **Honest confidence**: patterns are **not SMTP-verified** — marked medium/low so you can filter or verify elsewhere (e.g. MillionVerifier)
- **Pay-per-result** pricing (~$0.003 per dataset item) keeps cost predictable

### How to use Domain Email Finder

1. Open the Actor in [Apify Console](https://console.apify.com)
2. Enter one or more **domains** (e.g. `acme.com`)
3. Optionally add **full names** for pattern generation
4. Leave **Crawl website** and **Generate patterns** enabled (defaults)
5. Click **Start** and download the dataset as JSON, CSV, Excel, or HTML

#### Example input

```json
{
    "domains": ["apify.com", "stripe.com"],
    "fullNames": ["Jane Doe"],
    "maxPagesPerDomain": 8,
    "generatePatterns": true,
    "crawlWebsite": true,
    "maxConcurrency": 5,
    "requestDelayMs": 200
}
````

### Input

| Field | Type | Required | Default | Description |
| ----- | ---- | -------- | ------- | ----------- |
| `domains` | `string[]` | Yes | — | Domains to process (`acme.com` or full URLs) |
| `fullNames` | `string[]` | No | `[]` | Names for pattern generation |
| `maxPagesPerDomain` | `integer` | No | `8` | Cap on pages crawled per domain |
| `generatePatterns` | `boolean` | No | `true` | Build pattern emails from names |
| `crawlWebsite` | `boolean` | No | `true` | Crawl site for public emails |
| `maxConcurrency` | `integer` | No | `5` | Parallel HTTP requests |
| `maxRequestRetries` | `integer` | No | `3` | Retries for failed pages |
| `requestDelayMs` | `integer` | No | `200` | Rate-limit hint |
| `proxyConfiguration` | `object` | No | Proxy off | Apify Proxy settings |

See the **Input** tab for the full form schema.

### Output

Each dataset item is either an **email** row or a **domain\_summary** row (null-safe fields on both).

#### Email result

```json
{
    "type": "email",
    "domain": "acme.com",
    "email": "info@acme.com",
    "source": "mailto",
    "confidence": "high",
    "fullName": null,
    "pattern": null,
    "pageUrl": "https://acme.com/contact",
    "emailsFound": null,
    "pagesScraped": null,
    "error": null,
    "scrapedAt": "2026-07-18T12:00:00.000Z"
}
```

#### Domain summary

```json
{
    "type": "domain_summary",
    "domain": "acme.com",
    "email": null,
    "source": null,
    "confidence": null,
    "fullName": null,
    "pattern": null,
    "pageUrl": null,
    "emailsFound": 5,
    "pagesScraped": 4,
    "error": null,
    "scrapedAt": "2026-07-18T12:00:00.000Z"
}
```

You can download the dataset in **JSON, HTML, CSV, or Excel**.

### Data table

| Field | Description |
| ----- | ----------- |
| `type` | `email` or `domain_summary` |
| `domain` | Normalized host without `www` |
| `email` | Found or generated address |
| `source` | `mailto`, `json-ld`, `website`, or `pattern` |
| `confidence` | `high` (mailto/json-ld), `medium` (text or strong patterns), `low` (weaker patterns) |
| `fullName` | Name used for the pattern, if any |
| `pattern` | Template id (e.g. `first.last`, `flast`) |
| `pageUrl` | Page where the email was scraped |
| `emailsFound` | Unique emails for the domain (summary only) |
| `pagesScraped` | Pages successfully scraped (summary only) |
| `scrapedAt` | ISO timestamp |

### Patterns generated (when names are provided)

| Pattern | Example (`Jane Doe` @ `acme.com`) | Default confidence |
| ------- | --------------------------------- | ------------------ |
| `first` | jane@acme.com | medium |
| `first.last` | jane.doe@acme.com | medium |
| `flast` | jdoe@acme.com | medium |
| `firstl` | janed@acme.com | medium |
| `f.last` | j.doe@acme.com | medium |
| `last` | doe@acme.com | low |
| `first_last` | jane\_doe@acme.com | low |
| `first-last` | jane-doe@acme.com | low |
| `first.l` | jane.d@acme.com | low |
| `last.first` | doe.jane@acme.com | low |
| `lastf` | doej@acme.com | low |
| `f_last` | j\_doe@acme.com | low |

**These are not SMTP-verified.** Use a verifier if you need deliverability guarantees.

### Pricing / Cost estimation

**How much does it cost to find emails for a domain?**

Pay-per-event pricing: **$0.003 per dataset item** (`apify-default-dataset-item`), plus a tiny actor-start fee.

- Each **email** row is one chargeable result
- Each **domain\_summary** row is also one result
- Example: 1 domain, 10 unique emails → ~11 items ≈ **$0.033**

Apify free tier compute units apply for development; production usage depends on crawl depth and proxy.

### Tips

- Set `crawlWebsite: false` if you only want **pattern** emails from names (fast, no HTTP)
- Raise `maxPagesPerDomain` for sites that bury emails deep in `/careers` or multi-language paths
- Prefer **high** confidence (`mailto` / `json-ld`) for outreach; treat **pattern** rows as candidates
- Use Apify Proxy for domains that block datacenter IPs
- Combine with a SERP or directory Actor for bulk domain lists

### FAQ, disclaimers, and support

**Is scraping emails legal?**\
Scraping publicly available contact info is common for B2B lead gen, but you must comply with applicable laws (CAN-SPAM, GDPR, CASL, etc.), the target site’s Terms of Service, and anti-spam rules. This Actor does not send email.

**Are pattern emails verified?**\
No. Patterns are heuristic only. Confidence never exceeds `medium` for patterns.

**Why were some emails dropped?**\
Noise filters remove placeholders (`example.com`, Sentry, Wixpress, noreply, image-like addresses, etc.).

**Need a custom solution?**\
Open an issue on the Actor’s **Issues** tab or contact the developer for custom enrichment pipelines.

***

Built with TypeScript, Apify SDK, and Crawlee CheerioCrawler.

# Actor input Schema

## `domains` (type: `array`):

Company domains to find emails for (e.g. acme.com). Protocols and paths are stripped automatically.

## `fullNames` (type: `array`):

Optional people names used for email pattern generation (e.g. "Jane Doe"). Applied to every domain when generatePatterns is enabled.

## `maxPagesPerDomain` (type: `integer`):

Maximum pages to crawl per domain (homepage + contact/about/team paths and discovered links).

## `generatePatterns` (type: `boolean`):

When enabled and fullNames are provided, generate common email patterns (first@, first.last@, flast@, etc.). Patterns are marked low/medium confidence — not SMTP-verified.

## `crawlWebsite` (type: `boolean`):

Crawl homepage, /contact, /about, /team and discovered contact links to extract emails from mailto, page text, and JSON-LD.

## `maxConcurrency` (type: `integer`):

Maximum number of pages processed in parallel.

## `maxRequestRetries` (type: `integer`):

How many times to retry failed HTTP requests before giving up.

## `requestDelayMs` (type: `integer`):

Approximate delay between requests used for rate limiting (converted to maxRequestsPerMinute).

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy settings for production runs.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "stripe.com"
  ],
  "fullNames": [],
  "maxPagesPerDomain": 8,
  "generatePatterns": true,
  "crawlWebsite": true,
  "maxConcurrency": 5,
  "maxRequestRetries": 3,
  "requestDelayMs": 200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com",
        "stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mighty_monk/domain-email-finder").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "domains": [
        "apify.com",
        "stripe.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("mighty_monk/domain-email-finder").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com",
    "stripe.com"
  ]
}' |
apify call mighty_monk/domain-email-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=mighty_monk/domain-email-finder",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Domain Email Finder",
        "description": "Find email addresses for company domains by crawling homepage, contact, about, and team pages (mailto, regex, JSON-LD) and generating common email patterns from full names. Lead-gen ready with confidence scores.",
        "version": "1.0",
        "x-build-id": "dEGiFSW5cxwuiScAj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/mighty_monk~domain-email-finder/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-mighty_monk-domain-email-finder",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/mighty_monk~domain-email-finder/runs": {
            "post": {
                "operationId": "runs-sync-mighty_monk-domain-email-finder",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/mighty_monk~domain-email-finder/run-sync": {
            "post": {
                "operationId": "run-sync-mighty_monk-domain-email-finder",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "domains"
                ],
                "properties": {
                    "domains": {
                        "title": "Domains",
                        "type": "array",
                        "description": "Company domains to find emails for (e.g. acme.com). Protocols and paths are stripped automatically.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "fullNames": {
                        "title": "Full names (optional)",
                        "type": "array",
                        "description": "Optional people names used for email pattern generation (e.g. \"Jane Doe\"). Applied to every domain when generatePatterns is enabled.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxPagesPerDomain": {
                        "title": "Max pages per domain",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum pages to crawl per domain (homepage + contact/about/team paths and discovered links).",
                        "default": 8
                    },
                    "generatePatterns": {
                        "title": "Generate email patterns",
                        "type": "boolean",
                        "description": "When enabled and fullNames are provided, generate common email patterns (first@, first.last@, flast@, etc.). Patterns are marked low/medium confidence — not SMTP-verified.",
                        "default": true
                    },
                    "crawlWebsite": {
                        "title": "Crawl website for emails",
                        "type": "boolean",
                        "description": "Crawl homepage, /contact, /about, /team and discovered contact links to extract emails from mailto, page text, and JSON-LD.",
                        "default": true
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum number of pages processed in parallel.",
                        "default": 5
                    },
                    "maxRequestRetries": {
                        "title": "Max request retries",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "integer",
                        "description": "How many times to retry failed HTTP requests before giving up.",
                        "default": 3
                    },
                    "requestDelayMs": {
                        "title": "Request delay (ms)",
                        "minimum": 0,
                        "maximum": 60000,
                        "type": "integer",
                        "description": "Approximate delay between requests used for rate limiting (converted to maxRequestsPerMinute).",
                        "default": 200
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional Apify Proxy settings for production runs.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
