# Google Maps Scraper with Emails (`korado_labs/google-maps-emails`) Actor

Scrape Google Maps places by keyword + location: name, category, address, phone, website, rating, coordinates and place ID, enriched with contact emails from each business website. No proxy needed. Export, run via API, or schedule.

- **URL**: https://apify.com/korado\_labs/google-maps-emails.md
- **Developed by:** [Korado Labs](https://apify.com/korado_labs) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 place scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Maps Scraper with Emails 📍📧

Turn a Google Maps search into a **clean business list with contact emails**.
Search by keyword + location (or pass place URLs), and get structured data for
every place — name, category, address, phone, website, rating, reviews,
coordinates, and place ID — **enriched with contact emails** crawled from each
business's website. Export data, run via API, schedule runs, or integrate with
other tools.

### What can it do?

- 🗺️ **Search at scale** — one or many `what in where` queries, or direct place URLs.
- 🏢 **Rich place data** — name, category, full address, phone, website, star
  rating, review count, plus code, latitude/longitude, Google place ID and URL.
- 📧 **Email enrichment** — for places with a website, crawls the homepage and
  contact pages and returns the contact emails found (same-domain first).
- 🧭 **Deep pagination** — scrolls the results feed to collect up to 500 places
  per query.
- 🚫 **Fair billing** — only places actually returned are charged; failed runs cost nothing.

### What data do I get per place?

| Field | Example |
|---|---|
| `name` | Epoch Coffee |
| `category` | Coffee shop |
| `address` | 221 W N Loop Blvd, Austin, TX 78751 |
| `phone` | (512) 454-3762 |
| `website` | http://www.epochcoffee.com/ |
| `emails` | \["jobs@epochcoffee.com", "madison@epochcoffee.com"] |
| `rating`, `reviewCount` | 4.5, 2518 |
| `latitude`, `longitude` | 30.3186, -97.7245 |
| `plusCode` | 879G+C5 Austin, Texas |
| `placeId`, `googleMapsUrl` | 0x8644…:0x1f1a…, maps link |

### How much does it cost?

Pay-per-event, **nothing on a failed run**:

| Event | Price |
|---|---|
| Place scraped | $0.004 |
| Email enrichment (place with ≥1 email) | $0.02 |

200 places where 120 have emails ≈ `200 × $0.004 + 120 × $0.02 = $3.20`.

### How do I use it?

#### Input — search

```json
{
  "searchQueries": ["coffee shop in Austin TX", "roastery in Austin TX"],
  "maxPlacesPerQuery": 40,
  "enrichEmails": true
}
```

#### Input — terms + location

```json
{ "searchTerms": ["dentist", "orthodontist"], "location": "Dallas TX", "maxPlacesPerQuery": 50 }
```

#### Output (one place)

```json
{
  "name": "Epoch Coffee", "category": "Coffee shop",
  "address": "221 W N Loop Blvd, Austin, TX 78751", "phone": "(512) 454-3762",
  "website": "http://www.epochcoffee.com/",
  "emails": ["jobs@epochcoffee.com"],
  "rating": 4.5, "reviewCount": 2518,
  "latitude": 30.3186, "longitude": -97.7245,
  "placeId": "0x8644ca6bc309e81b:0x1f1a903bbb66839"
}
```

### What can you do with the data?

- 🎯 **Local lead generation** — build outreach lists with phone + email per business.
- 📊 **Market & competitor mapping** — categories, ratings and density by area.
- 📍 **Local SEO audits** — track listings, ratings and review counts.
- 🧩 **Data enrichment** — append Maps data + emails to an existing company list.

### FAQ

**How are emails found?** For each place with a website, the actor fetches the
homepage and common contact pages (`/contact`, `/about`) and extracts email
addresses, preferring same-domain ones and filtering out asset/placeholder junk.

**Why do some places have no email?** Not every business publishes an email, and
some sites hide them behind forms or images. Those places still return with all
other fields; you're not charged the enrichment fee.

**Do I need a proxy?** **No.** The actor calls Google's own Maps data endpoint
(`search?tbm=map`) the same way the Maps web app does, so it runs fine on
datacenter IPs with no proxy. If you want to spread load across many IPs you can
still pass a proxy in the Proxy input, but it isn't required.

**How many places per search?** Up to ~120 per query. Google's Maps list feed
returns roughly 20 places per page and caps depth per area/term (this is a Google
limit, not the actor's).

**Why is `reviewCount` sometimes empty?** Google's Maps *list* response includes
the star rating but not always the numeric review count — that only appears on a
place's detail view. Rating, address, phone, website, categories and coordinates
are always populated when Google exposes them.

**Can I scrape specific places?** Yes — pass their Google Maps URLs in `startUrls`;
the actor resolves each by its listing name.

**Can I run it on a schedule / via API?** Yes — schedule it or call it via the
Apify API/SDK like any actor.

**Is scraping Google Maps legal?** You're responsible for complying with
applicable terms and laws; this actor reads publicly visible listing data.

# Actor input Schema

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

Full Google Maps searches, each combining what + where, e.g. "coffee shop in Austin TX".

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

Business types to search; combined with the Location field below (e.g. terms=\["dentist","orthodontist"] + location="Dallas TX").

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

City/region appended to each Search term, e.g. "Dallas TX".

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

Directly scrape specific Google Maps place URLs.

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

How many places to collect per search (1–500).

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

For places with a website, crawl the homepage + contact pages and extract contact emails.

## `proxy` (type: `object`):

REQUIRED: residential proxy. Google Maps blocks datacenter IPs (0 results). Use Apify Residential (RESIDENTIAL group) or supply your own residential proxyUrls.

## Actor input object example

```json
{
  "searchQueries": [
    "coffee shop in Austin TX"
  ],
  "maxPlacesPerQuery": 20,
  "enrichEmails": true,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

One record per place with business data and contact emails.

# 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": [
        "coffee shop in Austin TX"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("korado_labs/google-maps-emails").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": ["coffee shop in Austin TX"] }

# Run the Actor and wait for it to finish
run = client.actor("korado_labs/google-maps-emails").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": [
    "coffee shop in Austin TX"
  ]
}' |
apify call korado_labs/google-maps-emails --silent --output-dataset

```

## MCP server setup

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

```

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/5tXvG7hzrA9Nsq6fb/builds/AS0t93stjocHLWW7w/openapi.json
