# 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Local Business Lead Pack",
        "description": "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.",
        "version": "0.1",
        "x-build-id": "hmvXUUV04gaxlZeYi"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/swholmes~local-business-lead-pack/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-swholmes-local-business-lead-pack",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/swholmes~local-business-lead-pack/runs": {
            "post": {
                "operationId": "runs-sync-swholmes-local-business-lead-pack",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/swholmes~local-business-lead-pack/run-sync": {
            "post": {
                "operationId": "run-sync-swholmes-local-business-lead-pack",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchTerms",
                    "location"
                ],
                "properties": {
                    "searchTerms": {
                        "title": "Search terms",
                        "type": "array",
                        "description": "Business niches to search on Google Maps, e.g. [\"roofing contractor\", \"hvac\"].",
                        "items": {
                            "type": "string"
                        }
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City / region to search within, e.g. \"Toronto, Ontario\"."
                    },
                    "maxResults": {
                        "title": "Max businesses per search term",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Upper bound on Maps results per term (controls cost).",
                        "default": 50
                    },
                    "enrich": {
                        "title": "Enrich from websites",
                        "type": "boolean",
                        "description": "Crawl each business website for emails, extra phones, and social profiles.",
                        "default": true
                    },
                    "requireEmail": {
                        "title": "Only keep leads with an email",
                        "type": "boolean",
                        "description": "Drop businesses where no email could be found.",
                        "default": false
                    },
                    "mapsActorId": {
                        "title": "Maps source Actor",
                        "type": "string",
                        "description": "Apify Actor used as the Google Maps data source. Default is the popular Compass crawler.",
                        "default": "compass/crawler-google-places"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Proxy used when fetching business websites for contact details. Apify Proxy is recommended.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
