# Google Maps Scraper with Emails and Phones (`digispruce/google-maps-email-scraper`) Actor

Scrape Google Maps places and the emails on their websites: name, categories, address, phone, website, email, rating, latitude, longitude, time zone and place ID, as JSON, CSV or Excel. No login or API key needed. Emails are charged only when found.

- **URL**: https://apify.com/digispruce/google-maps-email-scraper.md
- **Developed by:** [Akram](https://apify.com/digispruce) (community)
- **Features:** Limited permissions
- **Stats:** 10 total users, 6 monthly users, 89.6% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 1,000 place saveds

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/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 Scraper extracts **places from Google Maps search results** (name, categories, address, phone, website, rating, coordinates, time zone and a place ID) and, if you ask for it, **the email addresses shown on each place's own website**. Type a search the way you would type it into Google Maps, such as `dentists in brooklyn`, press Start, and the places land in a dataset you can download as JSON, CSV or Excel, or read through the API.

**Why use it**

- **Built for lead lists.** The `contacts` view puts email, name, phone and website first, so the Output tab reads like a mailing list.
- **Pay only for what you get.** Places and emails are charged separately, each once per run, and only after they are in your dataset. Places with no email cost just the place charge.
- **Plain input.** Four fields: searches, find emails, a limit per search, a country. No coordinates, polygons or filters to learn.
- **Cost ceiling you set.** "Most places per search" and the run's maximum cost both cap what you can spend.
- **Honest about its limits.** Google shows about 91 to 180 places per search, and the Actor says so rather than promising "unlimited"; a partial run is named in its status message.

No Google account, no Google API key. Emails are optional and stay off until you tick the box. You are charged **$0.20 per 1,000 places** saved. If you tick "Find emails on each place's website", you also pay **$0.70 per 1,000 distinct email addresses**, but only for emails actually found. You only pay for what reached your dataset.

### How to scrape Google Maps places

1. Click **Try for free** and sign in to your Apify account.
2. Under **Searches**, type what to look up, one search per line, as you would type it into Google Maps: `dentists in brooklyn`, `plumbers in london`.
3. Set **Most places per search**. This is also your cost ceiling: 3 searches at 100 places each is at most 300 places. Leave it empty to get every place Google gives, usually 91 to 180 per search.
4. Optionally pick a **Country**. Left empty, Google favours the location of Apify's server, so set a country when a place name could mean somewhere else.
5. Optionally tick **Find emails on each place's website**. It stays off until you tick it, adds the email charge (see the cost section).
6. Click **Start** and watch the log. Results appear in the **Output** tab and can be downloaded as JSON, CSV or Excel.

#### Input example

```json
{
  "searches": ["dentists in brooklyn", "dentists in queens"],
  "maxPlacesPerSearch": 50,
  "countryCode": "us",
  "findEmails": true
}
```

That run looks up dentists in two New York boroughs, favouring results from the United States, keeps at most 50 places from each search, and visits each place's website for email addresses.

#### Call it from the API

Start a run and wait for its rows in one call (replace `YOUR_USERNAME` and `YOUR_API_TOKEN`):

```bash
curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~google-maps-email-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searches": ["dentists in brooklyn"], "maxPlacesPerSearch": 20, "findEmails": true}'
```

A field you leave out takes its default, except `searches`, which is required. A run can end as SUCCEEDED and still be partial (Google blocked it partway, or your maximum charge was reached): the run's status message says why, so read it before assuming every search finished. Input the Actor cannot use ends the run as FAILED.

You can also call the Actor from an AI assistant through [Apify's MCP server](https://mcp.apify.com).

### How much does it cost to scrape Google Maps?

You pay $0.20 per 1,000 places. If you tick Find emails, you also pay $0.70 per 1,000 emails, but only for emails actually found. Places with no email cost just the $0.20.

- **$0.20 per 1,000 places** (event `place-saved`, $0.0002 each): always charged, once per place saved to your dataset, whether Find emails is ticked or not.
- **$0.70 per 1,000 emails** (event `email-saved`, $0.0007 each): charged on top, only when "Find emails on each place's website" is ticked, once per distinct email address saved in the run.

Plus a small platform fee when a run starts; see the **Pricing** tab for the exact current numbers.

Examples:

| You run | You are charged |
| --- | --- |
| 1,000 places, emails off | 1,000 places = **$0.20** |
| 100 places, emails on, 60 different addresses found | 100 places + 60 emails = $0.02 + $0.042 = **$0.062** |
| 1,000 places, emails on, one address found on each | 1,000 places + 1,000 emails = $0.20 + $0.70 = **$0.90** |

| In your dataset | You are charged for |
| --- | --- |
| A place with 3 email addresses | 3 rows, but 1 place and 3 emails |
| A place where no email was found | 1 row with an empty email, 1 place, no email |
| One address on two places (a chain's head office, say) | The address on both places' rows, charged as 1 email |
| One place found by two of your searches | Saved once, 1 place |

What is free:

- **Duplicates.** A place found by several searches, and an address shared by several places, are charged once per run.
- **Emails not found.** A place with no email costs just the place charge.
- **Emails you didn't ask for.** With the email box unticked there is no email charge at all.

Every place is saved to your dataset before it is charged, so you are never charged for something you didn't get. Apify's free plan comes with monthly usage credit, so you can try the Actor before paying anything.

To cap a run hard, set a maximum cost per run in the run's options in the Console. The run stops as soon as a charge reaches your limit, and is never charged past it. The place being saved at that moment stays in your dataset, even when the limit left part of it unpaid.

### What data can you extract from Google Maps?

With emails turned on, 14 fields and one row per email address; with emails off, 13 fields and one row per place. With emails on, the place's details are repeated on each row, and a place where no email was found keeps one row with `email` empty.

| Field | Example | Notes |
| --- | --- | --- |
| `email` | `info@brooklynsmiledental.com` | One address from the place's website, in lowercase. Only present when "Find emails on each place's website" is ticked. `null` when none was found (no website, no email shown on it, or the website could not be read). |
| `name` | `Brooklyn Smile Dental` | As Google Maps shows it. |
| `phone` | `+1 718-555-0142` | International format. `null` when Google shows none. |
| `website` | `https://brooklynsmiledental.com/` | The website Google Maps links to. `null` when it shows none. |
| `address` | `123 Court St, Brooklyn, NY 11201, United States` | `null` when Google shows none, as for a business that goes to its customers and hides its location. |
| `categories` | `["Dentist", "Cosmetic dentist"]` | The kinds of business Google lists, in its order. `[]` when it lists none. |
| `rating` | `4.7` | Average star rating, 1 to 5. `null` when the place has no rating. |
| `latitude` | `40.6889` | `null` when the place hides its location. |
| `longitude` | `-73.9932` | `null` when the place hides its location. |
| `timezone` | `America/New_York` | IANA time zone name. `null` when Google shows none. |
| `search` | `dentists in brooklyn` | The search that found the place. A place several of your searches found is saved once, under the first. |
| `scraped_at` | `2026-11-01T08:10:20+00:00` | When the place was saved, ISO 8601, UTC. The rating is as of this moment. |
| `place_id` | `ChIJ46HpjCxawokR5OXQ0fAuXN0` | The place's ID in the ChIJ form most tools expect. Normally the value Google sent; calculated from the fid when Google sent none. |
| `fid` | `0x89c25a2c8ce9a1e3:0xdd5c2ef0d1d0e5e4` | Google Maps' other ID for the place (two hex numbers). Each place is saved once per run. |

The last two fields, `place_id` and `fid`, are IDs for the same place. `place_id` is the one most tools expect; `fid` is Google Maps' own, and what the run uses to save each place once.

#### Output example

One row, from a run with emails turned on:

```json
{
  "email": "info@brooklynsmiledental.com",
  "name": "Brooklyn Smile Dental",
  "phone": "+1 718-555-0142",
  "website": "https://brooklynsmiledental.com/",
  "address": "123 Court St, Brooklyn, NY 11201, United States",
  "categories": ["Dentist", "Cosmetic dentist"],
  "rating": 4.7,
  "latitude": 40.6889,
  "longitude": -73.9932,
  "timezone": "America/New_York",
  "search": "dentists in brooklyn",
  "scraped_at": "2026-11-01T08:10:20+00:00",
  "place_id": "ChIJ46HpjCxawokR5OXQ0fAuXN0",
  "fid": "0x89c25a2c8ce9a1e3:0xdd5c2ef0d1d0e5e4"
}
```

With emails off, the row is the same without the `email` field.

The `contacts` view in the Output tab shows `email`, `name`, `phone` and `website` first; the `overview` view shows every field.

### How many results, and how good are the emails?

- **Several searches in one run**, one per line: cover many cities or trades at once. Blank lines are ignored.
- **No duplicates.** A place found by several of your searches is saved and charged once. A search you listed twice (apart from capitals and spaces) is run only once.
- **About 91 to 180 places per search.** That is how many Google Maps shows for one search; split a big area into narrower searches for more (see the troubleshooting section).
- **A limit per search.** "Most places per search" gives every search in your list its share, and is your cost ceiling.
- **Country choice.** Pick the country whose results Google should favour, from a list of 249 countries and territories. Left empty, Google favours the location of Apify's server. Useful when a place name exists in several countries: "pizza naples" with Italy finds Naples in Italy, not Florida.
- **Email finder, off unless you tick it.** For each place with a website, the Actor reads the homepage and up to 3 contact-looking pages it links to (paths with words like contact, about, impressum, team). It finds addresses written as plain text, in `mailto:` links, hidden by Cloudflare's email protection, or spelled out as `info [at] acme [dot] com`.
- **Business emails, not junk.** Image file names, template addresses (`example.com` and the like) and website-builder or tracker addresses are dropped. An address on the place's own domain is kept wherever it appears; a free-mail address such as Gmail only from a `mailto:` link or a contact page; any other address only from a contact page.
- **No wasted visits.** Places with no website, or only a social-media page (Facebook, Instagram, TikTok, X, YouTube, LinkedIn, Linktree), are saved without a website visit. A website several places share is read once per run.
- **Each place saved as soon as it is found**, so a run you stop halfway keeps what it read.
- **A broken website never stops your run.** That place is still saved, with an empty email.
- **Platform extras.** Schedule runs, get results through the API, export to CSV, JSON or Excel, or send the data on to Make, Zapier, n8n, Google Sheets, Slack and Apify's other integrations.

### FAQ

#### Do I need a Google account or API key?

No. The Actor reads Google Maps' public search results, as a logged-out visitor does. There is nothing to register and no credentials to hand over.

#### Can I get reviews, photos or opening hours?

Not yet: the Actor saves the 13 or 14 fields above. If you need more, open an issue and say which; it moves things up the list.

#### Why are all the emails in lowercase?

Email addresses are not case-sensitive in practice, so the Actor lowercases them. That is also how `Info@acme.com` and `info@acme.com` count as one address, charged once.

#### Can I run this on a schedule?

Yes. Schedule the Actor in Apify Console (hourly, daily, weekly) and send each run's dataset to Google Sheets, Slack or your own system, for example to watch for new businesses in an area.

#### Can I call it from my own code?

Yes: start runs and read results through the [Apify API](https://docs.apify.com/api/v2), the [Python client](https://docs.apify.com/api/client/python/) or the [JavaScript client](https://docs.apify.com/api/client/js/). The dataset is available as JSON, CSV, Excel or XML.

#### What can I use Google Maps data for?

Lead lists for local businesses (with phone, website and email), market research on how many businesses of a kind an area has, competitor mapping, location data for maps and dashboards, and checking or enriching a list of businesses you already have.

### Limits and troubleshooting

The log lines below are quoted exactly as the run writes them; only the searches, names and numbers change from run to run.

#### What does the log show while a run works?

The first line says what the run will do, then each search and each page of up to 20 places is announced, and the last line counts what was saved and how many searches ran (a search repeating an earlier one is skipped):

```log
Running 2 searches ('dentists in brooklyn', 'dentists in queens'), at most 50 places per search, favouring results from United States, not looking for emails.
Search 1 of 2: 'dentists in brooklyn'
Page 1: 20 places, 20 new.
Page 2: 20 places, 20 new.
Page 3: 20 places, 19 new.
Done with 'dentists in brooklyn': the search has the 50 places asked for, 50 places kept.
Search 2 of 2: 'dentists in queens'
Page 1: 20 places, 20 new.
Page 2: 20 places, 18 new.
Page 3: 20 places, 20 new.
Done with 'dentists in queens': the search has the 50 places asked for, 50 places kept.
Saved 100 places. Ran 2 searches, skipped 0 repeated searches.
```

With emails on, each place also gets a line about its website (see below), and the last line counts distinct emails too, e.g. `Saved 100 places and 64 distinct emails. Ran 2 searches, skipped 0 repeated searches.`

#### Why can't I get more than about 91 to 180 places from one search?

That is how much Google Maps shows for one search, not a limit of the Actor. A search stops when Google's results end or stop bringing new places:

```log
Done with 'cafes in galway': end of Google's results, 120 places kept.
Done with 'cafes in galway': a page brought no new places, 140 places kept.
```

A search never reads more than 20 pages (400 places):

```log
Stopped 'restaurants in london' after 20 pages, the most one search may fetch.
```

To get more places from one area, split it into several narrower searches, by neighbourhood or by trade: `cafes in soho`, `cafes in camden`, `coffee shops in soho`. Places the searches share are saved and charged once.

#### The run finished with fewer places than I asked for

"Most places per search" is a ceiling, not a promise. Fewer places come back when Google ran out (above), or when a place had already been saved by an earlier search in your list: it is not saved again, and does not count toward the later search's limit. A search you listed twice is skipped:

```log
Search 3 of 3: 'Dentists in Brooklyn' repeats search 1, so it is skipped.
```

#### Why did a place get no email?

Each place logs one line saying what happened on its website:

```log
Court Street Dental: no website
Park Slope Dentistry: social website, not read (facebook.com)
Atlantic Dental Care: website could not be read (http://atlanticdentalcare.com/ answered 503)
Smile NYC: 0 emails (smilenyc.com)
Smile NYC Midtown: 0 emails (smilenyc.com, read earlier in this run)
Brooklyn Smile Dental: 2 emails (brooklynsmiledental.com)
```

- **No website** or a **social website**: there is nothing to read, so the place is saved with an empty email.
- **Could not be read**: the website was down, refused the visit, or did not answer in time. Nothing is retried. The place is saved with an empty email and the run carries on.
- **0 emails**: the website was read but showed no business address. Pages built by JavaScript after they load show no addresses to this Actor, which reads pages without a browser. An address at another company's domain shown only on the homepage is not kept (see Features).

A contact page that fails loses only that page; the homepage's emails are kept:

```log
Contact page skipped: https://brooklynsmiledental.com/contact answered 404
```

#### Google blocked the run

Google sometimes refuses automated visitors. The Actor sends one request to Google at a time, 2 to 5 seconds apart, and never retries a block, since asking again soon only makes it last longer.

If Google blocks the run before reading a single page, nothing was saved and the run ends as **failed**:

```log
Google blocked the run (it asked to prove this is not a robot) before any page was read, so nothing was saved. Try the run again later.
```

If Google blocks it partway, the places already saved stay in your dataset (and are the only ones charged), and the run ends as **succeeded**, naming the search to carry on from:

```log
Stopped during search 2 of 3, 'dentists in queens'. The searches before it are done.
Google blocked the run (it asked to prove this is not a robot), so the run stopped early with 240 places saved. To carry on, start a new run from the search it stopped during: 'dentists in queens'
```

Start a new run with that search and the ones after it. When Google is busy or a connection drops, the request is tried again, up to 4 times in all, waiting 2, 4 and then 8 seconds:

```log
Request failed (Google answered 503); trying again in 2s (attempt 2 of 4).
```

If every try fails, the run ends the same way as a block, saying `Google could not be reached` instead.

#### The run stopped at my maximum charge

```log
Stopped: the most you allowed this run to charge is reached. Saved 312 places and 140 distinct emails.
```

The run ends as succeeded (partial) with everything it saved, and its status message says why it stopped. Raise the maximum cost per run, or lower **Most places per search**, and start again from the searches it didn't reach. If the limit is reached on the very last place, nothing was left out, and the run ends with its usual last line instead.

#### "The input can't be used"

Apify's form refuses most mistakes before the run starts: a misspelt field name, an empty `searches` list, a search with `!` in it. The Actor checks again and ends the run as **failed**, before any request to Google, so nothing is saved and no place or email is charged. Because it fails, an automation reading the run's status sees it. The log and the run's status message say what to change, for example when `searches` holds only blank lines:

```log
The input can't be used: searches: give at least one search, e.g. 'coffee in dublin'. Fix it and start the run again.
```

A field you leave out, or send as `null`, takes its default, except `searches`.

#### "Google Maps answered in a way this Actor does not understand"

```log
Google Maps answered in a way this Actor does not understand, so the run stopped with 0 places saved. Google may have changed its pages, so the Actor needs an update. (answer is not valid JSON: Expecting value: line 1 column 1 (char 0))
```

The run ends as failed rather than save rows that may be wrong. Please report it in the **Issues** tab; it needs a fix on our side.

#### "The run stopped on an unexpected error in the Actor"

```log
The run stopped on an unexpected error in the Actor; please report it in the Issues tab. (KeyError: 'name')
```

A fault in the Actor. The places saved before it stay in your dataset. Please report it in the **Issues** tab with the run's link.

### Support

Found a bug, or need a field the Actor doesn't return yet? Open an issue on the Actor's **Issues** tab. Feature requests are welcome, and custom versions of this scraper can be built on request.

# Actor input Schema

## `searches` (type: `array`):

What to look up on Google Maps, one search per line, as you would type it into Maps' search box, e.g. "dentists in brooklyn". Each place is saved once, under the first search that found it, with a search field saying which one. Blank lines are ignored.

## `findEmails` (type: `boolean`):

Visit each place's website and save the email addresses found there: one row per email, with the place's details repeated beside it, and one row with an empty email for a place where none was found. The sample settings show no emails: tick this to get them. Each distinct email address found in the run adds an email-saved charge of $0.70 per 1,000 emails (an address shared by several places is charged once); places are charged either way, and a place with no email adds nothing.

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

The most places to save from each search. You are charged per place saved, so this is also your cost ceiling. Leave it empty to get every place Google gives, usually 100 to 180 per search.

## `countryCode` (type: `string`):

The country whose results Google should favour. Helps when a place name exists in several countries: "pizza naples" with Italy finds Naples in Italy, not Florida. Leave it empty to let Google choose.

## Actor input object example

```json
{
  "searches": [
    "coffee in dublin"
  ],
  "findEmails": false,
  "maxPlacesPerSearch": 10
}
```

# Actor output Schema

## `places` (type: `string`):

One item per place (or per email): email (only with emails ticked), name, phone, website, address, categories, rating, latitude, longitude, timezone, search, scraped_at, place_id, fid.

# 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 = {
    "searches": [
        "coffee in dublin"
    ],
    "maxPlacesPerSearch": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("digispruce/google-maps-email-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 = {
    "searches": ["coffee in dublin"],
    "maxPlacesPerSearch": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("digispruce/google-maps-email-scraper").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 '{
  "searches": [
    "coffee in dublin"
  ],
  "maxPlacesPerSearch": 10
}' |
apify call digispruce/google-maps-email-scraper --silent --output-dataset

```

## MCP server setup

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

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/Z3WKcc4tIP5hQHoKb/builds/1xb87ydqcQzZWT4WV/openapi.json
