# UK Business Email Finder (`leadharbor/uk-business-email-finder`) Actor

Finds UK business emails: takes business names and websites from OpenStreetMap, visits each company website, and extracts contact emails with an MX validity verdict. London, Manchester, Birmingham and more. No proxy, no login.

- **URL**: https://apify.com/leadharbor/uk-business-email-finder.md
- **Developed by:** [Mohammed Samaan](https://apify.com/leadharbor) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 business contact 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

## UK Business Email Finder

Find **real business emails for UK companies**: this actor takes UK business names and their websites from OpenStreetMap, visits each company website, and extracts the contact emails published there - every email tagged **valid / risky / invalid** with an MX check.

Great for B2B outreach, agency prospecting, supplier lists and CRM imports across London, Manchester, Birmingham, Leeds, Glasgow and the rest of the UK.

### What you get

Each dataset row contains:

| Field | Description |
|---|---|
| `name` | Business name |
| `category` | Type of business (restaurant, cafe, clinic, shop, office, ...) |
| `email` | Contact email found on the business's own website |
| `emailStatus` | `valid` / `risky` / `invalid` - based on an MX lookup of the email domain |
| `phone` | Business phone number, when available |
| `website` | The company website that was scanned |
| `city` | Region searched |
| `collectedAt` | Date collected |

### How it works

1. Queries the OpenStreetMap Overpass API (free, public) for UK businesses in your chosen region.
2. Picks businesses that have their own website (social media links like Facebook/Instagram are skipped - no emails live there).
3. Opens each website (homepage + one contact/about page) and extracts email addresses.
4. Runs an **MX check** on every email domain and tags it valid / risky / invalid.
5. Deduplicates by email and saves results.

Websites are scanned 8 at a time with a short stagger between different hosts, so a large run finishes in minutes; the run also stops cleanly before its own timeout instead of being killed mid-way.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| **Region / city** (required) | select | `london` | london, manchester, birmingham, leeds, glasgow, england, scotland, wales, northern-ireland |
| **Business category** | string | - | Optional filter, e.g. `restaurant`, `cafe`, `clinic`, `school`, `gym`, `estate_agent` |
| **Max websites to visit** | integer | `50` | How many company websites to open and scan |
| **Verify emails (MX check)** | boolean | `true` | Tag each email valid / risky / invalid |
| **Only rows with email** | boolean | `true` | Drop businesses with no email found |

### Example input

```json
{
    "region": "london",
    "category": "cafe",
    "maxSites": 50,
    "verifyEmails": true,
    "onlyWithEmail": true
}
```

### Example output

```json
{
    "name": "The Monmouth Coffee Company",
    "category": "cafe",
    "email": "hello@monmouthcoffee.co.uk",
    "emailStatus": "valid",
    "phone": "+44 20 7379 6955",
    "website": "https://www.monmouthcoffee.co.uk/",
    "city": "London",
    "collectedAt": "2026-09-20"
}
```

### Tips

- Not every business publishes an email on its website - typically 10-40% of scanned sites yield an email. That is normal and why we only charge for rows that have one.
- Filter by `emailStatus: "valid"` before outreach to remove dead domains.
- Use the category filter to build targeted lists (e.g. only cafes, only estate agents).
- City searches give focused lists; whole-country searches (england, scotland) sample broadly.
- Re-run monthly to refresh and grow the list.

### Pricing

Pay per event: **$0.005 per row that contains an email** ($5 per 1,000 rows). Businesses with no email found cost you nothing. Apify's own actor-start event (currently $0.00005) also applies to each run.

### Disclaimer

This actor collects only publicly visible contact information from public business websites, with rate limiting. Please respect applicable privacy laws (e.g. UK GDPR / PECR) when using the data for outreach.

# Actor input Schema

## `region` (type: `string`):

Where to search: london, manchester, birmingham, leeds, glasgow, or a whole country (england, scotland, wales, northern-ireland).

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

Optional filter, e.g. restaurant, cafe, clinic, school, gym, estate\_agent. Leave empty for all businesses.

## `maxSites` (type: `integer`):

How many company websites to open and scan for emails.

## `verifyEmails` (type: `boolean`):

Tag each email valid / risky / invalid by checking the domain's mail records.

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

Drop businesses with no email found. Buyers pay for rows with email.

## Actor input object example

```json
{
  "region": "london",
  "maxSites": 50,
  "verifyEmails": true,
  "onlyWithEmail": true
}
```

# Actor output Schema

## `businessContacts` (type: `string`):

Table of UAE businesses with emails found on their websites.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("leadharbor/uk-business-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("leadharbor/uk-business-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 '{}' |
apify call leadharbor/uk-business-email-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,leadharbor/uk-business-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/dSEawGPiGXmKgLHNL/builds/khp9iejl7t13A0uve/openapi.json
