# B2B Company Leads & Verified Emails (`mrdoe/b2b-company-leads`) Actor

Find B2B decision-makers from company websites with names, job titles, departments, seniority, business emails, confidence scores, phones, and optional firmographics and email verification.

- **URL**: https://apify.com/mrdoe/b2b-company-leads.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 3 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## B2B Company Leads + Verified Emails - Find Decision-Makers at Any Company

Turn a list of company websites into targeted B2B leads - decision-makers filtered by department and seniority, with optional firmographic data (industry, location, employee count).

### What does this Actor do?

Give it one or more company website URLs and it returns one structured record per decision-maker contact, including:

- **Company details** - name, website, domain, description, phone, and domain-quality signals (email pattern, catch-all/webmail/disposable flags)
- **Targeted contact email** - filtered to the departments/seniority levels you specify (e.g. executive and senior contacts in Sales or Marketing), with job title, department, seniority, confidence score, and whether the contact is a decision-maker
- **Optional firmographics** - industry, city/state/country, and approximate employee count
- **Optional email verification** - deliverability check

If your department/seniority filters find nobody at a company, the Actor automatically falls back to an unfiltered search rather than returning that company empty. Nothing is guessed or invented - fields with no available data are returned as `null`.

### How it works

1. Fetches each company's homepage for its name, description, and phone number.
2. Looks up the domain for decision-makers in a single pass, filtered by **Target departments** and **Target seniority**.
3. Ranks returned contacts by seniority (executive > senior > junior) then confidence, and returns up to **Max leads per company**.
4. Optionally verifies each email's deliverability and enriches company firmographics, if enabled.

This Actor is HTTP-only (no headless browser), so it's fast and lightweight even across many companies. Email enrichment is built in - no separate account, sign-up, or API key needed on your end.

### Input

| Field | Description |
|---|---|
| **Company website URLs** (`startUrls`) | One or more company homepages to find leads for. Accepts many domains at once. |
| **Target departments** (`targetDepartments`) | Only return contacts in these departments (e.g. Sales, Marketing, IT). Leave empty for any. |
| **Target seniority** (`targetSeniority`) | Only return contacts at these levels (junior/senior/executive). Defaults to executive + senior. |
| **Max leads per company** (`maxContactsPerCompany`) | Cap on contacts returned per company, up to 100 - fetched in a single lookup, so raising this doesn't cost extra requests. |
| **Max total leads** (`maxItems`) | Overall cap on leads returned across all companies. Set to 0 for unlimited. |
| **Enable email enrichment** (`enableContactEnrichment`) | Turns contact/email lookup on or off. On by default. |
| **Verify emails** (`enableEmailVerification`) | Extra deliverability check per email, on top of the status already included with each contact. On by default. |
| **Enrich company firmographics** (`enableCompanyEnrichment`) | Adds industry, location, and employee count per company. On by default. |

### How to use

1. [Sign up](https://apify.com/sign-up) for a free Apify account.
2. Open this Actor and enter one or more **Company website URLs**.
3. Set **Target departments** / **Target seniority** to narrow leads to decision-makers (defaults to executive + senior, any department).
4. Click **Start** and export results as JSON, CSV, Excel, or via API.

### Output

Each dataset item is one contact at one company:

| Field | Description |
|---|---|
| `companyName`, `companyUrl`, `domain`, `companyWebsite`, `description`, `organization` | Company identity |
| `industry`, `city`, `state`, `country`, `employeeRange` | Firmographics (only populated when company enrichment is enabled) |
| `emailPattern`, `isCatchAllDomain`, `isWebmailDomain`, `isDisposableDomain`, `linkedDomains`, `totalContactsFound` | Domain-quality signals and how many contacts exist at this company in total |
| `contactName`, `firstName`, `lastName`, `jobTitle`, `department`, `seniority`, `decisionMaker` | Decision-maker identity and role |
| `email`, `emailType`, `emailConfidence`, `emailVerificationStatus`, `emailSources` | Contact email data |
| `linkedinUrl`, `twitterHandle`, `contactPhone` | Contact's social/direct contact details, where available |
| `phone` | Company phone number, scraped from the site |
| `source`, `sourceUrl`, `profileUrl`, `scrapedAt` | Provenance metadata |

Fields with no available data are returned as `null` rather than omitted or guessed.

### More lead-generation Actors

Part of a family of lead-gen Actors sharing the same enrichment engine and output shape - mix and match depending on where your leads live:

- [Website Contact Leads + Verified Emails](https://apify.com/mrdoe/website-contact-leads) - crawls any company website's contact/about pages for named contacts, emails, and phone numbers.
- [E-commerce Store Leads + Verified Emails](https://apify.com/mrdoe/ecommerce-store-leads) - scrapes online stores for platform, product count, social links, and contact info.
- [Real Estate Agent Leads + Verified Emails](https://apify.com/mrdoe/real-estate-agent-leads) - scrapes brokerage/agency sites for agent rosters and verified contact emails.
- [Google Maps Business Leads + Verified Emails](https://apify.com/mrdoe/google-maps-business-leads) - pulls business leads straight from Google Maps search results.

### Cost & performance notes

- One lookup per company (plus one fallback lookup only if the filtered search finds nobody); email verification and firmographic enrichment are opt-in extras.
- Concurrency is kept conservative to stay reliable at scale.

# Actor input Schema

## `startUrls` (type: `array`):

B2B company website URLs to find decision-maker leads for, e.g. https://example.com

## `targetDepartments` (type: `array`):

Only return contacts in these departments. Leave empty for any department.

## `targetSeniority` (type: `array`):

Only return contacts at these seniority levels. Leave empty for any seniority.

## `maxContactsPerCompany` (type: `integer`):

Maximum number of decision-maker contacts to return per company (fetched in a single lookup, so raising this does not cost extra requests).

## `maxItems` (type: `integer`):

Overall cap on leads returned across all companies. Set to 0 for unlimited.

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

Proxy settings for the run.

## `enableContactEnrichment` (type: `boolean`):

When enabled, each company domain is automatically looked up, filtered by target department/seniority. Falls back to an unfiltered search if the filters find nobody, so companies aren't returned empty.

## `enableEmailVerification` (type: `boolean`):

When enabled, every returned email is additionally checked for deliverability.

## `enableCompanyEnrichment` (type: `boolean`):

When enabled, looks up each domain for industry, location, and employee count.

## Actor input object example

```json
{
  "startUrls": [
    "https://google.com"
  ],
  "targetDepartments": [],
  "targetSeniority": [
    "executive",
    "senior"
  ],
  "maxContactsPerCompany": 100,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "enableContactEnrichment": true,
  "enableEmailVerification": true,
  "enableCompanyEnrichment": true
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        "https://google.com"
    ],
    "maxContactsPerCompany": 100,
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/b2b-company-leads").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 = {
    "startUrls": ["https://google.com"],
    "maxContactsPerCompany": 100,
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/b2b-company-leads").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 '{
  "startUrls": [
    "https://google.com"
  ],
  "maxContactsPerCompany": 100,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call mrdoe/b2b-company-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/b2b-company-leads"
        }
    }
}

```

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/K49XzAb2ueCBWUmbc/builds/RMTCKiWh00oR0jd6T/openapi.json
