# 📧 Google Maps Scraper — Emails, Phones & B2B Leads (`khadinakbar/google-maps-leads-scraper`) Actor

Extract B2B leads from Google Maps with emails, phones, ratings, reviews, social links & opening hours. CRM-ready flat output with lead scoring. Pay per result — email enrichment only charged when found. No login needed...

- **URL**: https://apify.com/khadinakbar/google-maps-leads-scraper.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** Lead generation, Marketing
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 place scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.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/platform/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

## 📧 Google Maps Scraper — Emails, Phones & B2B Leads

Scrape business data from Google Maps and enrich it with email addresses extracted directly from business websites — all in one actor, one run, one flat price. No add-on fees, no login required.

Built for B2B sales teams, marketing agencies, and lead gen professionals who need CRM-ready leads fast.

### Features

- **Search by keyword + location** — "dentists in Miami", "plumbers in London"
- **Direct URL support** — paste Google Maps search or place URLs
- **Email enrichment** — visits each business website to find emails and social media links
- **Lead quality scoring** — every lead gets a 0-100 score based on completeness
- **CRM-ready output** — flat JSON, no nested objects, import directly into HubSpot, Salesforce, or spreadsheets
- **Reviews extraction** — optionally extract Google reviews per business
- **Deduplication** — automatic duplicate removal across search queries
- **No login required** — works without Google account or cookies

### Use Cases

- **Sales prospecting** — find local businesses by niche and get their contact details for cold outreach
- **Market research** — map competitor density, ratings, and reviews across locations
- **Agency lead gen** — build targeted lead lists for clients by location and industry
- **CRM enrichment** — add emails, phones, and social links to existing business databases
- **Local SEO audits** — analyze businesses in a geographic area with ratings and review data

### Pricing — Simple and Transparent

Two events only. No hidden fees, no filter charges, no surprise add-ons.

| Event | What triggers it | Price |
|-------|-----------------|-------|
| **Place scraped** | Every business extracted from Google Maps | **$0.004** per place |
| **Email enriched** | Only when an email is actually found on the website | **$0.006** per email |

**Key difference from competitors:** Email enrichment is charged **only when an email is found**. No email = no charge. You never pay for failed lookups.

#### Cost examples

| Scenario | Places | Emails found | Total cost |
|----------|--------|-------------|------------|
| Basic scrape (no email) | 1,000 | — | **$4.00** |
| With email enrichment (~60% hit rate) | 1,000 | 600 found | **$7.60** |
| Small test run | 10 | 7 found | **$0.082** |
| Large campaign | 5,000 | 3,000 found | **$38.00** |

Compare: the market average for Google Maps scrapers is **$73.56 per 1,000 results**. You pay a fraction of that.

### Input Parameters

#### Required (at least one)
- **searchQuery** — Business type to search for, e.g. "dentists", "restaurants", "plumbers"
- **startUrls** — Direct Google Maps URLs (search pages or individual places)

#### Optional
- **location** — City or region, e.g. "Miami, FL" or "London, UK"
- **maxResults** — Maximum leads to extract (default: 50)
- **enrichEmails** — Visit business websites to find emails (default: true)
- **maxReviews** — Reviews per place, 0 = none (default: 0)
- **language** — Language for results (default: "en")
- **minRating** — Minimum star rating filter (default: 0)

### Output

Every record has the exact same flat structure — no nested objects, no varying fields across runs.

```json
{
    "business_name": "Miami Dental Care",
    "category": "Dentist",
    "full_address": "123 Ocean Dr, Miami, FL 33139, USA",
    "phone": "+1 305-555-0123",
    "website": "https://miamidentalcare.com",
    "email": "info@miamidentalcare.com",
    "rating": 4.7,
    "review_count": 238,
    "reviews": [],
    "lead_score": 85,
    "latitude": 25.7617,
    "longitude": -80.1918,
    "google_maps_url": "https://www.google.com/maps/place/...",
    "place_id": "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "opening_hours": {
        "Monday": "9:00 AM - 5:00 PM",
        "Tuesday": "9:00 AM - 5:00 PM",
        "Saturday": "Closed"
    },
    "facebook": "https://facebook.com/miamidentalcare",
    "instagram": "https://instagram.com/miamidentalcare",
    "linkedin": null,
    "twitter": null,
    "scraped_at": "2026-03-31T10:00:00.000Z",
    "source_url": "https://www.google.com/maps/search/dentists+in+Miami"
}
````

#### Lead Score Breakdown

Every lead gets a quality score (0-100) computed from:

| Signal | Points |
|--------|--------|
| Email found | +30 |
| Has website | +20 |
| Has phone | +10 |
| Rating ≥ 4.0 | +15 |
| 10+ reviews | +15 |
| Has social media | +10 |

Higher score = more complete, higher-quality lead.

### Examples

#### Example 1: Find dentists in Miami with emails

```json
{
    "searchQuery": "dentists",
    "location": "Miami, FL",
    "maxResults": 100,
    "enrichEmails": true
}
```

#### Example 2: Scrape restaurants without email (cheaper)

```json
{
    "searchQuery": "restaurants",
    "location": "London, UK",
    "maxResults": 200,
    "enrichEmails": false
}
```

#### Example 3: Direct Google Maps URL

```json
{
    "startUrls": [
        { "url": "https://www.google.com/maps/search/plumbers+near+San+Francisco" }
    ],
    "maxResults": 50,
    "enrichEmails": true
}
```

#### Example 4: High-quality leads only

```json
{
    "searchQuery": "lawyers",
    "location": "New York, NY",
    "maxResults": 100,
    "enrichEmails": true,
    "minRating": 4.0
}
```

### No Login Required

This actor works entirely through browser automation of public Google Maps pages. No Google account, API key, cookies, or login credentials needed.

### Limitations

- Google Maps typically returns up to ~300 results per search query. For larger datasets, use multiple specific queries (e.g. "dentists in Miami Beach" + "dentists in Coral Gables")
- Email extraction depends on the business having a website with a visible email address
- Some business websites may block automated access, resulting in null email fields
- Rate limiting may slow down large runs. The actor handles this automatically with retries and session rotation

### Support

Found a bug or have a feature request? Open an issue on the actor's Issues tab. Response time: within 48 hours.

Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

# Actor input Schema

## `searchQuery` (type: `string`):

Use this field when the user wants to find businesses by type or keyword — e.g. 'dentists', 'restaurants', 'plumbers'. Do NOT use this when the user provides a specific Google Maps URL — use startUrls for that instead.

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

City, state, or region to search in. Use with searchQuery — e.g. 'Miami, FL' or 'London, UK'. Not needed when using startUrls. Use simple formats like 'City, Country' for best results.

## `startUrls` (type: `array`):

Use this field when the user provides specific Google Maps URLs — search result pages or individual place pages. Do NOT use this when the user describes a business type or niche — use searchQuery + location for that instead.

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

Maximum number of business leads to extract. Lower values = faster + cheaper runs. Set to 5-10 for testing, 50-200 for campaigns, 500+ for bulk extraction.

## `enrichEmails` (type: `boolean`):

When enabled, visits each business website to extract email addresses and social media links. Adds ~3-5 seconds per business. You are ONLY charged for email enrichment when an email is actually found — no email, no charge.

## `maxReviews` (type: `integer`):

Number of reviews to extract per business. Set to 0 for no reviews. Reviews are included in the base price — no extra charge.

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

Language for Google Maps results. Controls the language of business names, categories, and addresses returned.

## `minRating` (type: `number`):

Only include businesses with at least this Google rating (1.0-5.0). Leave empty or set to 0 to include all businesses regardless of rating.

## Actor input object example

```json
{
  "searchQuery": "restaurants",
  "location": "Miami, FL",
  "startUrls": [],
  "maxResults": 50,
  "enrichEmails": true,
  "maxReviews": 0,
  "language": "en",
  "minRating": 0
}
```

# Actor output Schema

## `results` (type: `string`):

CRM-ready business lead records with: business\_name, category, full\_address, phone, website, email, rating, review\_count, lead\_score, latitude, longitude, google\_maps\_url, place\_id, opening\_hours, facebook, instagram, linkedin, twitter, scraped\_at, source\_url

# 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 = {
    "searchQuery": "dentists",
    "location": "New York, USA",
    "startUrls": [],
    "maxResults": 50,
    "maxReviews": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("khadinakbar/google-maps-leads-scraper").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 = {
    "searchQuery": "dentists",
    "location": "New York, USA",
    "startUrls": [],
    "maxResults": 50,
    "maxReviews": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("khadinakbar/google-maps-leads-scraper").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 '{
  "searchQuery": "dentists",
  "location": "New York, USA",
  "startUrls": [],
  "maxResults": 50,
  "maxReviews": 0
}' |
apify call khadinakbar/google-maps-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=khadinakbar/google-maps-leads-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "📧 Google Maps Scraper — Emails, Phones & B2B Leads",
        "description": "Extract B2B leads from Google Maps with emails, phones, ratings, reviews, social links & opening hours. CRM-ready flat output with lead scoring. Pay per result — email enrichment only charged when found. No login needed...",
        "version": "1.0",
        "x-build-id": "bteNC1wXLtBu5waKl"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/khadinakbar~google-maps-leads-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-khadinakbar-google-maps-leads-scraper",
                "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/khadinakbar~google-maps-leads-scraper/runs": {
            "post": {
                "operationId": "runs-sync-khadinakbar-google-maps-leads-scraper",
                "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/khadinakbar~google-maps-leads-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-khadinakbar-google-maps-leads-scraper",
                "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",
                "properties": {
                    "searchQuery": {
                        "title": "🔍 Search Query",
                        "type": "string",
                        "description": "Use this field when the user wants to find businesses by type or keyword — e.g. 'dentists', 'restaurants', 'plumbers'. Do NOT use this when the user provides a specific Google Maps URL — use startUrls for that instead."
                    },
                    "location": {
                        "title": "📍 Location",
                        "type": "string",
                        "description": "City, state, or region to search in. Use with searchQuery — e.g. 'Miami, FL' or 'London, UK'. Not needed when using startUrls. Use simple formats like 'City, Country' for best results."
                    },
                    "startUrls": {
                        "title": "🔗 Google Maps URLs",
                        "type": "array",
                        "description": "Use this field when the user provides specific Google Maps URLs — search result pages or individual place pages. Do NOT use this when the user describes a business type or niche — use searchQuery + location for that instead.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxResults": {
                        "title": "💯 Max Results",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of business leads to extract. Lower values = faster + cheaper runs. Set to 5-10 for testing, 50-200 for campaigns, 500+ for bulk extraction.",
                        "default": 50
                    },
                    "enrichEmails": {
                        "title": "📧 Find Emails from Websites",
                        "type": "boolean",
                        "description": "When enabled, visits each business website to extract email addresses and social media links. Adds ~3-5 seconds per business. You are ONLY charged for email enrichment when an email is actually found — no email, no charge.",
                        "default": true
                    },
                    "maxReviews": {
                        "title": "⭐ Reviews per Place",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Number of reviews to extract per business. Set to 0 for no reviews. Reviews are included in the base price — no extra charge.",
                        "default": 0
                    },
                    "language": {
                        "title": "🌍 Language",
                        "enum": [
                            "en",
                            "es",
                            "fr",
                            "de",
                            "it",
                            "pt",
                            "nl",
                            "pl",
                            "ru",
                            "ja",
                            "ko",
                            "zh-CN",
                            "ar",
                            "tr",
                            "hi"
                        ],
                        "type": "string",
                        "description": "Language for Google Maps results. Controls the language of business names, categories, and addresses returned.",
                        "default": "en"
                    },
                    "minRating": {
                        "title": "⭐ Minimum Rating",
                        "minimum": 0,
                        "maximum": 5,
                        "type": "number",
                        "description": "Only include businesses with at least this Google rating (1.0-5.0). Leave empty or set to 0 to include all businesses regardless of rating.",
                        "default": 0
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
