# Google Maps Lead Extractor & Email Finder (`chirpy_polygon/google-maps-lead-email-finder`) Actor

Extract local businesses from Google Maps and enrich websites with emails, phone numbers, social links, ratings, addresses, and clean B2B lead data for sales and agency prospecting.

- **URL**: https://apify.com/chirpy\_polygon/google-maps-lead-email-finder.md
- **Developed by:** [Bhojraj Pilaniya](https://apify.com/chirpy_polygon) (community)
- **Categories:** Lead generation, Business, Automation
- **Stats:** 2 total users, 1 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: 4.33 out of 5 stars

## Pricing

from $9.00 / 1,000 email 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?

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

## Google Maps Lead Extractor & Email Finder

Find local businesses from Google Maps and enrich their websites with business emails, phone numbers, social links, ratings, addresses, categories, and clean B2B lead data.

This Actor is built for lead generation agencies, cold email teams, freelancers, SDR teams, local SEO companies, and sales teams that need ready-to-use local business leads.

### What this Actor does

1. Collects local business listings from Google Maps through a source Google Maps Actor.
2. Extracts business name, phone, address, website, category, rating, reviews, Google Maps URL, and place ID.
3. Opens each business website.
4. Scans the homepage and common contact pages such as contact, about, and privacy pages.
5. Finds business emails, social profile links, and the pages where contact data was discovered.
6. Saves clean enriched lead records to the Apify dataset.

### Best use cases

- Google Maps lead generation
- Local business email finder
- Cold email prospecting lists
- Local SEO prospecting
- Agency lead scraping
- Dentist, plumber, lawyer, restaurant, clinic, gym, salon, and real estate agent lead lists
- CRM enrichment and outbound sales workflows
- Finding websites without emails for manual research

### Example searches

- dentists in New York
- plumbers in London
- real estate agents in Dubai
- restaurants in Jaipur
- law firms in Los Angeles
- gyms in Toronto
- clinics in Delhi
- marketing agencies in Singapore

### Output fields

- Business name
- Primary email and all discovered emails
- Phone number
- Website URL
- Address, city, state, country
- Business category
- Rating and review count
- Google Maps URL
- Place ID
- Social links: Facebook, Instagram, LinkedIn, X/Twitter, YouTube, TikTok
- Pages scanned
- Email count
- Enrichment error, if the website was missing or blocked

### Example input

```json
{
  "sourceMode": "googleMapsActor",
  "searchTerms": [
    "dentists"
  ],
  "locationQuery": "New York, USA",
  "maxPlacesPerSearch": 25,
  "maxPagesPerWebsite": 4,
  "onlySaveLeadsWithEmail": false,
  "mapsMaxTotalChargeUsd": 5
}
```

### Example output

```json
{
  "businessName": "Example Dental Clinic",
  "phone": "+1 555 0100",
  "website": "https://exampledental.com",
  "email": "info@exampledental.com",
  "emails": [
    "info@exampledental.com"
  ],
  "address": "123 Main Street, New York, NY",
  "category": "Dentist",
  "rating": 4.8,
  "reviewsCount": 230,
  "googleMapsUrl": "https://www.google.com/maps/place/...",
  "socials": {
    "facebook": "https://facebook.com/exampledental"
  },
  "hasEmail": true,
  "emailCount": 1
}
```

### Pricing and cost control

This Actor charges for enriched leads it saves. Leads with emails cost more because they are more valuable for outreach. The Google Maps source Actor may also charge the user for collecting map listings.

Use these controls to keep costs predictable:

- maxPlacesPerSearch: limit businesses collected per keyword
- maxBusinesses: hard cap total businesses processed
- maxPagesPerWebsite: limit pages scanned per website
- mapsMaxTotalChargeUsd: cap the Google Maps source Actor run
- onlySaveLeadsWithEmail: save only leads where an email is found

### Tips for better email discovery

- Set maxPagesPerWebsite to 4 or 5 for better email coverage.
- Use specific categories such as dentist, roofing contractor, personal injury lawyer, restaurant, or real estate agent.
- Use city-level locations instead of very broad country searches.
- Some businesses do not have websites, and some websites do not publish emails. Those records may still include phone, address, rating, and Google Maps URL.

### Source mode options

#### Google Maps Actor mode

Use sourceMode: googleMapsActor to collect businesses from Google Maps and then enrich their websites.

#### Websites-only mode

Use sourceMode: websitesOnly when you already have business website URLs and only want email/social enrichment.

### Responsible use

Use collected contact data lawfully and follow applicable privacy, anti-spam, and platform rules. Do not use this Actor for abusive scraping, spam, credential harvesting, or unlawful outreach.

# Actor input Schema

## `dryRun` (type: `boolean`):

Run a free sample output without scraping.

## `sourceMode` (type: `string`):

Use Google Maps source Actor or enrich direct website URLs only.

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

Business categories or keywords, e.g. dentists, plumbers, real estate agents.

## `locationQuery` (type: `string`):

City, state, or country to search in, e.g. New York, USA.

## `googleMapsUrls` (type: `array`):

Optional Google Maps place/search URLs instead of search terms.

## `websiteUrls` (type: `array`):

Used in websitesOnly mode. One business website per row.

## `maxPlacesPerSearch` (type: `integer`):

Maximum places collected per search term by the Google Maps source Actor.

## `maxBusinesses` (type: `integer`):

Optional hard cap across all collected businesses. Use 0 for no extra cap.

## `maxPagesPerWebsite` (type: `integer`):

Homepage/contact/about pages to scan per business website.

## `onlySaveLeadsWithEmail` (type: `boolean`):

If enabled, businesses without discovered emails are skipped.

## `mapsMaxTotalChargeUsd` (type: `number`):

Optional spend cap for the Google Maps source Actor run.

## `mapsWaitSecs` (type: `integer`):

Maximum time to wait for Google Maps source Actor.

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

Google Maps result language.

## `skipClosedPlaces` (type: `boolean`):

Skip permanently/temporarily closed businesses where source supports it.

## `requestTimeoutSecs` (type: `integer`):

Timeout for each website page request.

## `googleMapsActorId` (type: `string`):

Advanced: Actor used for Google Maps source data. Use username~actor-name format.

## Actor input object example

```json
{
  "dryRun": false,
  "sourceMode": "googleMapsActor",
  "searchTerms": [
    "dentists"
  ],
  "locationQuery": "New York, USA",
  "maxPlacesPerSearch": 25,
  "maxBusinesses": 0,
  "maxPagesPerWebsite": 4,
  "onlySaveLeadsWithEmail": false,
  "mapsMaxTotalChargeUsd": 5,
  "mapsWaitSecs": 1800,
  "language": "en",
  "skipClosedPlaces": true,
  "requestTimeoutSecs": 15,
  "googleMapsActorId": "compass~crawler-google-places"
}
```

# Actor output Schema

## `results` (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 = {
    "searchTerms": [
        "dentists"
    ],
    "locationQuery": "New York, USA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("chirpy_polygon/google-maps-lead-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 = {
    "searchTerms": ["dentists"],
    "locationQuery": "New York, USA",
}

# Run the Actor and wait for it to finish
run = client.actor("chirpy_polygon/google-maps-lead-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 '{
  "searchTerms": [
    "dentists"
  ],
  "locationQuery": "New York, USA"
}' |
apify call chirpy_polygon/google-maps-lead-email-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,chirpy_polygon/google-maps-lead-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/6ftFOENCmEzHv2Dzc/builds/SxZjGgLvjOOadgGpq/openapi.json
