# Google Maps Email Extractor (`mina_safwat/google-maps-email-extractor`) Actor

Finds businesses on Google Maps and adds the emails, phone numbers and social profiles published on each business's own website. Leads with name, address, phone, rating, hours and contact details.

- **URL**: https://apify.com/mina_safwat/google-maps-email-extractor.md
- **Developed by:** [Mina](https://apify.com/mina_safwat) (community)
- **Categories:** Lead generation, Automation, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 places

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

### What does Google Maps Email Extractor do?

Google Maps Email Extractor finds **local businesses on [Google Maps](https://www.google.com/maps)** and adds the **emails, phone numbers and social profiles** each business publishes on its own website. Type a search such as *"dentists in Austin, TX"* and get a lead list: business name, category, address, Google Maps phone, website, rating, review count, opening hours and coordinates, plus emails, extra phone numbers, and Facebook, Instagram, LinkedIn, X, YouTube, TikTok and Pinterest profiles.

It runs on the Apify platform, so you can start it from the Console, call it through the API, schedule it, and send the results to Google Sheets, a CRM or a webhook. It uses plain HTTP requests, no browser, so it is fast and cheap. The prefilled example (5 dentists, websites included) finishes in about 10–20 seconds.

### Why use Google Maps Email Extractor?

- **Lead generation**: build prospect lists of plumbers, dentists, restaurants or agencies in any city, with an email for many of them (50–70% of places in our US tests).
- **One step instead of two**: you don't need a Maps scraper and then a website crawler. Every row already carries the website's contacts.
- **Know why a row has no email**: each row says whether the website was read, had no email, was unreachable, blocked automated visits, or was missing from Maps.
- **Pay only for useful rows**: places you filter out (permanently closed, no email) are not saved and not charged.
- **Local SEO and market research**: ranks, ratings, review counts and categories for any search and area.

### How to use Google Maps Email Extractor

1. Open the Actor and go to the **Input** tab.
2. Under **Search terms**, type what you would type into Google Maps, one search per line, e.g. `roofers in Leeds` or `Zahnarzt Berlin Mitte`.
3. Optionally paste Google Maps links instead: a search link keeps the map area you were looking at, and a place link or place ID reads one business.
4. Set **Max places per search**, then the language and country.
5. Keep **Find emails and social profiles on websites** on, and turn on **Only places with an email** if you want leads only.
6. Click **Start**. When the run finishes, download the results from the **Output** tab.

### Input

All fields are on the **Input** tab. Give at least one search term or Google Maps link.

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchQueries` | array of strings | – | Google Maps searches, e.g. `dentists in Austin, TX`. |
| `startUrls` | array of strings | – | Google Maps search links, place links, short links (`maps.app.goo.gl/…`) or place IDs (`ChIJ…`). Links that carry only a `cid` number cannot be read. |
| `maxPlacesPerQuery` | integer | 50 | Saved places per search or search link. Google Maps shows up to about 200 places per search. |
| `language` | string | `en` | Language of Maps results (categories, hours). |
| `country` | string | `us` | Country Google searches from. Also used to read phone numbers written without a country code. |
| `enrichContacts` | boolean | `true` | Read each business's website for emails, phones and social profiles. Off = Google Maps data only. |
| `maxPagesPerWebsite` | integer | 5 | Pages read per website, home page included. Contact, impressum, about and legal pages come first. |
| `onlyWithEmail` | boolean | `false` | Leave out places whose website shows no email. They are not saved or charged. |
| `skipClosed` | boolean | `true` | Leave out places Google marks as permanently closed. They are not saved or charged. |
| `proxyConfiguration` | object | Apify Proxy | Proxy for Google Maps only. Websites are fetched directly, with one retry through Apify's datacenter proxy when a site refuses. |

Example input:

```json
{
    "searchQueries": ["dentists in Austin, TX", "plumbers in Denver, CO"],
    "startUrls": ["https://www.google.com/maps/place/ATX+Family+Dental/@30.2482229,-97.7559705,17z"],
    "maxPlacesPerQuery": 100,
    "language": "en",
    "country": "us",
    "enrichContacts": true,
    "maxPagesPerWebsite": 5,
    "onlyWithEmail": false,
    "skipClosed": true
}
```

### Output

Each place is one row. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. This row is real (shortened to 3 days of opening hours):

```json
{
    "placeId": "ChIJ5cU9IsO22YgRvGkS5RYhRFE",
    "cid": "5855841797704673724",
    "name": "Elia",
    "category": "Restaurant",
    "categories": ["Restaurant", "Bar", "Italian restaurant", "Southern Italian restaurant"],
    "address": "1440 NW N River Dr Ste 195, Miami, FL 33125",
    "street": "1440 NW N River Dr Ste 195",
    "neighborhood": "Allapattah",
    "city": "Miami",
    "postalCode": "33125",
    "state": "Florida",
    "countryCode": "US",
    "phone": "+13059044045",
    "website": "https://www.eliaontheriver.com/",
    "domain": "eliaontheriver.com",
    "rating": 4.8,
    "reviewCount": 5678,
    "latitude": 25.7850982,
    "longitude": -80.2204292,
    "openingHours": [
        { "day": "Wednesday", "hours": "11:30 AM–12 AM" },
        { "day": "Thursday", "hours": "Closed", "note": "Thanksgiving hours" },
        { "day": "Friday", "hours": "11:30 AM–2 AM", "note": "Black Friday might affect these hours" }
    ],
    "permanentlyClosed": false,
    "mapsUrl": "https://www.google.com/maps/search/?api=1&query=Elia&query_place_id=ChIJ5cU9IsO22YgRvGkS5RYhRFE",
    "searchQuery": "restaurants in Miami",
    "rank": 3,
    "emails": ["hello@eliaontheriver.com"],
    "phones": ["+13059044045", "+13058947075"],
    "socials": {
        "facebook": "https://www.facebook.com/eliaontheriver",
        "instagram": "https://www.instagram.com/eliaontheriver",
        "linkedin": null,
        "x": null,
        "youtube": null,
        "tiktok": "https://www.tiktok.com/@eliaontheriver",
        "pinterest": null
    },
    "contactPageUrl": null,
    "websiteStatus": "ok",
    "scrapedAt": "2026-11-23T13:58:21.685284+00:00"
}
```

### Data fields

| Field | Type | Description |
|---|---|---|
| `placeId` | string | Google place ID; unique, and no place is saved twice in one run. |
| `cid` | string | Google's numeric customer ID for the place. |
| `name`, `category`, `categories` | string, string, array | Business name, main category and all categories, in the run's language. |
| `address`, `street`, `neighborhood`, `city`, `postalCode`, `state`, `countryCode` | string | Full address and its parts; parts Google doesn't give are `null`. |
| `phone` | string | Phone listed on Google Maps, in international (E.164) form. |
| `website`, `domain` | string | Website listed on Maps (tracking parameters such as `utm_source` removed) and its domain. `null` when Maps lists none. |
| `rating`, `reviewCount` | number | Average star rating and number of reviews. |
| `latitude`, `longitude` | number | Coordinates. |
| `openingHours` | array | This week's hours as Maps shows them: `{day, hours}`, plus `note` on holiday-affected days. |
| `permanentlyClosed` | boolean | Google marks the place permanently closed; always `false` unless `skipClosed` is off. |
| `mapsUrl` | string | Link that opens the place on Google Maps. |
| `searchQuery`, `rank` | string, number | The search that found the place and its position in Google's results (`rank` is `null` for place links). |
| `emails` | array | Emails published on the website, lower-cased and de-duplicated, ranked: the website's own domain first, then Gmail/Outlook-type addresses, then others (e.g. a parent company); legal-notice addresses such as `privacy@` go last in each group. |
| `phones` | array | Valid phone numbers found on the website (`tel:` links, structured data, and numbers written in their country's usual digit groups), in E.164 form. |
| `socials` | object | One profile link each for `facebook`, `instagram`, `linkedin`, `x`, `youtube`, `tiktok`, `pinterest` (`null` when none). Share buttons and the website builder's own accounts are skipped; when a site links several, the most-linked one wins. |
| `contactPageUrl` | string | The website's contact page (or impressum) that was read, if any. |
| `websiteStatus` | string | `ok` (read), `no website` (Maps lists none), `social profile` (the listed "website" is a Facebook/Instagram/… page, saved in `socials`), `unreachable` (doesn't load, broken or gone) or `blocked` (refuses automated visits). |
| `scrapedAt` | string | When the row was saved (ISO 8601, UTC). |

With **Find emails and social profiles on websites** off, rows have the Google Maps fields only.

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

The Actor uses pay-per-event pricing; **see the Pricing tab for the exact prices.** You pay per place saved. If the Pricing tab lists a contact-enrichment event, it is charged only for places whose website was read and gave at least one email or social profile. You are not charged for:

- places left out by **Only places with an email** or **Skip permanently closed places**,
- places another search in the same run already saved,
- searches or links that found nothing (they are listed in the `FAILED_INPUTS` record of the run's key-value store).

The run stops by itself when it reaches the maximum cost you set for it. Apify's free plan credits are enough to try it on a few hundred places.

### Tips

- **Be specific about the place**: `plumbers in Denver, CO` works better than `plumbers` with a country code. For a big city, run one search per neighbourhood or suburb; repeats across searches are saved only once.
- **Use a Maps search link** to keep an exact map area: search on Google Maps, move the map, and paste the link from the address bar.
- **Need leads only?** Turn on **Only places with an email**. The Actor keeps paging through Google's results until it has saved the number of places you asked for or Google runs out.
- **Speed**: with website reading on, expect roughly 150–200 places a minute (websites are read 15 at a time, at most 30 seconds each). Turn it off for Maps data only: several hundred places a minute.
- **Lower `maxPagesPerWebsite`** to 2–3 for speed; the contact page is read first, so most emails are still found.
- **Language and country**: `language: de` gives German categories and hours. `country` decides which place a name like "Springfield" means.

### Related scrapers

See it on real data: [dentists in Austin, TX with emails](https://apify.com/mina_safwat/google-maps-email-extractor/examples/dentists-austin-tx-emails).

- [Google Maps Scraper](https://apify.com/mina_safwat/google-maps-scraper): Maps listings only, without website contacts.
- [Google Maps Reviews Scraper](https://apify.com/mina_safwat/google-maps-reviews-scraper): the reviews of the places you found.
- [Contact Details Scraper](https://apify.com/mina_safwat/contact-details-scraper): emails, phones and social profiles from any list of websites.

### FAQ, disclaimers, and support

**Is it legal to scrape Google Maps and business websites?** The Actor reads only public pages: Google Maps listings and the businesses' own websites, as any visitor would. The emails and phone numbers are business contact details that the businesses published themselves. **You are responsible for using them lawfully.** In the EU and UK, the GDPR and the ePrivacy rules apply to emails that name a person (e.g. `jane@…`) and to unsolicited marketing. In the US, commercial email must follow CAN-SPAM: no misleading headers, a working unsubscribe link and a postal address. Other countries have their own rules (CASL in Canada, for example). If you are unsure, ask a lawyer before you send campaigns.

**Does it guess or generate emails?** No. Every email is shown on the business's website: in a `mailto:` link, the page text, the page's structured data (JSON-LD), an address hidden with Cloudflare's email protection, or one written as "name \[at] domain \[dot] com". Addresses that sit only in scripts, stylesheets, hidden comments or `<meta>` tags (font licences, SEO "written by" credits, template settings) are ignored, and placeholders (`user@domain.com`, `jane@acme.com`), image names (`logo@2x.png`) and error-tracker keys are dropped. Emails are not verified by sending mail.

**Why does a place have no email?** Check `websiteStatus`. Many businesses publish only a contact form, a phone number or social profiles. Some websites refuse automated visits (`blocked`) or are offline (`unreachable`), and some places list no website at all.

**How many places can one search return?** Up to about 200: Google Maps stops there for one search. Split large areas into smaller searches.

**Which Google Maps links work?** Search links, place links copied from the address bar, `maps.app.goo.gl` short links and place IDs. A place link that has only a name and coordinates (`/maps/place/Name/@lat,lng,17z`) is found by searching that name at those coordinates; the top result is taken only if its name matches. A link with only a `cid=` number cannot be read: open it and copy the full link from the address bar.

**Does it scrape reviews, photos or popular times?** No. It focuses on business details and contacts.

**Found a bug or need a custom solution?** Open an issue on the **Issues** tab and we'll take a look. Custom solutions are available on request.

# Actor input Schema

## `searchQueries` (type: `array`):

What you would type into Google Maps, one search per line: a kind of business and a place, for example "dentists in Austin, TX" or "plumber Manchester". Google Maps shows up to about 200 places for one search, so split big areas into neighbourhoods or towns.

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

Google Maps links, one per line: a search link (https://www.google.com/maps/search/…, keeps the map area you were looking at), a place link (https://www.google.com/maps/place/…), a short link (https://maps.app.goo.gl/…) or a place ID (ChIJ…). Links that carry only a "cid" number cannot be read; open the place and copy the address bar instead.

## `maxPlacesPerQuery` (type: `integer`):

Stops each search after this many saved places. Google Maps itself shows up to about 200 places per search.

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

Language of the Google Maps results (category names, opening hours), as a code: en, de, fr, es, pt-BR…

## `country` (type: `string`):

Two-letter country code Google Maps searches from: us, gb, de, fr… Put the town in the search terms as well; this mainly decides which country a name like "Springfield" means. It is also used to read phone numbers written without a country code.

## `enrichContacts` (type: `boolean`):

Reads each business's own website (home page plus its contact, impressum, about and legal pages) for emails, phone numbers and social profiles. Turn off to get Google Maps data only, faster.

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

Pages read on each website, the home page included. Contact-type pages are read first, so 5 finds nearly everything; 1 reads the home page only.

## `onlyWithEmail` (type: `boolean`):

Leaves out places whose website shows no email. Left-out places are not saved and not charged. Turns on website reading.

## `skipClosed` (type: `boolean`):

Leaves out places Google Maps marks as permanently closed. They are not saved and not charged.

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

Used for Google Maps only. Apify's datacenter proxy (the default) works well. Business websites are read directly and never through residential proxies.

## Actor input object example

```json
{
  "searchQueries": [
    "dentists in Austin, TX"
  ],
  "startUrls": [],
  "maxPlacesPerQuery": 5,
  "language": "en",
  "country": "us",
  "enrichContacts": true,
  "maxPagesPerWebsite": 5,
  "onlyWithEmail": false,
  "skipClosed": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "searchQueries": [
        "dentists in Austin, TX"
    ],
    "maxPlacesPerQuery": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/google-maps-email-extractor").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 = {
    "searchQueries": ["dentists in Austin, TX"],
    "maxPlacesPerQuery": 5,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/google-maps-email-extractor").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 '{
  "searchQueries": [
    "dentists in Austin, TX"
  ],
  "maxPlacesPerQuery": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call mina_safwat/google-maps-email-extractor --silent --output-dataset

```

## MCP server setup

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

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/PQLrDS3ObQ6KepBPl/builds/mlOtk5hdI3M9K7ti1/openapi.json
