# Leads Finder: B2B & Local Business Leads with Fresh Emails (`mastertools/leads-finder`) Actor

Find B2B leads and local business leads by business type and city, state or country. Every lead has an email read from the company's website today, plus phone, address and social profiles.

- **URL**: https://apify.com/mastertools/leads-finder.md
- **Developed by:** [Master Tools](https://apify.com/mastertools) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.20 / 1,000 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.
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

## Leads Finder: B2B & Local Business Leads with Fresh Emails

**Type a business and a place — get a clean list of companies with emails that were on their websites today.**

Leads Finder is a B2B lead generation tool and business email finder for cold email, sales prospecting and local business marketing. Tell it *what* ("dentist", "plumber", "law firm", "marketing agency") and *where* ("Austin, TX", "London", "Texas", "Germany"). It finds matching companies in open business listings covering 88 million places worldwide, opens each company's own website during your run, and returns the email it shows there — with phone, address, website and social profiles in the same row.

### What you get

- **Emails that are alive today** — every email is read from the company's own website while your run is going, not pulled from an old database. `emailCheckedAt` shows the exact minute.
- **Built to reach the inbox** — each email's domain is checked for a working mail server before it gets into your list, so you write to addresses that can receive mail.
- **One company, one row, one email** — no duplicate companies, no repeated addresses, no chains filling your list with the same inbox twenty times.
- **The right inbox first** — shared business addresses (info@, office@, hello@, the owner's mailbox) come first; legal, careers and privacy mailboxes stay out.
- **Know the mail provider before you send** — `emailProvider` tells Google Workspace, Microsoft 365, Gmail and others apart, so you can warm up and segment campaigns the smart way.
- **The full company card** — name, category, phone in international format, website, street address, city, state, postcode, country, coordinates, and Facebook, Instagram, LinkedIn, X, YouTube and TikTok links.
- **Any business type, any place** — 2,000+ categories from dentists and roofers to SaaS companies and coffee shops; cities, states and whole countries on every continent. Type it in plain words.
- **Only what you searched for** — leads stay inside the area you asked for and inside the business type you named.
- **Seconds, not hours** — press Start and the first leads arrive in seconds. A few hundred leads take about a minute.
- **Ready for your stack** — flat rows for Google Sheets, Excel, your CRM, cold email tools and AI agents.

### How to use

1. Type the **Business type** — one or several: `dentist`, `roofing contractor`, `real estate agent, property manager`.
2. Type the **Location** — a city (`Austin, TX`), a state (`Texas`), a country (`Germany`) or coordinates.
3. Set the **Number of leads** and press **Start**. The example — dentists in Austin, TX — runs as is.
4. Download the leads as Excel, CSV or JSON, send them to Google Sheets or your CRM, or pull them through the API.

### Input

| Field | What it does | Default |
|---|---|---|
| `category` — Business type | The kind of companies, in plain words. Several types go through a comma. Words that are not a known business type are searched in company names. Empty means every business in the place. | `dentist` |
| `location` — Location | City, state or country: `Austin, TX`, `London, UK`, `Texas`, `Germany`. Coordinates work too: `30.27,-97.74`. | `Austin, TX` |
| `maxLeads` — Number of leads | How many leads to return. The run stops as soon as it has them. | 100 |
| `onlyWithEmail` — Only leads with email | On: every lead has an email from the company's website. Off: companies with only a phone number are returned too. | on |
| `onlyWithPhone` — Only leads with phone | Keep only companies that have a phone number. | off |
| `includeListingEmails` — Add emails from business listings | When a website shows no email, use the email from the company's public business listing. More leads; `emailSource` tells the two kinds apart. | off |
| `radiusKm` — Search radius, km | Distance around the city centre or the coordinates. Empty covers the city automatically. | auto |

```json
{
  "category": "dentist",
  "location": "Austin, TX",
  "maxLeads": 100
}
```

More searches that work as written:

| Business type | Location |
|---|---|
| `plumber` | `Texas` |
| `real estate agent` | `Germany` |
| `restaurant` | `Chicago, IL` |
| `marketing agency, web design` | `London, UK` |
| `law firm` | `New York` |
| `roofing contractor` | `Florida` |
| `gym, yoga studio` | `Sydney, NSW` |
| `coffee shop` | `48.8566,2.3522` with `radiusKm` 3 |

### Output

One row per company. A real lead from the example run:

```json
{
  "name": "Austin City Dental",
  "category": "Dental clinic",
  "email": "info@austincitydental.com",
  "phone": "+15124518256",
  "website": "http://austincitydental.com/",
  "domain": "austincitydental.com",
  "address": "1500 W 38th St #37, Austin, TX 78731, US",
  "street": "1500 W 38th St #37",
  "city": "Austin",
  "region": "TX",
  "postcode": "78731",
  "country": "US",
  "latitude": 30.308329,
  "longitude": -97.748932,
  "emailSource": "website",
  "emailProvider": "Microsoft 365",
  "emailCheckedAt": "2026-11-11T00:36:21.159Z",
  "otherEmails": [],
  "facebook": "https://www.facebook.com/AustinCityDental",
  "instagram": "https://www.instagram.com/austincitydental",
  "linkedin": null,
  "x": null,
  "youtube": null,
  "tiktok": null,
  "contactPage": "https://austincitydental.com/contact/",
  "confidence": 0.99,
  "searchCategory": "dentist",
  "searchLocation": "Austin, TX"
}
```

| Field | Meaning |
|---|---|
| `email` | The best email for outreach, read from the company's website during this run |
| `otherEmails` | More addresses of the same company from its website |
| `emailSource` | `website` — seen on the company's site in this run; `listing` — from its public business listing |
| `emailProvider` | Who runs the mailbox: Google Workspace, Microsoft 365, Gmail, Zoho Mail and others |
| `emailCheckedAt` | When the email was read and its mail server answered |
| `phone` | Main phone number in E.164 format, ready to dial |
| `category` | The company's business category |
| `confidence` | How sure the listing is that the place exists and is open, from 0 to 1 |

The table view in Apify Console has two tabs: **Leads** and **All fields**.

### Use it with AI agents

Add Leads Finder as a tool to Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server (`https://mcp.apify.com`). Two plain-language inputs and a flat answer make it an easy call for an agent: *"Find 50 roofing contractors in Florida with emails"* — and the agent gets one row per company, ready to draft outreach.

### Integrations

- **Google Sheets, HubSpot, Salesforce, Pipedrive, Airtable, Instantly, Smartlead, lemlist** — through Make, Zapier or n8n, or with the Apify integrations for Google Sheets and webhooks.
- **Apify API** — run it and get the rows back in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/mastertools~leads-finder/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"category": "plumber", "location": "Texas", "maxLeads": 200}'
```

- **Schedules** — run your search every week and keep a fresh list flowing into your CRM.

### FAQ

**Where do the companies come from?** From open business listings by the Overture Maps Foundation — 88 million places worldwide with names, categories, addresses, phones and websites, refreshed every month.

**Where do the emails come from?** From each company's own website, read live during your run: the homepage, the contact page, the legal notice and the about page. That is why they are current.

**What kind of emails will I get?** Company contacts: shared inboxes such as info@, office@ and sales@, and the owner's or manager's address when the website shows it. Small businesses often publish a Gmail or Outlook address — those are included too.

**How do I get more leads for a search?** Widen the area (a state instead of a city, or a bigger `radiusKm`), add related business types through a comma, or switch on **Add emails from business listings**.

**Can I search a whole state or country?** Yes. `Texas`, `Ontario`, `Bavaria`, `Germany`, `United Kingdom` all work, and the list is spread across the whole territory rather than one city.

**What if my business type is unusual?** Type it anyway. If it is not among the 2,000+ categories, Leads Finder looks for your words in company names.

**How fresh is the data?** Emails are read live in every run. Company listings follow the monthly open data release.

**Which countries work best?** Everywhere there are business websites. Coverage is richest in the United States, Canada, the United Kingdom, Germany and Australia; France, Italy, Spain, Japan, Brazil, India and many more follow.

### Where the data comes from

Company listings: [Overture Maps Foundation](https://overturemaps.org) places data, which includes data from Meta, Microsoft, Foursquare (© Foursquare Labs, Inc., Apache 2.0), AllThePlaces and other contributors under the [CDLA Permissive 2.0](https://cdla.dev/permissive-2-0/) license. Place names: [GeoNames](https://www.geonames.org) (CC BY 4.0). Emails: the companies' own public websites.

### Need data at scale?

Lead lists for whole industries and countries, a weekly feed straight into your CRM or data warehouse, or a data source that is not in the Store yet — we build it for you. Open an issue on this page and tell us what you need.

# Actor input Schema

## `category` (type: `string`):

What kind of companies you are looking for, in plain words: "dentist", "plumber", "law firm", "coffee shop", "marketing agency". Several types go through a comma: "dentist, orthodontist". Words that are not a known business type are searched in company names. Leave empty to get every kind of business in the place.

## `location` (type: `string`):

City, state or country, worldwide: "Austin, TX", "London, UK", "Texas", "Germany". For a spot on the map use coordinates: "30.27,-97.74".

## `maxLeads` (type: `integer`):

How many leads to return. The run stops as soon as it has them.

## `onlyWithEmail` (type: `boolean`):

On: every lead has an email found on the company's website during this run, with a working mail server. Off: companies that have only a phone number are returned too.

## `onlyWithPhone` (type: `boolean`):

Return only companies that have a phone number.

## `includeListingEmails` (type: `boolean`):

When a company's website shows no email, use the email from its public business listing (its mail server is still checked). Gives more leads; the "emailSource" column tells the two kinds apart.

## `radiusKm` (type: `integer`):

Distance around the city centre or the coordinates. Leave empty to cover the city automatically.

## Actor input object example

```json
{
  "category": "dentist",
  "location": "Austin, TX",
  "maxLeads": 10,
  "onlyWithEmail": true,
  "onlyWithPhone": false,
  "includeListingEmails": false
}
```

# Actor output Schema

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

One row per company: name, email, phone, website, address and social profiles.

# 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 = {
    "category": "dentist",
    "location": "Austin, TX",
    "maxLeads": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastertools/leads-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 = {
    "category": "dentist",
    "location": "Austin, TX",
    "maxLeads": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("mastertools/leads-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 '{
  "category": "dentist",
  "location": "Austin, TX",
  "maxLeads": 10
}' |
apify call mastertools/leads-finder --silent --output-dataset

```

## MCP server setup

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