# Company Email Finder - Find Emails from Company Name or Domain (`gosoul9/company-email-finder`) Actor

Find contact emails of any company from its name, domain or website URL. Crawls home, contact, about and legal pages, decodes hidden emails, sorts generic vs personal emails, guesses the email pattern and checks MX. $5 per 1,000 companies with emails, no email = free.

- **URL**: https://apify.com/gosoul9/company-email-finder.md
- **Developed by:** [Gosoul Data](https://apify.com/gosoul9) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 company with emails founds

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/running/actors-in-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

## Company Email Finder - Find Emails from Company Name or Domain

Give a list of **company names, domains or website URLs** and get their **contact emails**. The Actor finds the official website (if you only have a name), visits the homepage plus the **contact, about, legal / imprint and team pages**, and returns clean, sorted emails, with the best contact address first.

You pay **only for companies where at least one email is found**.

![Company Email Finder example output: company name or domain to contact emails and email provider](https://api.apify.com/v2/key-value-stores/JJdNTW6mHqsclEqNv/records/company-email-finder-output)

### What you get

| Field | Example |
|---|---|
| `input` | `Le Slip Francais` |
| `domain`, `website` | `leslipfrancais.fr`, `https://www.leslipfrancais.fr/` |
| `primaryEmail` | `bonjour@leslipfrancais.fr` (best generic contact first) |
| `genericEmails` | `contact@`, `info@`, `sales@`, `press@`... on the company domain |
| `personalEmails` | `guillaume@leslipfrancais.fr` |
| `otherDomainEmails` | Emails on other domains (Gmail of a small business...) |
| `emailDetails` | Each email with type, same-domain flag and the pages where it was found |
| `emailPattern` | Guessed format, e.g. `{first}.{last}@company.com` (when personal emails are found) |
| `mxValid`, `emailProvider` | Does the domain receive email? Google Workspace, Microsoft 365, OVH, Zoho... |
| `domainConfidence` | `input` (you gave the domain) or `high` / `medium` / `low` (found from the name) |
| `pagesVisited` | Number of pages read on the website |

### Why use this Actor

- **Name, domain or URL**: no need to find websites first. Mix all three in the same list.
- **Visits the right pages**: contact, about, team, legal notice / imprint (where European companies must publish an email), not only the homepage.
- **Hidden emails decoded**: `name [at] company [dot] com`, HTML entities and Cloudflare-protected emails.
- **Clean results**: placeholder emails (`john.doe@example.com`, `email@gmail.com`), tracking IDs and emails of third-party tools (Shopify, Zendesk, Mailchimp...) are removed.
- **Best contact first**: `contact@`, `hello@`, `info@`, `bonjour@`... are ranked before legal or privacy addresses.
- **Email provider and MX check** included: know if the domain uses Google Workspace or Microsoft 365, and if it can receive email at all.
- **Fair pricing**: no email found = free.

### Step-by-step tutorial

1. **Paste your companies**, one per line: `basecamp.com`, `https://alan.com`, or just `Le Slip Francais, fr`.
2. **Add a country** after names (`Acme, de`) or set *Default country code*: it helps find the local website.
3. **Pages per website** (default 8): more pages = more emails found, slightly slower.
4. **Other domains**: keep *Include emails on other domains* on if you target small businesses (many use Gmail or Outlook addresses).
5. **Start** the run and **export** to Excel / CSV, or send results to your CRM (see Integrations).

#### Input example

```json
{
  "companies": ["basecamp.com", "Le Slip Francais, fr", "https://alan.com", "Back Market, fr"],
  "country": "fr",
  "maxPagesPerSite": 8,
  "includeOtherDomainEmails": true
}
```

#### Output example

```json
{
  "input": "https://alan.com",
  "found": true,
  "domain": "alan.com",
  "primaryEmail": "contact@alan.com",
  "genericEmails": ["contact@alan.com", "privacy@alan.com", "press@alan.com"],
  "mxValid": true,
  "emailProvider": "Google Workspace",
  "pagesVisited": 8
}
```

### Use cases

- **Lead generation**: turn a list of target companies into contact emails.
- **CRM enrichment**: add a contact email to accounts that have only a name or a website.
- **Partnerships, PR and influencer outreach** to brands, agencies, shops and startups.
- **Supplier and B2B sourcing**: contact manufacturers or distributors from a directory.
- **Email deliverability**: check MX and the email provider before a campaign.
- **Full enrichment pipeline**: names → [Company Website Finder](https://apify.com/gosoul9/company-website-finder) → this Actor → [Website Technology Detector](https://apify.com/gosoul9/website-technology-detector).

### Integrations

- **Google Sheets**: read companies from a sheet and write the emails back.
- **Make, Zapier, n8n**: enrich every new lead automatically and push it to HubSpot, Pipedrive, Salesforce, Airtable or Notion.
- **API and SDKs** (Python, JavaScript), **webhooks** and **schedules**.
- **AI agents**: call it from Claude, ChatGPT or Cursor with the Apify MCP server.

### How it works

1. Names are matched to their official website using a public company-domain lookup, smart domain guesses and a check of the homepage title. Look-alike brands are filtered out (Lush is not Lusha).
2. The homepage and up to `maxPagesPerSite` contact-like pages are downloaded.
3. Emails are extracted, decoded, de-duplicated, classified (generic / personal / other domain) and sorted, best contact first.
4. MX records are checked with public DNS to detect the email provider.

### Tips for the best results

- **Give the domain when you have it**: it skips the website search and is 100% accurate.
- **Small businesses** publish emails much more often than large companies: expect higher hit rates on shops, agencies, restaurants, clinics and SMEs.
- **European companies** must publish a legal notice (mentions légales, Impressum) that often contains an email: the Actor reads it automatically.
- Raise *Max pages per website* to 12 or 15 for big websites with many sub-pages.

### Pricing

**$5 per 1,000 companies with at least one email found.** Companies with no email, no website, a website that blocks robots, or an error are **free**.

### FAQ

**Why didn't I get an email for some big companies?**
Many large companies publish no email at all, only contact forms. Those rows are free.

**Why do I see "website blocks automated access"?**
Some sites (Cloudflare and similar) refuse robots. The Actor still returns the right domain, but cannot read the pages, so the row is free.

**Are personal emails guessed?**
No. Only emails **published on the website** are returned. `emailPattern` is a hint deduced from the personal emails actually found.

**Does it verify that emails exist (SMTP)?**
No. It checks that the domain can receive email (MX records). For full verification, run the results through an email verifier.

**Can I use it for GDPR-compliant outreach?**
The Actor collects emails that companies chose to publish. You are responsible for your outreach: B2B prospecting in Europe must be relevant to the recipient and offer an easy opt-out; in the US, follow CAN-SPAM.

### Limits

- Only emails **published on the website** are returned.
- Websites that block robots cannot be read (free).
- This Actor does not guess or verify personal mailboxes with SMTP.

### Other Actors you may like

- [Company Website Finder](https://apify.com/gosoul9/company-website-finder): company name in, official website out.
- [Website Contact Scraper](https://apify.com/gosoul9/website-contact-scraper): emails, phones and social links from any website.
- [Phone Number Validator](https://apify.com/gosoul9/phone-number-validator): check, format and identify phone numbers.
- [Website Technology Detector](https://apify.com/gosoul9/website-technology-detector): the tech stack of any website.
- [French Company Search](https://apify.com/gosoul9/french-company-search): SIREN/SIRET, address and data of French companies.

### Support

Open an issue in the **Issues** tab with examples of companies where emails were missed.

# Actor input Schema

## `companies` (type: `array`):

One company per line: a name (Decathlon), a name with a country code (Decathlon, fr), a domain (stripe.com) or a website URL.

## `country` (type: `string`):

Optional two-letter country code (fr, de, uk, es...) used to prefer local websites when you give company names.

## `maxPagesPerSite` (type: `integer`):

Home page + contact, about, legal and team pages. More pages = more emails found but slower.

## `includeOtherDomainEmails` (type: `boolean`):

Also keep emails that are not on the company domain (for example a Gmail address used by a small business).

## Actor input object example

```json
{
  "companies": [
    "basecamp.com",
    "Le Slip Francais, fr",
    "https://alan.com"
  ],
  "maxPagesPerSite": 8,
  "includeOtherDomainEmails": true
}
```

# Actor output Schema

## `results` (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 = {
    "companies": [
        "basecamp.com",
        "Le Slip Francais, fr",
        "https://alan.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gosoul9/company-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 = { "companies": [
        "basecamp.com",
        "Le Slip Francais, fr",
        "https://alan.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gosoul9/company-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 '{
  "companies": [
    "basecamp.com",
    "Le Slip Francais, fr",
    "https://alan.com"
  ]
}' |
apify call gosoul9/company-email-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gosoul9/company-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/8fcY9KD6RO0qrdfGR/builds/jdMjVz1E4JzU4QLQ6/openapi.json
