# B2B Leads Finder: Decision-Makers with Work Emails (`locaihost/b2b-leads`) Actor

Find decision-makers at companies you name, or at companies picked by country, industry, size and age from official registers. Each lead has name, job title, company facts and a work email labelled published or built from the company's own format. Removal requests honoured. Free summary row.

- **URL**: https://apify.com/locaihost/b2b-leads.md
- **Developed by:** [locaihost data](https://apify.com/locaihost) (community)
- **Categories:** Lead generation, Business, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.30 / 1,000 lead with work emails

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?

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

## B2B Leads Finder: Decision-Makers with Work Emails

Find the people who run a company: founders, owners, directors and department heads, with their job title and a work email. Give it your own list of company websites, or let it pick companies for you from official company registers by country, industry, size and age.

People come from two places: the company's own website (its team, leadership, about and contact pages) and, when the website names too few, one search of public professional profiles that name the company as the person's current employer. Every row says which (`foundVia`), and every email is labelled with where it came from, so you know what you are sending to.

### What do I get for each person?

One row per person, with:

- **Name and job title** as the company prints them, split into first and last name, plus a seniority level (c-level, founder, vp, director, head, manager, other) and a department where the title shows one.
- **A work email**, labelled:
  - `published`: the company prints this address for this person on its own website.
  - `pattern-unverified`: built from the format the company's own published addresses follow (for example first.last@company.com). `formatSource` says where that format was seen, such as "company website (3 examples)". When the website shows no format, one web search for addresses the company has published elsewhere (press releases, event pages) is tried; only the format is kept from it, never those addresses.
- **`mailboxStatus: unknown`** on every address. We never send test messages or probe mail servers, so no address is ever called verified. If you need certainty, run the list through a verification service you trust before sending.
- **A work phone** only when the company prints a number in that person's own card. Switchboard numbers are not copied onto people.
- **Company facts** from the official register when the company is on record: registered name, register ID, country, industry, legal status, incorporation date and employee count, with a size band (1-10, 11-50 and so on).
- **The company's email set-up**: whether its domain receives mail and which mail provider it uses.
- **`foundVia`**: `company website`, `company filings` or `profile search`.
- **`linkedinUrl`**: the person's public profile address, when the profile search found them.
- **`sourceUrl`**: the page the person was found on (the company page, or the public profile), so you can check any row yourself.

### How do I pick the companies?

Two ways:

1. **Your own list.** Put website domains in **Companies**, one per line. A full link or a work email address also works (only its domain is used). A company name works too: it is looked up in the registers and the website on record is used.
2. **A register search.** Leave the list empty and choose a **Country**, then narrow with **Industry**, **Company size** and **Incorporated after**. The search takes active companies with a known website. Industry takes the register's own codes (62 or 62.01 is software in the UK) or plain words matched against the industry description and the company name (dental, logistics).

Registers covered include the UK, France, Norway, Singapore, the Nordic and Baltic countries, Australia, Canada, Japan, Ireland and several US states. Use two-letter country codes (GB for the UK).

### Where do the people come from?

First the company's own website. When it lists fewer people than you asked for, the tool runs one web search for public professional profiles whose headline names the company as the current employer (for example "Head of Operations at Example Freight"). Only the name and job title shown in the search result are used: no profile page is opened, and nothing else is taken from it. Former staff, people at similarly named companies and profiles that contradict themselves are dropped. People found this way get an email only when the company's own published addresses show its format, and never a phone number.

### Which people are kept?

By default, people whose title contains founder, ceo, managing director, head of, director, vp or owner. Short forms match the long ones: ceo matches Chief Executive Officer, vp matches Vice President. Change the **Job titles** list to your own words, or clear it to keep every role a company names. People are returned most senior first, up to **People per company** (5 by default, 25 at most).

### What does a company row mean?

When neither the company's website nor the profile search finds anyone who matches, you get one free row for that company instead: its register facts, the general addresses it publishes (like info@ or sales@), its email format if one is known, and a status saying why no people were listed (no matching people found, the website could not be read, or the website does not allow automated reading). These rows are never charged.

### What is in the last row?

A free summary: companies searched, how many had people, how many websites could not be read, people found by seniority, emails by label (published, pattern-unverified, none), how many people were left out on request, how many were returned in an earlier run, and how many register records the search looked at.

### What does it cost?

You pay per person row, with two events:

- `lead`: a person row with a work email.
- `lead-no-email`: a person row without one.

The prices for each are on the Pricing tab. Company rows, the summary row and the run start are free. Set a maximum charge for the run and it stops cleanly once that is reached, keeping what it found.

### How does "Only people not returned before" work?

Turn on **Only people not returned before** and the run remembers every person it returned for this same input. The next run with the same input leaves those people out, so a scheduled run delivers, and charges for, only new names. Change the input and the memory starts fresh.

### Why does a size band return fewer companies?

Many register records have no employee count. A company with no count on record can't be placed in a band, so it is left out when you choose one. The summary row says how many were left out for this reason. Leave the size as "any" for the widest list.

### Why are some websites not read?

The tool reads each company's own site politely: it follows robots.txt, waits between requests and reads only a handful of pages per company. A site that blocks automated reading, needs a login, or is down gets a free company row saying so. Nothing is read from behind a login.

### What does it never collect?

- Personal email addresses (Gmail, Outlook.com, Yahoo and the like), even when a company prints one.
- Personal mobile numbers or any number not printed in the person's own card on the company's site.
- Home addresses.
- Contact details from any social media or profile page. The profile search keeps only a name and job title from public search results.
- Health, religion, politics or other sensitive details, and anyone under 18.

Only people in business roles at the company, as the company or their own public professional headline presents them.

### How do I ask for someone to be removed?

Anyone can ask to be left out. Email **apify@locaihost.org** with the name and the company domain (or the work email address). We add it to our removal list, which every run checks before a row is built or charged, and confirm by reply. A whole company can be removed the same way by sending its domain. Removed people are left out of every future run for every user.

### Who is responsible for how the data is used?

You are. Once you download the results, you control that data and you must follow the laws that apply to you and to the people you contact, such as GDPR and PECR in the UK and EU and CAN-SPAM in the US. That usually means having a lawful reason to contact each person, saying who you are, offering an easy opt-out and honouring it at once. This tool gives you business details that companies publish about their own staff, or that people publish about their own job. It does not give you permission to email them.

### What does the output look like?

```json
{
  "type": "person",
  "fullName": "Jane Doe",
  "firstName": "Jane",
  "lastName": "Doe",
  "title": "Managing Director",
  "seniority": "c-level",
  "companyName": "Example Freight Ltd",
  "domain": "example.com",
  "companyCountry": "GB",
  "companyId": "GB-CH-00000001",
  "companyIndustry": "Freight transport by road",
  "companySize": "11-50",
  "companyLegalStatus": "active",
  "companyIncorporated": "2015-03-01",
  "email": "jane.doe@example.com",
  "emailSource": "pattern-unverified",
  "formatSource": "company website (2 examples)",
  "mailboxStatus": "unknown",
  "mxPresent": true,
  "workPhone": null,
  "linkedinUrl": null,
  "foundVia": "company website",
  "sourceUrl": "https://example.com/about/leadership"
}
```

### Can I run it from my own code or other tools?

Yes. It runs through the Apify API, on a schedule, from integrations, and from any agent tool that supports Apify. Each row is flat JSON with stable field names.

### Something went wrong. What now?

Open an issue on the Issues tab with the run link and what you expected. A company you gave that came back with no people usually means neither its website nor a public profile search showed anyone in a matching role. Try clearing **Job titles** to see everyone it names.

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/b2b-leads/changelog.md

# Actor input Schema

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

Website domains, one per line (example.com). A link or a work email address also works: only its domain is used. A company name works too and is looked up in the registers. When this list has anything in it, the search filters below are not used.

## `titles` (type: `array`):

Keep people whose job title contains any of these words. Short forms match the long ones too (ceo matches Chief Executive Officer, vp matches Vice President). Clear the list to keep every role the company names.

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

Published only: addresses the company itself prints for that person. Published and pattern: also an address built from the format the company's own published addresses follow, labelled pattern-unverified. Mailboxes are never checked, so no address is ever called verified.

## `maxPeoplePerCompany` (type: `integer`):

Most people returned for each company, most senior first.

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

Two-letter country code, like GB, US, FR, NO or SG. Also helps name lookups in the company list.

## `industryKeywords` (type: `array`):

Industry codes from the country's register (62 or 62.01 for software in the UK), or plain words matched against the industry description and company name (dental, logistics). Any one matching is enough.

## `sizeBand` (type: `string`):

Employee band. Only companies with an employee count on record can match a band, so a band narrows the list a lot.

## `incorporatedAfter` (type: `string`):

A date like 2024-01-01, or a span back from today like "6 months" or "2 years". Leave empty for any age.

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

How many companies to read. Each company's website is read in turn, so more companies take longer.

## `onlyNew` (type: `boolean`):

Leave out people this same input returned in an earlier run, so a scheduled run delivers (and charges for) only new names.

## Actor input object example

```json
{
  "companies": [
    "example.com",
    "example.co.uk"
  ],
  "titles": [
    "founder",
    "ceo",
    "managing director",
    "head of",
    "director",
    "vp",
    "owner"
  ],
  "emails": "published-and-pattern",
  "maxPeoplePerCompany": 5,
  "country": "GB",
  "industryKeywords": [
    "62"
  ],
  "sizeBand": "any",
  "maxCompanies": 5,
  "onlyNew": false
}
```

# Actor output Schema

## `leads` (type: `string`):

Person rows with job title, company facts and work email

## `companies` (type: `string`):

Free company rows: email format and published role mailboxes

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

The free summary row

# 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 = {
    "country": "GB",
    "industryKeywords": [
        "62"
    ],
    "maxCompanies": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("locaihost/b2b-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 = {
    "country": "GB",
    "industryKeywords": ["62"],
    "maxCompanies": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("locaihost/b2b-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 '{
  "country": "GB",
  "industryKeywords": [
    "62"
  ],
  "maxCompanies": 5
}' |
apify call locaihost/b2b-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,locaihost/b2b-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/yPUcdAM5CsXDpGdgk/builds/t6X3Kj9ayvHgINpYO/openapi.json
