# Business Email Finder: Company Emails by Domain (`rawtojson/business-email-finder`) Actor

Find public business emails from any company domain: contact, legal and team pages, plus likely name@domain patterns. Every email is labelled confirmed, generic or pattern, so you know what is real. Cheaper than lead databases; you pay only for emails returned.

- **URL**: https://apify.com/rawtojson/business-email-finder.md
- **Developed by:** [Juan Francisco](https://apify.com/rawtojson) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Business Email Finder: find company emails by domain

**Business email finder and company email extractor by domain:** it that reads a company's own website (home, contact, legal notice / impressum, team pages), returns the **public business emails** it publishes, and optionally adds **likely `name@domain` patterns** for the people you name. Every email says exactly how sure we are. There is no fake "verified" badge.

### Who is it for

Sales and recruiting teams, agencies, freelancers and researchers who need a company contact address (or a probable one for a named person) at low cost, with clean JSON/CSV and no guesswork about data quality.

### The three confidence levels

| `confidence` | Meaning | Billed event |
|---|---|---|
| `confirmed` | The address is **published on the company website** and is not a role mailbox (or matches the named person). | `email-published` |
| `generic` | A role mailbox published on the site: `info@`, `contacto@`, `ventas@`... | `email-published` |
| `pattern` | **Deduced** from the person's name (`ana.garcia@`, `agarcia@`...). The pattern already used by the company's published emails goes first. **Not verified**: only the domain's DNS mail records (MX) are checked. | `email-pattern` |

**Why no SMTP check?** Apify blocks outbound port 25, and probing mailboxes is intrusive and unreliable (many servers accept everything, "catch-all"). We say so instead of pretending: every item has `catchAll: "unknown"`, and `mxStatus` tells you whether the domain can receive mail at all.

### Input and output example

```json
{ "domains": ["apify.com", "dinahosting.com"],
  "people": [{ "firstName": "Ana", "lastName": "García", "domain": "dinahosting.com" }] }
```

Real output of a local test (shortened):

```json
{ "type": "email", "domain": "dinahosting.com", "email": "info@dinahosting.com", "confidence": "generic",
  "foundOnUrl": "https://dinahosting.com/legal/aviso-legal", "mxStatus": "mx", "catchAll": "unknown",
  "note": "Role mailbox published on the website (not a named person).", "checkedAt": "2026-11-23T15:51:09.893Z" }
{ "type": "email", "domain": "dinahosting.com", "email": "ana.garcia@dinahosting.com", "confidence": "pattern",
  "personName": "Ana García", "patternUsed": "first.last",
  "note": "Deduced from a common pattern. The mailbox was NOT verified." }
{ "type": "domain-report", "domain": "apify.com", "status": "ok", "pagesChecked": 4, "publishedEmails": 2 }
```

For every domain you also get a free `domain-report` item (`ok`, `no-emails-found`, `blocked-by-robots`, `website-unreachable`, `domain-cannot-receive-mail`, `error`), so a result is never silently empty.

### Pricing (pay per event) and comparison

| | This Actor | code_crafter/leads-finder (niche leader) |
|---|---|---|
| Published email (confirmed or generic) | **$1.50 / 1,000** (launch offer: $1.00 / 1,000) | $2.00 / 1,000 leads + $0.02 per run |
| Deduced pattern (unverified) | **$0.80 / 1,000** (launch offer: $0.50 / 1,000) | not offered, no distinction |
| Domain reports | free | n/a |
| Tells you which emails are real | **yes, per email** | no |

You are never billed for domains that return nothing, for blocked sites or for invalid input. The leader is a broader lead database (people, phones, LinkedIn); this Actor is cheaper per email and tells you which emails are published and which are guesses. It does **not** use LinkedIn or paid databases, so coverage is limited to what companies publish themselves: expect many role mailboxes and fewer named people. Check the leader's current price on its Store page.

A run on 3 domains finishes in about 10 seconds, so the default input already returns data in under a minute.

### How it behaves

- Respects `robots.txt` and sends an identifying User-Agent with a contact address.
- At most 5 pages per domain by default, with pauses. No CAPTCHA bypass, no login, no proxies needed.
- Only emails on the company's own domain are returned (third-party addresses on the page are ignored).
- Decodes common obfuscation (`name [at] domain`, Cloudflare email protection).

### Schedule, Google Sheets, webhook and API

- **Schedules** in Apify Console: re-run weekly with your list of domains.
- **Integrations**: send the dataset to Google Sheets, or call a webhook (Make, n8n, Zapier, Slack) when a run finishes.
- **API**: `POST https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items` with the JSON input above returns the emails directly. Filter on `type = "email"` and `confidence` to keep only `confirmed`.

### FAQ

**Can it verify a mailbox exists?** No. We only confirm that the address is published, or that the domain has mail servers. Anything `pattern` may bounce.
**Why did a domain return nothing?** See its `domain-report`.
**Does it work with LinkedIn or Apollo data?** No. It only reads the company's own website, so no logins, cookies or paid databases are involved.
**Are the emails legal to use?** See the notice below.

### Legal notice (GDPR / RGPD)

Only **professional contact data published by the company itself** is collected. Under the GDPR you still need a lawful basis (usually legitimate interest, art. 6.1.f) to contact people, you must identify yourself, offer an easy opt-out and honour objections. In Spain, art. 21 LSSI also restricts unsolicited commercial email. Named-person emails are personal data even if professional. You decide how the results are used and are responsible for it. Do not use it for spam. This is not legal advice.

### En español

Buscador de emails de empresa: lee la web del dominio (contacto, aviso legal, equipo), devuelve los emails públicos y, si das nombre y apellido, patrones probables. Cada email lleva su confianza: `confirmed` (publicado), `generic` (info@, ventas@) o `pattern` (deducido, **no verificado**). No se verifica el buzón por SMTP (Apify bloquea el puerto 25). Solo se cobran los resultados con email; los informes de dominio son gratis. Datos de contacto profesional: aplica el RGPD y la LSSI (interés legítimo, identificarte y ofrecer baja).

# Actor input Schema

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

Company domains or website URLs (empresa.com or https://www.empresa.com). The Actor reads the home page and contact, legal and team pages and returns the emails published there.

## `people` (type: `array`):

Optional. People to find: objects with firstName, lastName and domain (or fullName and domain). If the company publishes that person's email it is returned as confirmed; otherwise likely patterns are returned as pattern (not verified).

## `includeGeneric` (type: `boolean`):

Return mailboxes that are not tied to a person, like info@ or contacto@, labelled generic.

## `includePatterns` (type: `boolean`):

For each person without a published email, return likely name@domain patterns, only if the domain has mail records (DNS MX). They are NOT verified mailboxes. Disable to receive only emails seen on the web.

## `patternsPerPerson` (type: `integer`):

How many pattern guesses to return per person, most likely first. The pattern used by the company's published emails, if any, goes first.

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

Maximum pages fetched per domain, including the home page. Keep it low to be polite to the website.

## `maxResults` (type: `integer`):

Hard limit of billed emails in this run. Domain reports are free and not counted.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "dinahosting.com"
  ],
  "people": [
    {
      "firstName": "Ana",
      "lastName": "García",
      "domain": "dinahosting.com"
    }
  ],
  "includeGeneric": true,
  "includePatterns": true,
  "patternsPerPerson": 2,
  "maxPagesPerDomain": 5,
  "maxResults": 1000
}
```

# Actor output Schema

## `emails` (type: `string`):

Emails found or deduced, each with its confidence.

## `reports` (type: `string`):

One item per domain explaining what happened (free).

# 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",
        "dinahosting.com"
    ],
    "people": [
        {
            "firstName": "Ana",
            "lastName": "García",
            "domain": "dinahosting.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rawtojson/business-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",
        "dinahosting.com",
    ],
    "people": [{
            "firstName": "Ana",
            "lastName": "García",
            "domain": "dinahosting.com",
        }],
}

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

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).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",
    "dinahosting.com"
  ],
  "people": [
    {
      "firstName": "Ana",
      "lastName": "García",
      "domain": "dinahosting.com"
    }
  ]
}' |
apify call rawtojson/business-email-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rawtojson/business-email-finder"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/noM1PXnoIVUq6lwgT/builds/fOKvV9VuxIBuH9SbF/openapi.json
