# Google Maps Scraper (`futurizerush/google-maps-scraper`) Actor

Google Maps business scraper for lead gen. Extract addresses, phones, hours, ratings, websites, and emails from linked sites. Works with Make.com, n8n, and AI automations.

- **URL**: https://apify.com/futurizerush/google-maps-scraper.md
- **Developed by:** [Rush](https://apify.com/futurizerush) (community)
- **Categories:** Automation, Lead generation, AI
- **Stats:** 141 total users, 1 monthly users, 91.7% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $10.00 / 1,000 results

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/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 - with Email Extraction

Extract complete business data from Google Maps, including contact information, ratings, business hours, and email addresses discovered from business websites.

Ideal for lead generation, market research, business intelligence, and B2B sales development.

---

### What It Extracts

**Business Information:**
- Business name, address, and location coordinates (latitude/longitude)
- Phone number and website URL
- Google Maps Place ID and direct link
- Business category/type
- Operating hours (detailed weekly schedule)
- Star rating and review count

**Email Discovery:**
- Automatically visits business websites listed on Google Maps
- Extracts email addresses from website content
- Validates and cleans discovered email addresses

---

### Quick Start

#### Basic Search

```json
{
    "searchQueries": ["restaurants in Manhattan"],
    "maxResults": 50,
    "language": "en",
    "scrapeEmails": true
}
````

#### Multiple Search Queries

```json
{
    "searchQueries": [
        "dentists in Los Angeles",
        "Italian restaurants in Chicago",
        "hotels near Times Square New York"
    ],
    "maxResults": 50,
    "scrapeEmails": true
}
```

#### Using Direct Google Maps URLs

```json
{
    "startUrls": [
        {"url": "https://www.google.com/maps/search/coffee+shops+in+San+Francisco"}
    ],
    "maxResults": 50,
    "scrapeEmails": true
}
```

***

### Input Parameters

| Parameter | Type | Required | Default | Range | Description |
|-----------|------|----------|---------|-------|-------------|
| `searchQueries` | Array | Yes\* | - | 1-50 items | Search terms, e.g. "restaurants in Manhattan" |
| `maxResults` | Integer | No | 50 | 50-200 | Maximum results per search query |
| `language` | String | No | "en" | en, zh-TW | Interface and results language |
| `scrapeEmails` | Boolean | No | true | - | Extract emails from business websites |
| `startUrls` | Array | No | \[] | 1-20 items (when provided) | Direct Google Maps search URLs |

\*Either `searchQueries` or `startUrls` must be provided.

#### Language Options

- **English** (`"en"`) - Default setting
- **Traditional Chinese** (`"zh-TW"`) - For Taiwan and Hong Kong regions

***

### Output Data Format

Each extracted business contains the following fields:

```json
{
    "name": "Blue Bottle Coffee",
    "placeId": "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "latitude": 37.7749,
    "longitude": -122.4194,
    "rating": 4.5,
    "reviews": 1832,
    "address": "66 Mint St, San Francisco, CA 94103",
    "businessType": "Coffee shop",
    "phone": "+1 415-555-0123",
    "website": "https://bluebottlecoffee.com",
    "email": "info@bluebottlecoffee.com",
    "emails": ["info@bluebottlecoffee.com", "support@bluebottlecoffee.com"],
    "hours": [
        "Monday: 7 AM to 6 PM",
        "Tuesday: 7 AM to 6 PM",
        "Wednesday: 7 AM to 6 PM",
        "Thursday: 7 AM to 6 PM",
        "Friday: 7 AM to 6 PM",
        "Saturday: 8 AM to 5 PM",
        "Sunday: 8 AM to 5 PM"
    ],
    "url": "https://www.google.com/maps/place/...",
    "query": "coffee shops in San Francisco",
    "timestamp": "2026-02-08T10:30:00.000Z",
    "sourceUrl": "https://www.google.com/maps/search/coffee+shops+in+San+Francisco",
    "scrapeDuration": 48,
    "hoursDetail": {
        "Monday": "6:30 AM to 5:30 PM"
    }
}
```

#### Error Record Format

When a query or URL fails, the Actor writes an error row to the dataset:

```json
{
    "query": "coffee shops in San Francisco",
    "sourceUrl": "https://www.google.com/maps/search/coffee+shops+in+San+Francisco",
    "error": "Navigation timeout of 30000 ms exceeded",
    "errorType": "TIMEOUT",
    "persistedCount": 0,
    "timestamp": "2026-02-24T01:05:00.000Z"
}
```

If no query or URL fails, the `errors` dataset view can be empty. In that case, check the `STATS` record for:

- `errorRecords`: number of failed query/URL rows written to `errors`
- `errorDatasetStatus`: human-readable explanation
- `errorDatasetUrl`: direct API URL for the `errors` view (when available)

#### Output Views and Run Reports

- Dataset view `businesses`: normalized business output rows
- Dataset view `errors`: failed query/URL records
- Key-value record `INPUT`: normalized run input payload
- Key-value record `STATS`: run-level metrics summary
- Key-value record `FATAL_ERROR`: fatal execution details (only when fatal failure happens)

***

### Runtime Baseline

Observed local baseline (measured on **February 24, 2026**):

- Input: `searchQueries=["Blue Bottle Coffee Mint Street San Francisco"]`
- Configuration: `maxResults=50`, `scrapeEmails=false`
- Output: 14 business rows
- End-to-end runtime: about 49 seconds

Runtime can vary significantly by city density, Google Maps response time, and whether website/email extraction is enabled.

***

### Best Practices

#### Writing Effective Search Queries

**Good examples:**

- "Italian restaurants in SoHo New York"
- "dentists in downtown Los Angeles"
- "hotels near Golden Gate Bridge San Francisco"
- "coffee shops in Georgetown Washington DC"

**Poor examples:**

- "restaurants" (too broad, no location)
- "businesses" (too vague)
- "New York" (missing business type)

**Tips:**

1. Always include a business category (dentists, restaurants, hotels, shops)
2. Specify a location (city, neighborhood, or landmark)
3. Be specific rather than generic for more relevant results

#### Resource Management

1. Start with 50-100 results to evaluate data quality
2. Only enable email extraction when you need contact information
3. Use multiple specific queries rather than one broad query for better coverage

***

### Use Cases

- **Lead Generation** - Extract contact information for B2B outreach and sales prospecting
- **Market Research** - Analyze competitor presence, ratings, and geographic distribution
- **Business Intelligence** - Collect comprehensive business data for strategic planning
- **Directory Building** - Create business directories with verified contact details
- **Competitive Analysis** - Monitor competitor locations, services, and customer ratings
- **Local SEO Research** - Study local business landscapes and identify market gaps

***

### Compliance and Responsible Use

This tool extracts publicly available information from Google Maps. Users are responsible for ensuring compliance with:

- Google Maps Terms of Service
- Local data protection laws (GDPR, CCPA, etc.)
- Email marketing regulations (CAN-SPAM, GDPR)

**Intended use:**

- Business research and market analysis
- Lead generation for legitimate business purposes
- Academic and competitive research

**Not intended for:**

- Unsolicited bulk email or spam
- Violating terms of service
- Excessive or abusive data collection

***

### Limitations

- Email addresses can only be found when publicly displayed on business websites
- Some business websites may block automated access
- Google Maps may not have complete data for all businesses
- Results are limited to what appears in Google Maps search results
- The number of results depends on Google Maps' available listings for a given query

***

### Disclaimer

This tool is provided for informational and research purposes only. Users are solely responsible for ensuring that their use complies with all applicable laws, regulations, and terms of service. The developer assumes no liability for any misuse or violations arising from the use of this software.

# Actor input Schema

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

Enter search terms to find businesses and extract emails, e.g. 'restaurants in Manhattan' or 'dentists in Los Angeles'

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

Number of results per search (recommended 50-100)

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

Interface language for better local results

## `scrapeEmails` (type: `boolean`):

Extract email addresses from business websites (recommended for lead generation)

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

Direct Google Maps URLs to scrape instead of search queries

## Actor input object example

```json
{
  "searchQueries": [
    "coffee shops in San Francisco"
  ],
  "maxResults": 50,
  "language": "en",
  "scrapeEmails": true
}
```

# Actor output Schema

## `businesses` (type: `string`):

No description

## `errors` (type: `string`):

No description

## `input` (type: `string`):

No description

## `stats` (type: `string`):

No description

## `fatalError` (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": [
        "coffee shops in San Francisco"
    ],
    "maxResults": 50,
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("futurizerush/google-maps-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 = {
    "searchQueries": ["coffee shops in San Francisco"],
    "maxResults": 50,
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("futurizerush/google-maps-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 '{
  "searchQueries": [
    "coffee shops in San Francisco"
  ],
  "maxResults": 50,
  "language": "en"
}' |
apify call futurizerush/google-maps-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Maps Scraper",
        "description": "Google Maps business scraper for lead gen. Extract addresses, phones, hours, ratings, websites, and emails from linked sites. Works with Make.com, n8n, and AI automations.",
        "version": "0.0",
        "x-build-id": "f3sCqL1Ekkg3Thr3O"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/futurizerush~google-maps-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-futurizerush-google-maps-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/futurizerush~google-maps-scraper/runs": {
            "post": {
                "operationId": "runs-sync-futurizerush-google-maps-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/futurizerush~google-maps-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-futurizerush-google-maps-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": {
                    "searchQueries": {
                        "title": "Search Queries",
                        "minItems": 1,
                        "maxItems": 50,
                        "type": "array",
                        "description": "Enter search terms to find businesses and extract emails, e.g. 'restaurants in Manhattan' or 'dentists in Los Angeles'",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 50,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Number of results per search (recommended 50-100)",
                        "default": 50
                    },
                    "language": {
                        "title": "Language",
                        "enum": [
                            "en",
                            "zh-TW"
                        ],
                        "type": "string",
                        "description": "Interface language for better local results",
                        "default": "en"
                    },
                    "scrapeEmails": {
                        "title": "Extract Emails",
                        "type": "boolean",
                        "description": "Extract email addresses from business websites (recommended for lead generation)",
                        "default": true
                    },
                    "startUrls": {
                        "title": "Start URLs (Optional)",
                        "minItems": 1,
                        "maxItems": 20,
                        "type": "array",
                        "description": "Direct Google Maps URLs to scrape instead of search queries",
                        "items": {
                            "type": "object",
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL",
                                    "description": "Google Maps URL"
                                }
                            }
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
