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

The most complete and cost-effective Google Maps Scraper on the market. Extract businesses, emails, social media profiles, and reviews with zero external API costs.

- **URL**: https://apify.com/theguide/google-maps-scraper.md
- **Developed by:** [TheGuide](https://apify.com/theguide) (community)
- **Categories:** Lead generation, Travel, Automation
- **Stats:** 56 total users, 6 monthly users, 98.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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 — Business Data, Emails & Leads

Extract business data from Google Maps at scale. Get names, addresses, phone numbers, websites, emails, social media profiles, reviews, images, and more — with **zero external API costs**.

### 🚀 Why use Google Maps Scraper?

- **Generate qualified leads**: extract business names, websites, emails, and phone numbers to build prospect lists
- **Track competitors across regions**: monitor where competitors operate, how they're rated, and how many reviews they've received
- **Perform market analysis**: analyze market saturation, identify service gaps, or benchmark local businesses
- **Automate research workflows**: replace manual search tasks with repeatable, scheduled workflows

### ✨ Key Features

- **📧 Email Extraction**: Automatically visits business websites to find contact emails (with contact page discovery)
- **📱 Social Media Links**: Scrapes LinkedIn, Facebook, Instagram, Twitter/X, YouTube, TikTok, Pinterest
- **⭐ Reviews Extraction**: Pull full reviews with reviewer name, rating, date, and text
- **📸 Images**: Extract business photos and image URLs
- **📋 Additional Info**: Service options, accessibility, offerings, dining options, payments, and more
- **🕐 Popular Times**: Live occupancy data and histogram of peak hours
- **🔍 Multi-Query Support**: Run hundreds of searches (e.g., "Plumbers in London", "Dentists in Paris") in one go
- **🎯 Category Filtering**: Filter results by Google Maps categories
- **📍 Direct URL Search**: Scrape specific places by Google Maps URL or Place ID
- **⚡ No External Costs**: No need for SerpApi, Google Maps API, or other paid services
- **🛡️ Advanced Anti-Detection**: Uses modern browser fingerprints and smart rotation to avoid captchas
- **🌐 Language Support**: Search in any language with configurable locale

### 💰 Pricing

**Pay-per-event** model — you only pay for what you scrape. Higher Apify subscription plans unlock lower prices.

| Event | FREE | STARTER | SCALE | BUSINESS |
| ----- | ---- | ------- | ----- | -------- |
| **Actor Start** | $0.00005 | $0.00005 | $0.00005 | $0.00005 |
| **Place Scraped** | $6.00 / 1k | $5.00 / 1k | $4.00 / 1k | $3.50 / 1k |
| **Contact Enrichment** | $6.00 / 1k | $5.00 / 1k | $4.00 / 1k | $3.00 / 1k |
| **Review Scraped** | $0.60 / 1k | $0.50 / 1k | $0.40 / 1k | $0.30 / 1k |
| **Image Scraped** | $0.60 / 1k | $0.50 / 1k | $0.40 / 1k | $0.30 / 1k |

> Prices shown per 1,000 units. Actor Start is a flat fee per run. Free tier limited to 10 results.

#### Why our pricing wins

- **Competitive pricing** with transparent, cost-covering unit prices
- **Contact Enrichment covers both emails AND socials** — competitors charge separately ($15/1k total)
- **Reviews & Images included** — pay only for what you extract
- **No hidden API costs** — everything is included
- **Tiered discounts** — upgrade your Apify plan to automatically pay less per result

### 🛠️ How to use

1. **Enter your search queries**: Use a single `query` or a list of `queries` (e.g., "restaurants in Paris", "dentists in Berlin")
2. **Set max results**: Choose how many businesses you want per query
3. **Enable enrichment**: Check `extractEmails` to get contact data from business websites
4. **Filter results**: Use `placeMinimumStars`, `skipClosedPlaces`, or `categories` to filter
5. **Run & Export**: Get your data in JSON, CSV, Excel, or XML

#### Input Example

```json
{
  "queries": ["Italian restaurants in New York", "Yoga studios in Brooklyn"],
  "maxResults": 50,
  "extractEmails": true,
  "language": "en",
  "skipClosedPlaces": true,
  "placeMinimumStars": "4.0"
}
```

#### Direct URL input

```json
{
  "queries": ["https://www.google.com/maps/place/Eiffel+Tower/@48.8584,2.2945,17z/"],
  "extractEmails": true
}
```

### 📊 Data Points Extracted

| Field                | Description                                      |
| -------------------- | ------------------------------------------------ |
| `title`              | Business name                                    |
| `category`           | Primary business category                        |
| `categories`         | All business categories                          |
| `address`            | Full physical address                            |
| `website`            | Official website URL                             |
| `phone`              | Contact phone number                             |
| `emails`             | Verified contact emails from business website    |
| `socialLinks`        | LinkedIn, Facebook, Instagram, Twitter, etc.     |
| `rating`             | Average star rating                              |
| `reviewsCount`       | Total number of reviews                          |
| `reviews`            | Full reviews with reviewer name, text, and date  |
| `images`             | Business photos and image URLs                   |
| `additionalInfo`     | Service options, accessibility, payments, etc.   |
| `popularTimes`       | Live occupancy and peak hours histogram          |
| `latitude/longitude` | Precise GPS coordinates                          |
| `placeId`            | Google's unique identifier                       |
| `openingHours`       | Full weekly schedule                             |
| `priceRange`         | $, $$, $$$, or $$$$                              |
| `plusCode`           | Plus Code for precise location                   |
| `isClosed`           | Temporarily or permanently closed status         |

### 🔗 Related Tools

#### 📧 Real LinkedIn Email Scraper

**Need B2B contact emails?** Our companion tool extracts verified email addresses from LinkedIn profiles using search engine discovery.

[**→ Try Real LinkedIn Email Scraper**](https://apify.com/theguide/linkedin-email-scraper)

*Combine both tools for a complete lead generation workflow: find local businesses with Google Maps, then discover decision-makers with LinkedIn!*

***

*Developed with ❤️ for lead generation experts and data scientists.*

# Actor input Schema

## `query` (type: `string`):

Single search query (e.g., 'restaurants in Paris'). Use 'queries' for multiple searches.

## `queries` (type: `array`):

List of search queries or direct Google Maps URLs. Each query can be a search term (e.g., 'dentists in Berlin') or a direct Google Maps place URL.

## `locationQuery` (type: `string`):

Optional location to append to all queries (e.g., 'Paris'). Will be combined as 'query in location'.

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

Maximum number of businesses to extract per search query.

## `extractEmails` (type: `boolean`):

Visit each business website to extract contact emails and social media profiles. Incurs CONTACT\_ENRICHMENT charge per enriched place.

## `maxReviews` (type: `integer`):

Maximum number of reviews to extract per place. Set to 0 to skip reviews.

## `extractImages` (type: `boolean`):

Extract business photo URLs from Google Maps.

## `extractAdditionalInfo` (type: `boolean`):

Extract service options, accessibility, offerings, dining options, payments, etc.

## `extractPopularTimes` (type: `boolean`):

Extract live occupancy data and peak hours histogram.

## `categories` (type: `array`):

Filter results by Google Maps categories. Only places matching at least one category will be included. Use lowercase (e.g., 'restaurant', 'cafe').

## `placeMinimumStars` (type: `string`):

Filter out places with rating below this value (e.g., '4.0' to only keep 4+ stars). Leave empty for no filter.

## `skipClosedPlaces` (type: `boolean`):

Skip temporarily or permanently closed businesses.

## `onlyPlacesWithWebsites` (type: `boolean`):

Skip places that don't have a website listed on Google Maps.

## `maximumLeadsEnrichmentRecords` (type: `integer`):

Maximum number of places to enrich with emails/social media. Set to 0 for unlimited.

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

Language code for Google Maps search results (e.g., 'en', 'fr', 'de', 'es').

## `facebooks` (type: `boolean`):

Include Facebook URLs in social media extraction.

## `instagrams` (type: `boolean`):

Include Instagram URLs in social media extraction.

## `youtubes` (type: `boolean`):

Include YouTube URLs in social media extraction.

## `tiktoks` (type: `boolean`):

Include TikTok URLs in social media extraction.

## `twitters` (type: `boolean`):

Include Twitter/X URLs in social media extraction.

## `proxySettings` (type: `object`):

Apify proxy settings. Recommended for avoiding CAPTCHAs.

## Actor input object example

```json
{
  "query": "restaurants in New York",
  "queries": [],
  "maxResults": 1,
  "categories": [],
  "language": "en",
  "facebooks": true,
  "instagrams": true,
  "youtubes": true,
  "tiktoks": true,
  "twitters": true,
  "proxySettings": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "query": "restaurants in New York",
    "queries": [],
    "locationQuery": "",
    "maxResults": 1,
    "extractEmails": false,
    "maxReviews": 0,
    "extractImages": false,
    "extractAdditionalInfo": false,
    "extractPopularTimes": false,
    "categories": [],
    "placeMinimumStars": "",
    "skipClosedPlaces": false,
    "onlyPlacesWithWebsites": false,
    "maximumLeadsEnrichmentRecords": 0,
    "language": "en",
    "facebooks": true,
    "instagrams": true,
    "youtubes": true,
    "tiktoks": true,
    "twitters": true,
    "proxySettings": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("theguide/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 = {
    "query": "restaurants in New York",
    "queries": [],
    "locationQuery": "",
    "maxResults": 1,
    "extractEmails": False,
    "maxReviews": 0,
    "extractImages": False,
    "extractAdditionalInfo": False,
    "extractPopularTimes": False,
    "categories": [],
    "placeMinimumStars": "",
    "skipClosedPlaces": False,
    "onlyPlacesWithWebsites": False,
    "maximumLeadsEnrichmentRecords": 0,
    "language": "en",
    "facebooks": True,
    "instagrams": True,
    "youtubes": True,
    "tiktoks": True,
    "twitters": True,
    "proxySettings": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("theguide/google-maps-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 '{
  "query": "restaurants in New York",
  "queries": [],
  "locationQuery": "",
  "maxResults": 1,
  "extractEmails": false,
  "maxReviews": 0,
  "extractImages": false,
  "extractAdditionalInfo": false,
  "extractPopularTimes": false,
  "categories": [],
  "placeMinimumStars": "",
  "skipClosedPlaces": false,
  "onlyPlacesWithWebsites": false,
  "maximumLeadsEnrichmentRecords": 0,
  "language": "en",
  "facebooks": true,
  "instagrams": true,
  "youtubes": true,
  "tiktoks": true,
  "twitters": true,
  "proxySettings": {
    "useApifyProxy": true
  }
}' |
apify call theguide/google-maps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,theguide/google-maps-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/h8Yzv6xSMbkqQGY2O/builds/q41l6ccK2B5GajmGQ/openapi.json
