# Email Finder & MX Verifier from Domains: Scored B2B Lead List (`mosaicked_sponge/website-lead-scorer`) Actor

Turn company names, domains or websites into a scored B2B lead list. Finds each company's site, extracts names, job titles, published emails and phones, checks each email's domain (syntax, MX, disposable, role; no mailbox test) and scores every lead 0-100, A-D.

- **URL**: https://apify.com/mosaicked_sponge/website-lead-scorer.md
- **Developed by:** [Jason](https://apify.com/mosaicked_sponge) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.70 / 1,000 scored lead with emails

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

## Email Finder & MX Verifier from Domains: Scored B2B Lead List

Paste a list of **company names, domains or website URLs** and get back a **ready-to-use lead list**: one row per lead with the person's **name, job title, email, phone**, a **domain-level email check** (syntax, MX mail servers, disposable, role and free-provider checks; the mailbox itself is not tested), and a **lead score from 0 to 100 with a grade (A to D) and the reasons behind it**.

It does in one run what usually takes three tools: a website finder, a contact scraper and a domain-level email checker. No API keys, no browser, no proxy needed.

### What it does, step by step

1. **Finds the website.** Domains and URLs are used as given. Company names are looked up for free: Clearbit's public company autocomplete first, then Wikidata's "official website", then a `<name>.com` check. Every row tells you how the website was found (`resolvedBy`) and how sure the match is (`resolveConfidence`: high, medium, low).
2. **Crawls the pages that name people.** The homepage plus the best team, leadership, about, contact and impressum pages (up to 6 by default), politely: robots.txt respected, at most 2 parallel requests per site.
3. **Extracts contacts.** Emails (including obfuscated and Cloudflare-protected ones, with junk, placeholders and no-reply addresses removed), phone numbers in E.164 format, LinkedIn/Facebook/X/Instagram, the contact page and the address.
4. **Finds named people.** Name and job title from team pages ("Jane Doe, CEO", name cards with a title underneath) and from schema.org Person data, and matches each person to their own email (jane@, jane.doe@, jdoe@...). Customer testimonials on the homepage are ignored.
5. **Checks every email at domain level** without sending anything: syntax, live MX records (including null-MX and dead mail hosts), disposable domains (9,900+), role inboxes, free providers, typo domains (gmial.com) and SPF/DMARC. It does not test whether the mailbox exists; see [What "verified" means here](#what-verified-means-here).
6. **Scores each lead 0-100**, gives it a grade and lists the reasons, then keeps the best leads per company (5 by default).

### What "verified" means here

Apify blocks outbound SMTP (port 25), so this Actor **cannot ask a mail server whether a specific mailbox exists**, and it cannot detect catch-all domains. "Verified" in this Actor means **domain-verified** and nothing more:

| `emailCheck` | Meaning |
|---|---|
| `domain-verified` | The address is well formed (malformed ones are dropped during extraction), its domain has working mail servers (MX, not null-MX), and it is not a disposable domain. The mailbox itself was **not** tested. |
| `risky` | Likely typo domain (gmial.com), disposable domain, a Gmail address with an unusual format, or a domain that only has an A record and no MX. |
| `invalid` | The domain does not exist, has no mail server or one that cannot be reached, refuses all mail (null MX), or the address cannot exist at Gmail. |
| `unchecked` | DNS did not answer in time, so nothing could be checked. |

Every email row also has `mailboxChecked: false` and `catchAll: null` so this is visible in your export. Role inboxes (`isRoleAccount`), free providers (`isFreeProvider`) and disposable domains (`isDisposable`) are flagged separately. Emails are only ever taken from the company's public web pages: none are guessed from name patterns. A domain-verified address can still bounce, for example if the person has left the company; if you need mailbox-level certainty, run the list through an SMTP verifier before a large send.

### Lead grades

| Grade | Score | Typically |
|---|---|---|
| **A** | 80-100 | Named person with a job title and their own email on the company domain, domain-verified |
| **B** | 60-79 | Personal email on the company domain (name inferred or missing) |
| **C** | 40-59 | Department or shared inbox (info@, sales@), or a named decision maker with only the company phone |
| **D** | 0-39 | Inbox on another domain, risky or invalid email, named staff with no contact details, phone only |

How the points add up (shown in `scoreReasons` for every lead):

- Email: personal +55, departmental +35, shared role inbox +30, risky +15, unchecked (DNS timeout) +10, invalid 0
- Email on the company's own domain +8; free mailbox (Gmail...) -5; another company's domain -10; DMARC +2; no SPF -3
- Named person +15 (or +8 when the name only comes from a first.last email); job title +10; decision-maker title +7
- Direct phone next to the person +5; company phone +10 if there is no email (+2 otherwise); personal LinkedIn +3
- Disposable domains are capped at 10

### Input

```json
{
  "companies": ["fsf.org", "Basecamp", "https://www.debian.org/intro/organization"],
  "maxLeadsPerCompany": 5,
  "minScore": 0
}
```

- **companies**: names, domains or URLs, one per line, mixed freely. Duplicates are scanned once.
- **maxLeadsPerCompany**: best leads kept per company (caps your cost per company).
- **minScore**: drop leads below this score (they are not charged). 60 = only A and B leads.
- **includePeopleWithoutEmail** (on by default): also list named people whose email is not published, and the company phone when a site has no email at all. These rows are **always free**.
- **includeRoleInboxes**, **includeCompaniesWithoutLeads**: what else to keep.
- Advanced: pages per site, concurrency, robots.txt, timeout, optional proxy fallback.

### Output

One row per lead. Main fields:

| Field | Example |
|---|---|
| `grade`, `score` | `A`, `99` |
| `company`, `domain`, `website` | `Free Software Foundation`, `fsf.org` |
| `fullName`, `firstName`, `lastName`, `jobTitle`, `isDecisionMaker` | `Zoë Kooyman`, `Executive Director`, `true` |
| `email`, `emailType`, `emailCheck`, `emailReason` | `zoe@fsf.org`, `personal`, `domain-verified`, `domain_accepts_mail` |
| `phone`, `phoneSource` | `+16175425942`, `company` |
| `leadType` | with email: `person`, `personal_email`, `generic_inbox`, `role_inbox`; without email (free): `person_no_email`, `company_phone` |
| `charged`, `billing` | `true`, `charged` / `false`, `free_trial` / `false`, `free_no_email` |
| `scoreReasons` | `["+55 personal email on a domain whose mail servers accept mail (MX ok)", "+8 email is on the company's own domain", ...]` |
| `resolvedBy`, `resolveConfidence` | `input`, `clearbit` / `high` |
| email check details | `emailStatus` (raw: `valid` = domain-verified), `isRoleAccount`, `isFreeProvider`, `isDisposable`, `didYouMean`, `hasMx`, `mailProvider`, `hasSpf`, `hasDmarc`, `mailboxChecked` (always `false`), `catchAll` (always `null`) |
| company details | `companyPhone`, `companyEmail`, `companyLinkedin`, `facebook`, `twitter`, `instagram`, `contactPageUrl`, `address`, `foundOn` |

Companies that gave no lead get one **free** status row (`no_leads`, `company_not_found`, `dns_error`, `blocked`, `duplicate`, `invalid_input`...) so your list stays complete. A run summary (leads per grade, free vs charged leads, notes) is saved as the `OUTPUT` record.

Export as CSV, Excel or JSON, or connect it to Google Sheets, HubSpot, Make, Zapier or n8n through Apify integrations.

### Pricing

You pay only for leads that have an email address:

| Event | Price |
|---|---|
| Run fee (once per run, not charged for empty or invalid input) | **$0.01** |
| Scored lead **with an email** | **$0.0027** ($2.70 per 1,000 leads) |
| **First 3 email leads of every run** | **free** |
| Leads **without an email** (named person only, company phone only) | **always free** |
| Companies with no lead, names not found, dead or blocked sites, duplicates | free |

Every row shows `charged` (true/false) and `billing` (`charged`, `free_trial`, `free_no_email`, `free_status_row`), so your bill is always: email leads minus the 3 free ones, plus the run fee.

Example: 100 companies at the default 5 leads per company usually give about 200-250 email leads (plus free no-email leads), about **$0.55-$0.70** in total, under 1 cent per company. A first test with one company usually costs 1 cent, since its first 3 email leads are free. Apify's free plan includes $5 of monthly credit, enough for roughly 1,800 email leads.

Your **maximum cost per run** is always respected: when it is reached, the run stops cleanly and nothing beyond it is saved or charged.

### Honest limits

- **No SMTP mailbox test.** Apify blocks outbound port 25, so the individual mailbox and catch-all domains are not tested (`mailboxChecked: false`, `catchAll: null`). `domain-verified` means the address is well formed and its domain's mail servers accept mail, not that the inbox exists.
- **Names come from public pages.** If a company does not publish its team, you get its shared inboxes and phone instead. Sites that only render with JavaScript, or that block bots, may give fewer results.
- **Company-name lookup is best effort.** Ambiguous names (for example "Delta") may match the best-known company, and small local businesses are often not found. The free Clearbit autocomplete is unofficial and could be rate-limited or retired; Wikidata and the .com guess then take over. Give domains whenever you have them.
- Use the data in line with GDPR, CAN-SPAM and your local laws. This Actor only reads public web pages.

### Related tools

- [Website Contact Extractor](https://apify.com/mosaicked_sponge/website-contact-extractor): one row per website with every email, phone and social profile.
- [Email Verifier & Validator](https://apify.com/mosaicked_sponge/email-verifier): domain-level checks for an existing email list.

### FAQ

**Is it a person or a company per row?** A lead per row. A company can have several leads (people and inboxes); the best ones come first.

**Why is a CEO without email only grade C?** A name and title are great for LinkedIn or phone outreach, but without an email the lead is harder to reach, so it scores lower than a named person with a domain-verified address. It is not charged.

**Can I feed it another Actor's output?** Yes: pass domains from Google Maps, directory or CRM exports in `companies`.

**Am I charged for people without an email?** No. Leads without an email are listed for free (`billing: free_no_email`) and do not use up the 3 free leads. Turn off `includePeopleWithoutEmail` if you only want email leads.

# Actor input Schema

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

One company per line, in any mix: a <b>domain</b> (<code>acme.com</code>), a <b>URL</b> to start from (<code>https://acme.com/team</code>) or a <b>company name</b> (<code>Acme Inc</code>). Names are looked up for free (Clearbit autocomplete, then Wikidata, then a .com guess); every row shows <code>resolvedBy</code> and <code>resolveConfidence</code>. Domains are always more accurate than names. Duplicates (same website) are scanned once and never charged twice.

## `maxLeadsPerCompany` (type: `integer`):

Best-scored leads kept per company (highest score first). You pay per lead, so this caps your cost per company: 5 leads = at most $0.0135 per company.

## `minScore` (type: `integer`):

Leads scoring below this are dropped and not charged. 60 keeps grades A and B (named people with emails / personal emails); 40 also keeps C (shared inboxes like info@).

## `includeRoleInboxes` (type: `boolean`):

Shared role mailboxes usually deliver but reach a team, not a person. They score lower (grade C or D). Turn off to get only personal and departmental addresses and named people.

## `includePeopleWithoutEmail` (type: `boolean`):

Team-page people (name + job title) whose email is not published, plus a company-phone row when a site has no email at all. Useful for LinkedIn or phone outreach. These rows are never charged and do not use the 3 free leads (billing = free_no_email). They score lower than people with an email.

## `includeCompaniesWithoutLeads` (type: `boolean`):

Adds one free status row for every company that gave no lead (no contacts, name not found, site down, blocked, duplicate), so your list stays complete. These rows are never charged.

## `resolveCompanyNames` (type: `boolean`):

Turn off to treat inputs without a domain as invalid (free rows) instead of looking them up.

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

Homepage plus the pages most likely to name people and contacts (team, leadership, about, contact, impressum). More pages can find more people; your price is per lead, not per page.

## `maxCompanies` (type: `integer`):

Safety limit. Extra input lines are skipped (not charged).

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

Each website still gets at most 2 parallel requests and a pause between requests (polite crawling).

## `respectRobotsTxt` (type: `boolean`):

Skip pages a website's robots.txt disallows.

## `requestTimeoutSecs` (type: `integer`):

Per page. Slow sites are skipped (free) instead of stalling the run.

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

Optional. Only used to retry websites that block or time out on a direct connection. Datacenter proxy only.

## Actor input object example

```json
{
  "companies": [
    "fsf.org",
    "Basecamp",
    "https://www.debian.org/intro/organization"
  ],
  "maxLeadsPerCompany": 5,
  "minScore": 0,
  "includeRoleInboxes": true,
  "includePeopleWithoutEmail": true,
  "includeCompaniesWithoutLeads": true,
  "resolveCompanyNames": true,
  "maxPagesPerSite": 6,
  "maxCompanies": 1000,
  "maxConcurrency": 10,
  "respectRobotsTxt": true,
  "requestTimeoutSecs": 15,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Name, title, email with a domain-level check (no mailbox test), phone, score 0-100, grade A-D, reasons and billing per row.

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

OUTPUT record: companies, leads per grade, free vs charged leads, statuses, notes.

# 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": [
        "fsf.org",
        "Basecamp",
        "https://www.debian.org/intro/organization"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mosaicked_sponge/website-lead-scorer").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": [
        "fsf.org",
        "Basecamp",
        "https://www.debian.org/intro/organization",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("mosaicked_sponge/website-lead-scorer").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": [
    "fsf.org",
    "Basecamp",
    "https://www.debian.org/intro/organization"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call mosaicked_sponge/website-lead-scorer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mosaicked_sponge/website-lead-scorer"
        }
    }
}
```

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/44RW8V8NVJg1N8yGF/builds/NARgYWmoiisCOLh63/openapi.json
