# Google Maps Lead Generator + Contact Email Extractor (`waseem9/google-maps-lead-generator`) Actor

Extract local business leads from Google Maps enriched with verified emails, phone numbers, website contact pages, and social media handles.

- **URL**: https://apify.com/waseem9/google-maps-lead-generator.md
- **Developed by:** [Waseem Ahmed](https://apify.com/waseem9) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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

## Google Maps Lead Generator + Contact Email Extractor

Extract local business leads from Google Maps **enriched with verified emails, phone numbers, website contact pages, and social media handles** scraped directly from each business's website.

### What you get

| Field | Source |
|---|---|
| Title, category, full address, plus code | Google Maps place page |
| Phone, website URL | Google Maps place page |
| Rating, review count, opening hours | Google Maps place page |
| **Email addresses** (junk/no-reply filtered) | Business website (homepage + contact/about pages) |
| **Social profiles** (LinkedIn, Instagram, Facebook, X/Twitter) | Business website |

### Quick start

```bash
npm install
npx apify run --purge        # uses .actor/INPUT.json
npx apify push               # deploy to Apify platform
```

### Input

- **searchStrings** (required): e.g. `["Dentists in Miami", "Plumbers in Austin"]`
- **maxResultsPerSearch** (default 100)
- **enrichWebsites** (default `true`)
- **language** (default `en`)
- **proxyConfiguration**: residential proxies **strongly recommended**

### Example output

```json
{
    "searchString": "Dentists in Miami",
    "placeId": "Sunrise Dental",
    "title": "Sunrise Dental",
    "category": "Dentist",
    "address": "123 Ocean Dr, Miami Beach, FL 33139",
    "phone": "+1 305-555-0123",
    "website": "https://sunrisedental.com",
    "rating": 4.8,
    "reviewsCount": 312,
    "openHours": { "Monday": "8 AM–5 PM" },
    "emails": ["info@sunrisedental.com"],
    "socials": { "linkedin": "https://www.linkedin.com/company/...", "instagram": "https://www.instagram.com/...", "facebook": null, "twitter": null },
    "enriched": true,
    "scrapedAt": "2026-09-19T12:00:00.000Z"
}
```

### Pricing (Pay-Per-Event)

> ⚠️ **Currently free to use.** This actor will move to pay-per-event pricing ($1 per 1,000 places; $4 per 1,000 leads enriched with emails) in the coming weeks. Free-tier trial pricing will remain.

- `lead` — charged per business lead pushed (primary event)
- `enriched-lead` — charged per lead enriched with ≥1 email found
- Runs respect your per-run **maximum charge limit**: the actor stops gracefully and tells you how to get the remaining leads

### Tips

- Use residential proxies for the best success rate.
- Run grid queries ("dentists in Miami Beach", "dentists in Coral Gables") for full area coverage.
- This actor only collects publicly available business information.

# Actor input Schema

## `searchStrings` (type: `array`):

What to search on Google Maps, e.g. <code>Dentists in Miami</code> or <code>Plumbers in Austin</code>.

## `maxResultsPerSearch` (type: `integer`):

Maximum number of businesses to scrape per search string.

## `enrichWebsites` (type: `boolean`):

If enabled, the actor crawls each business website (homepage + contact/about pages) to extract email addresses and social media profile links. Note: enriching leads charges the <code>enriched-lead</code> event when at least one email is found.

## `language` (type: `string`):

Google Maps UI language (<code>hl</code> parameter), e.g. <code>en</code>, <code>es</code>, <code>de</code>.

## `maxRequestsPerCrawl` (type: `integer`):

Safety cap on the total number of HTTP/browser requests per run.

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

Residential proxies are <strong>strongly recommended</strong> to avoid Google blocking. Datacenter proxies may work for small runs.

## Actor input object example

```json
{
  "searchStrings": [
    "Dentists in Miami"
  ],
  "maxResultsPerSearch": 100,
  "enrichWebsites": true,
  "language": "en",
  "maxRequestsPerCrawl": 1000
}
```

# Actor output Schema

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

All enriched business leads. Each item contains title, category, address, phone, website, rating, review count, opening hours, emails, and social media links.

# 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 = {
    "searchStrings": [
        "Dentists in Miami"
    ],
    "enrichWebsites": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("waseem9/google-maps-lead-generator").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 = {
    "searchStrings": ["Dentists in Miami"],
    "enrichWebsites": True,
}

# Run the Actor and wait for it to finish
run = client.actor("waseem9/google-maps-lead-generator").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 '{
  "searchStrings": [
    "Dentists in Miami"
  ],
  "enrichWebsites": true
}' |
apify call waseem9/google-maps-lead-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,waseem9/google-maps-lead-generator"
        }
    }
}
```

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/dFLUOOag1UIMc7nyS/builds/JoquhniRWrOZxmXMc/openapi.json
