# 📍 Google Maps Lead Scraper — Emails & Contacts (`berkaydev/google-maps-lead-scraper-emails-contacts`) Actor

Scrape Google Maps for any business type worldwide. Get name, address, phone, rating, GPS — plus contact email extracted from each website. All in one run. Email included, no add-ons.

- **URL**: https://apify.com/berkaydev/google-maps-lead-scraper-emails-contacts.md
- **Developed by:** [Berkay](https://apify.com/berkaydev) (community)
- **Categories:** Automation, Developer tools, AI
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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 Business Scraper + Email
Scrape Google Maps for any business type and city worldwide. Get name, address, phone, website, rating, GPS coordinates — and contact email extracted directly from each business website. Everything in one run, email included, no add-ons.
---
What you can do with this Actor
Generate qualified leads — build targeted prospect lists with real contact emails for any business category in any city. Dentists in London, lawyers in Berlin, restaurants in Madrid — any industry, worldwide.
Feed AI sales agents — the output is flat JSON with consistent fields, designed to plug directly into n8n, Make, Clay, LangChain, and any AI workflow without transformation.
Prospect for your agency — filter by minimum rating or website presence to find businesses that need your services.
Map your market — scrape an entire city or region to understand competitor density, rating distribution, and contact availability.
---
Why this Actor over the alternatives
Most Google Maps scrapers on Apify charge $4 per 1,000 places for basic data, then add email extraction as a paid add-on at $3–6 extra. You end up paying $7–10 per 1,000 enriched leads across two separate runs.
This Actor does everything in one run for $3 per 1,000 enriched leads. Email is included, not an add-on. The output is a clean flat JSON with 18 fields — not a 50-field nested object you need to parse.
---
What you get
Every result always contains these fields. Missing values are returned as null, never omitted.
place_id — Unique Google Maps ID for deduplication across runs
name — Business name
category — Primary category, e.g. Dentist, Restaurant, Lawyer
address — Full address string
city — City extracted from address
country — Country extracted from address
phone — Phone number
website — Website URL
email — Contact email extracted from the business website. Uses Gemini AI as fallback when the website blocks standard extraction.
email_source — Where the email was found: mailto_link, homepage, contact_page, or gemini
rating — Google Maps rating from 0 to 5
latitude — GPS latitude
longitude — GPS longitude
maps_url — Direct Google Maps link
opening_hours — List of opening hours per day
price_level — Price bracket from 1 to 4
is_permanently_closed — True if the business is permanently closed
scraped_at — Timestamp in ISO 8601 format
---
Example input
```json
{
  "searchTerms": \["dentists"],
  "location": "London, UK",
  "maxResults": 100,
  "extractEmail": true,
  "minRating": 4.0
}
````

Example output

```json
{
  "place\_id": "ChIJYyTiQ1gbdkgRnDRYs8\_\_GbY",
  "name": "London Dental Centre",
  "category": "Dentist",
  "address": "109 Lever St, London EC1V 3RQ, United Kingdom",
  "city": "London",
  "country": "United Kingdom",
  "phone": "+44 20 3667 7070",
  "website": "http://www.thelondondentalcentre.co.uk/",
  "email": "info@thelondondentalcentre.co.uk",
  "email\_source": "mailto\_link",
  "rating": 4.8,
  "latitude": 51.527144,
  "longitude": -0.095682,
  "maps\_url": "https://www.google.com/maps/place/London+Dental+Centre/...",
  "opening\_hours": \["Monday: 9:00-18:00", "Tuesday: 9:00-18:00"],
  "price\_level": 2,
  "is\_permanently\_closed": false,
  "scraped\_at": "2026-05-17T13:22:46Z"
}
```

***

All input options
searchTerms (required, list)
What kind of businesses to search for. You can pass multiple terms and the Actor will combine results. Examples: \["dentists"], \["Zahnarzt"], \["plumbers", "electricians"]
location (required, string)
City and country. Examples: "London, UK" · "Berlin, Germany" · "New York, USA" · "Tokyo, Japan"
maxResults (number, default 100)
Maximum results per search term. Up to 500.
extractEmail (boolean, default true)
Visit each business website to find the contact email. Keep this enabled — it is what makes this Actor useful.
minRating (number, default 0)
Filter out businesses below this Google Maps rating. Set to 4.0 for high-quality leads only.
onlyWithWebsite (boolean, default false)
Skip businesses with no website. Useful if email extraction is your goal.
onlyWithPhone (boolean, default false)
Skip businesses with no phone number listed.
language (string, default en)
Language for results. ISO codes: en, de, fr, es, it, nl, pt...
--------------------------------------------------------------

Getting more results per city
Google Maps returns 20 to 120 results per single query. For broader coverage across a large city, run multiple search terms targeting different districts.

```json
{
  "searchTerms": \[
    "Zahnarzt Berlin Mitte",
    "Zahnarzt Berlin Kreuzberg",
    "Zahnarzt Berlin Prenzlauer Berg",
    "Zahnarzt Berlin Charlottenburg"
  ],
  "location": "Berlin, Germany",
  "maxResults": 50
}
```

***

Use via API
Run this Actor programmatically from any application.
Python example:

```python
from apify\_client import ApifyClient

client = ApifyClient("YOUR\_API\_TOKEN")

run\_input = {
    "searchTerms": \["dentists"],
    "location": "London, UK",
    "maxResults": 50,
    "extractEmail": True,
}

run = client.actor("berkaydev/google-maps-business-scraper").call(run\_input=run\_input)
items = client.dataset(run\["defaultDatasetId"]).list\_items().items
```

## n8n / Make: search for this Actor by name in the Apify app connector. No code needed.

Gemini AI email fallback
When a business website blocks standard scraping (403 errors, bot detection), the Actor uses Gemini AI to extract the email from whatever page text is available. This significantly increases the email hit rate compared to scrapers that only use CSS selectors.
To enable this, set the environment variable `GEMINI\_API\_KEY` in your Actor settings. Without it, the Actor still works — Gemini is only used as a fallback.
--------------------------------------------------------------------------------------------------------------------------------------------------------------

Pricing
Pay-per-event — you only pay for successful results.
$0.003 flat fee per Actor run
$FREE per place scraped
$FREE per email successfully extracted
100 leads with emails = $0.3
1,000 leads with emails = approximately $3.00
---------------------------------------------

Legal
This Actor scrapes publicly available data from Google Maps. Always comply with GDPR, CCPA, and other applicable data protection laws when using scraped data for outreach.

# Actor input Schema

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

What kind of businesses to search for. Examples: \['dentists', 'Italian restaurants', 'Zahnarzt', 'plumbers']

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

City and country to search in. Examples: 'London, UK', 'Berlin, Germany', 'New York, USA'

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

Maximum number of businesses to scrape. Higher = longer runtime. Max 500.

## `extractEmail` (type: `boolean`):

Visit each business website and extract contact email addresses. Adds ~1-2 seconds per result but gives you ready-to-use leads.

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

Only include businesses with at least this Google Maps rating. Leave at 0 for no filter.

## `onlyWithWebsite` (type: `boolean`):

Skip businesses that have no website listed on Google Maps.

## `onlyWithPhone` (type: `boolean`):

Skip businesses that have no phone number listed on Google Maps.

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

Language for Google Maps results. Use ISO 639-1 codes: 'en', 'de', 'fr', 'es', 'it'...

## Actor input object example

```json
{
  "searchTerms": [
    "dentists"
  ],
  "location": "London, UK",
  "maxResults": 100,
  "extractEmail": true,
  "minRating": 0,
  "onlyWithWebsite": false,
  "onlyWithPhone": false,
  "language": "en"
}
```

# 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"
    ],
    "location": "London, UK"
};

// Run the Actor and wait for it to finish
const run = await client.actor("berkaydev/google-maps-lead-scraper-emails-contacts").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"],
    "location": "London, UK",
}

# Run the Actor and wait for it to finish
run = client.actor("berkaydev/google-maps-lead-scraper-emails-contacts").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": [
    "dentists"
  ],
  "location": "London, UK"
}' |
apify call berkaydev/google-maps-lead-scraper-emails-contacts --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "📍 Google Maps Lead Scraper — Emails & Contacts",
        "description": "Scrape Google Maps for any business type worldwide. Get name, address, phone, rating, GPS — plus contact email extracted from each website. All in one run. Email included, no add-ons.",
        "version": "0.0",
        "x-build-id": "NW8N9uz5qyeZJLGKo"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/berkaydev~google-maps-lead-scraper-emails-contacts/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-berkaydev-google-maps-lead-scraper-emails-contacts",
                "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/berkaydev~google-maps-lead-scraper-emails-contacts/runs": {
            "post": {
                "operationId": "runs-sync-berkaydev-google-maps-lead-scraper-emails-contacts",
                "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/berkaydev~google-maps-lead-scraper-emails-contacts/run-sync": {
            "post": {
                "operationId": "run-sync-berkaydev-google-maps-lead-scraper-emails-contacts",
                "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": "What kind of businesses to search for. Examples: ['dentists', 'Italian restaurants', 'Zahnarzt', 'plumbers']",
                        "items": {
                            "type": "string"
                        }
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "City and country to search in. Examples: 'London, UK', 'Berlin, Germany', 'New York, USA'"
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of businesses to scrape. Higher = longer runtime. Max 500.",
                        "default": 100
                    },
                    "extractEmail": {
                        "title": "Extract email from website",
                        "type": "boolean",
                        "description": "Visit each business website and extract contact email addresses. Adds ~1-2 seconds per result but gives you ready-to-use leads.",
                        "default": true
                    },
                    "minRating": {
                        "title": "Minimum rating filter",
                        "minimum": 0,
                        "maximum": 5,
                        "type": "number",
                        "description": "Only include businesses with at least this Google Maps rating. Leave at 0 for no filter.",
                        "default": 0
                    },
                    "onlyWithWebsite": {
                        "title": "Only businesses with website",
                        "type": "boolean",
                        "description": "Skip businesses that have no website listed on Google Maps.",
                        "default": false
                    },
                    "onlyWithPhone": {
                        "title": "Only businesses with phone number",
                        "type": "boolean",
                        "description": "Skip businesses that have no phone number listed on Google Maps.",
                        "default": false
                    },
                    "language": {
                        "title": "Results language",
                        "type": "string",
                        "description": "Language for Google Maps results. Use ISO 639-1 codes: 'en', 'de', 'fr', 'es', 'it'...",
                        "default": "en"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
