# Business Leads Scraper: Local Businesses with Emails & Phones (`pikoulas/business-leads`) Actor

Local businesses in any city, region or radius with their emails, phones and social profiles: each place from Overture Maps' open data (name, category, address, phone, website), its website read for business emails, more phones and LinkedIn, Facebook and Instagram. Only new ones on a schedule.

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

## Pricing

from $2.50 / 1,000 leads

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

## Business Leads Scraper: Local Businesses with Emails & Phones

Name a city, a region or a point on the map and the kinds of business you want, and get a lead list:
each business there from the Overture Maps Foundation's open places data, with its website read for
the emails, phones and social profiles it publishes. One row per business:

- **Name, category and brand,** with the category's path in Overture's taxonomy (`services_and_business`
  > `financial_service` > `accountant`).
- **Address, postcode and coordinates.**
- **Business emails** from its website (info@, hello@, sales@ and the like), with its contact page and
  whether it has a contact form. Emails that belong to a person (jane.doe@) are left out and only counted.
- **Phone numbers,** Overture's and the website's, in international format.
- **LinkedIn company page, Facebook, Instagram, X, YouTube, TikTok** and other profiles, the website's
  own first, then Overture's.
- **Any city in the world,** within its boundary: "Cambridge, GB" isn't Cambridge, Massachusetts.
- **Only new businesses** on a schedule, for a list that grows each month.

It costs **$2.50 per 1,000 leads** (a business whose website gave an email, phone or profile) and
**$1 per 1,000** for any other business, on Apify's paid plans.

### What people use it for

- **Cold outreach:** every dentist, accountant or gym in a city, with an email to write to.
- **Sales territories:** the businesses of one kind in each town of a region, with phones for calling.
- **Local marketing agencies:** prospects in a city whose website has no contact form, or no Instagram.
- **CRM filling:** a market's businesses with their addresses, websites and LinkedIn pages.
- **New-business alerts:** run monthly with **Only new places** for the businesses that appeared.

### How to get business leads

1. Click **Try for free**; Apify's free plan covers a first run.
2. Enter **Locations**: "Austin, US-TX", "Cambridge, GB", "Cambridge, Massachusetts, US", "Berlin", a region code
   such as "US-MA", or a point as "latitude, longitude".
3. Add **Categories**: dentist, accountant, plumber, restaurant, hair salon.
4. Turn on **Only places with an email** if a row without one is no use to you.
5. Click **Start**, then open the results from the **Output** tab, or download them as JSON, CSV or Excel.

An input with every option:

```json
{
  "locations": ["Cambridge, GB", "52.2053, 0.1218"],
  "categories": ["accountant", "lawyer"],
  "nameContains": "",
  "withWebsite": true,
  "withPhone": false,
  "onlyWithEmail": false,
  "minConfidence": 0.5,
  "includeClosed": false,
  "radiusKm": 2,
  "maxResults": 1000,
  "onlyNew": false,
  "memory": "default"
}
```

### Output

```json
{
  "name": "PEM Corporate Finance LLP",
  "category": "financial_service",
  "categories": ["services_and_business", "financial_service", "accountant"],
  "alternateCategories": [],
  "brand": null,
  "brandWikidata": null,
  "address": "House 3, Salisbury Villas, Station Road",
  "city": "Cambridge",
  "postcode": "CB1 2LA",
  "region": null,
  "country": "GB",
  "latitude": 52.1950302,
  "longitude": 0.1328553,
  "phones": ["+441223728222"],
  "websites": ["https://www.pemcf.com/"],
  "socials": [],
  "confidence": 0.993,
  "operatingStatus": null,
  "location": "Cambridge, GB",
  "overtureId": "63c6d68d-5cc8-415c-9ede-cdbd5ed522da",
  "sources": [
    {"dataset": "Microsoft", "license": "CDLA-Permissive-2.0", "recordId": "281474980223283",
     "updateTime": "2023-03-10T10:13:38.717Z"}
  ],
  "release": "2026-11-18.0",
  "attribution": "Overture Maps Foundation, overturemaps.org, release 2026-11-18.0 (CDLA-Permissive-2.0); data from Microsoft (CDLA-Permissive-2.0)",
  "website": "https://www.pemcf.com/",
  "emails": ["hello@pem.co.uk", "recruitment@pem.co.uk"],
  "websitePhones": ["+441223728222"],
  "personalEmailsLeftOut": 0,
  "linkedin": null, "facebook": null, "instagram": null, "twitter": null, "youtube": null, "tiktok": null,
  "pinterest": null, "github": null, "xing": null, "telegram": null, "whatsapp": null, "threads": null,
  "bluesky": null,
  "contactPageUrl": "https://www.pem.co.uk/contact/",
  "contactForm": false,
  "websiteError": null
}
```

`phones` are Overture's, `websitePhones` the website's (up to six). `website` is the one read; a business
whose website wasn't read has `websiteError` saying why (it refused, its robots.txt keeps readers out, it
didn't answer), and Overture's data alone. `location` is the one you gave that found the business.

### Use it as an API

Apify's API starts a run and returns its dataset as JSON; its Python and JavaScript clients, and its Make, Zapier
and n8n integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~business-leads/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"locations": ["Austin, US-TX"], "categories": ["dentist"], "onlyWithEmail": true, "maxResults": 100}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/business-leads`.

### How much does it cost to get business leads?

| | Paid plans | Free plan |
|---|---|---|
| A lead: a business whose website gave an email, phone or social profile | $0.0025 | $0.0035 |
| Any other business: no website, nothing found on it, or it refused | $0.001 | $0.0015 |

1,000 leads are $2.50. With **Only places with an email**, only the businesses with an email are given and
charged. There are no monthly fees. Set a spending limit on a run and it stops at the businesses it can pay for.

### Good to know

- **The places are the Overture Maps Foundation's,** its latest monthly release, merged by Overture from Meta,
  Microsoft, Foursquare, AllThePlaces and others. Overture's own data is under CDLA-Permissive-2.0, and each place's
  sources under their own licences. Every item's `attribution` holds the credit for that place; keep it, with a
  link to [overturemaps.org](https://overturemaps.org), wherever you show or publish the results. See Overture's
  [attribution page](https://docs.overturemaps.org/attribution/).
- **The contacts are each business's own website's:** its home page, then the contact, imprint and about pages it
  links to. It keeps to each website's robots.txt, from one address and without a proxy, and leaves alone a
  website that refuses or answers with a check page. A website that builds its pages in the browser with
  JavaScript may read as empty. A chain's branches sharing one website have it read once.
- **Not every website gives an email;** more give a phone or a social profile. **Only places with an email**
  reads up to four times as many businesses to find enough that do.
- **How exact:** some places are stale, doubled or placed roughly; `confidence` says how sure Overture is, and
  **Minimum confidence** 0.5 drops most of the doubtful ones. Coverage is strongest in North America and Europe.
- **A name** is matched to the most populous place of that name, within the country or region code you give. The
  run's log says what each location became.
- **Most places per location** keeps the most confident when there are more.
- **Only new places** remembers what each run gave in your account's `business-leads-memory` store, under the
  **Memory name**, for 400 days. Overture publishes monthly, so a monthly schedule fits.
- **Places can be people:** sole traders and home businesses come with their names and phones. You decide what
  you look up and why; the Actor keeps nothing itself, and results sit in the storage of whoever ran it.
  Questions or requests go to spyridwn.pd@gmail.com.
- Reads Overture's data with DuckDB (MIT), and phone numbers with phonenumbers (Apache-2.0).

### FAQ

#### Is it legal to collect business leads like this?

Overture's data is open and may be used commercially, with the credit each item carries. The websites read are
the businesses' own public pages, and only the contact details a business publishes for itself are given:
emails that belong to people, and people's social profiles, are left out. Each website has its own terms, and you
answer for your use of what it finds: laws on marketing by email or phone (the GDPR and ePrivacy rules in Europe,
CAN-SPAM and the TCPA in the US) apply to business contacts too. If you're unsure, ask a lawyer; Apify's
[Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/) is a good start. This Actor isn't
affiliated with or endorsed by the Overture Maps Foundation or any of the websites it reads.

#### How do I find a category's name?

Overture's [categories](https://docs.overturemaps.org/guides/places/taxonomy/) are lower case with underscores,
such as `coffee_shop` or `italian_restaurant`; "Coffee shops" works too, and so do everyday words like dentist,
lawyer or plumber. A broad one takes in the narrower ones under it. A word that matches nothing is named in the
log with the nearest categories.

#### Why are some emails missing?

Only business mailboxes are given, so a website whose only address is a person's has none. Some show their email
only as an image or behind a contact form, and some websites refuse readers; `websiteError` says which.

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the **Reviews** tab helps others find it.

#### Just the places, or just the contacts?

Each has an Actor of its own: [Overture Maps places](https://apify.com/pikoulas/overture-places) ($1 per 1,000,
no websites read) and [Contact Details Scraper](https://apify.com/pikoulas/contact-details) (your own list of
websites). For ratings, reviews and opening hours, [Google Maps Email Extractor](https://apify.com/pikoulas/google-maps)
reads its places' websites the same way.

# Actor input Schema

## `locations` (type: `array`):

Cities, regions or countries, with a country code to tell places of one name apart ("Cambridge, GB", "Cambridge, Massachusetts, US", "Austin, US-TX", "Berlin", "US-MA", "GB"), or a point as "latitude, longitude". A place is searched within its boundary, a point within the radius below.

## `categories` (type: `array`):

Overture's categories (restaurant, coffee_shop, dentist, hotel, gym, accountant, hardware_store; spaces and plurals are fine). A broad one takes in the narrower ones under it: restaurant gives Italian and Thai restaurants too. None means every place.

## `nameContains` (type: `string`):

Text in the place's or its brand's name (Starbucks, pizza).

## `withWebsite` (type: `boolean`):

Leave out places with no website, which have nothing to read for emails. On by default.

## `withPhone` (type: `boolean`):

Leave out places with no phone number.

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

Give only the places whose website gave a business email. More places are read to find them, and only those given are charged.

## `minConfidence` (type: `number`):

Overture's confidence, 0 to 1, that the place exists as given. 0.5 leaves out most stale and doubtful places; 0.8 keeps the surest.

## `includeClosed` (type: `boolean`):

Places Overture's sources mark as permanently closed are left out unless this is on.

## `radiusKm` (type: `number`):

For locations given as a point, and for a place with no boundary nor population in the data (a city without a boundary is searched within a circle as large as its population).

## `maxResults` (type: `integer`):

When there are more, the most confident are kept.

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

Give, and charge for, only the places no earlier run with the same memory gave. Schedule it monthly, as Overture's data comes out, for new businesses.

## `memory` (type: `string`):

One per list, so two schedules don't share a memory. Kept in your account's key-value store business-leads-memory for 400 days.

## Actor input object example

```json
{
  "locations": [
    "Cambridge, GB"
  ],
  "categories": [
    "dentist"
  ],
  "withWebsite": true,
  "withPhone": false,
  "onlyWithEmail": false,
  "includeClosed": false,
  "radiusKm": 5,
  "maxResults": 20,
  "onlyNew": false,
  "memory": "default"
}
```

# 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 = {
    "locations": [
        "Cambridge, GB"
    ],
    "categories": [
        "dentist"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("pikoulas/business-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 = {
    "locations": ["Cambridge, GB"],
    "categories": ["dentist"],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("pikoulas/business-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 '{
  "locations": [
    "Cambridge, GB"
  ],
  "categories": [
    "dentist"
  ],
  "maxResults": 20
}' |
apify call pikoulas/business-leads --silent --output-dataset

```

## MCP server setup

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