# Local Business Lead Pack (`swholmes/local-business-lead-pack`) Actor

Find local businesses on Google Maps, then enrich each one by crawling its website for emails, phones, and social profiles. Returns a clean, deduped, CRM-ready lead list.

- **URL**: https://apify.com/swholmes/local-business-lead-pack.md
- **Developed by:** [Scott Holmes](https://apify.com/swholmes) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 lead delivereds

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/platform/actors/running/actors-in-store#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

## Local Business Lead Pack

Turn a niche + a city into a clean, deduped, CRM-ready lead list. The Actor finds businesses on Google Maps, then crawls each one's website to pull the email, extra phone numbers, and social profiles Maps doesn't give you, and outputs one tidy row per business.

This is the *finished outcome* version of Maps scraping: raw Maps data is a commodity, an enriched and verified lead list is the thing people actually pay for.

### Input

| Field | Type | Notes |
|---|---|---|
| `searchTerms` | array | Niches to search, e.g. `["roofing contractor", "hvac"]`. |
| `location` | string | City / region, e.g. `"Toronto, Ontario"`. |
| `maxResults` | integer | Cap on Maps results per term (cost control). |
| `enrich` | boolean | Crawl each website for email / phone / socials. |
| `requireEmail` | boolean | Drop leads with no email. |
| `mapsActorId` | string | Maps source Actor (default `compass/crawler-google-places`). |
| `proxyConfiguration` | object | Apify Proxy config. |

### Output

```json
{
  "name": "Acme Roofing",
  "category": "Roofing contractor",
  "phone": "+1 416-555-0199",
  "email": "info@acmeroofing.ca",
  "website": "https://acmeroofing.ca",
  "address": "12 King St W, Toronto, ON",
  "rating": 4.8,
  "reviewsCount": 214,
  "socials": ["https://facebook.com/acmeroofing"],
  "sourceUrl": "https://maps.google.com/?cid=..."
}
```

### Architecture

The Actor **orchestrates** an existing, battle-tested Maps scraper (via `Actor.call`) rather than re-implementing Google Maps — the enrichment + dedup layer on top is the differentiator and the part that's cheap to maintain. Swap `mapsActorId` for any Maps Actor whose output includes `title`, `website`, `phone`, etc.

### Monetization (pay-per-event) — priced to the market

Charges one `lead` event per output row. **Competitor check (July 2026):** enriched Maps-lead Actors on the store cluster at **$1–5 per 1,000** — $0.001/result at the low end, and $0.005/lead ($5/1k) at the quality end *with* MX/SPF/DMARC validation and free dedup. Your list must justify its price against that field.

Recommended: **$4–5 / 1,000 leads**, matching the quality leader rather than exceeding it — and only if you ship a real differentiator (email verification, dedup "delta" mode so repeat runs are free, decision-maker names). At $10/1k you get skipped; at $4–5/1k with visible verification you win.

Watch the floor: the upstream Maps Actor (compass at ~$1.50/1,000 places) bills its own usage into your run, so absorbing it leaves thin margin at $4–5/1k. Two fixes: (1) turn on Apify's **pass-through** so the customer pays platform/Maps usage and your event price is pure margin, or (2) sell the outcome inside the **Local Lead-Gen Machine** bundle, where the price is set on the finished list, not per raw lead.

### Next steps

- Add email verification (MX / SMTP ping) and charge a premium `verified-lead` event.
- Add a "decision-maker name" pass from LinkedIn or About pages.
- Push straight to a CRM via a webhook or Apify integration.

# Actor input Schema

## `searchTerms` (type: `array`):

Business niches to search on Google Maps, e.g. \["roofing contractor", "hvac"].

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

City / region to search within, e.g. "Toronto, Ontario".

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

Upper bound on Maps results per term (controls cost).

## `enrich` (type: `boolean`):

Crawl each business website for emails, extra phones, and social profiles.

## `requireEmail` (type: `boolean`):

Drop businesses where no email could be found.

## `mapsActorId` (type: `string`):

Apify Actor used as the Google Maps data source. Default is the popular Compass crawler.

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

Proxy used when fetching business websites for contact details. Apify Proxy is recommended.

## Actor input object example

```json
{
  "searchTerms": [
    "roofing contractor"
  ],
  "location": "Toronto, Ontario",
  "maxResults": 50,
  "enrich": true,
  "requireEmail": false,
  "mapsActorId": "compass/crawler-google-places",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "searchTerms": [
        "roofing contractor"
    ],
    "location": "Toronto, Ontario"
};

// Run the Actor and wait for it to finish
const run = await client.actor("swholmes/local-business-lead-pack").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 = {
    "searchTerms": ["roofing contractor"],
    "location": "Toronto, Ontario",
}

# Run the Actor and wait for it to finish
run = client.actor("swholmes/local-business-lead-pack").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "roofing contractor"
  ],
  "location": "Toronto, Ontario"
}' |
apify call swholmes/local-business-lead-pack --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=swholmes/local-business-lead-pack",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zKGg3kJJB5AdCZffu/builds/hmvXUUV04gaxlZeYi/openapi.json
