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

Scrape Google Maps in seconds. Extract businesses, reviews, images, contacts, emails, social media, opening hours, and more. The fastest Google Maps scraper on Apify with pay-per-event pricing.

- **URL**: https://apify.com/betterdevsscrape/google-maps-scraper.md
- **Developed by:** [Better Devs Scrape](https://apify.com/betterdevsscrape) (community)
- **Categories:** Automation, Lead generation, Developer tools
- **Stats:** 94 total users, 26 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.003 / place scraped

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 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 - The Fastest Google Maps Scraper on Apify

**Extract business details, reviews, photos, contact info, and social media from Google Maps — faster than any other scraper on the platform.**

🚀 **Dead simple:** Enter search terms + location, click Run, get data in seconds.

***

### ⚡ Why We're Faster

| Metric | This Scraper | Other Scrapers |
|--------|-------------|----------------|
| **Speed** | 50 places in ~4 seconds | 10+ minutes |
| **Memory** | 128 MB minimum | 4 GB+ required |
| **Reviews** | 95%+ success rate | Hit-or-miss |
| **Images** | 5-20 per place | Often 0 |
| **Review limit** | Up to 500 per place | Max 20 |
| **Cost** | ~$0.31 per 100 places | $0.50+ per 100 places |

***

### 🏆 Why Use This Google Maps Scraper?

| Feature | Description |
|---------|-------------|
| ⚡ **10x faster** | Results in seconds, not minutes |
| 📝 **Reliable reviews** | Automatic retry + pagination for up to 500 reviews per place |
| 🖼️ **Real images** | 5-20 high-res photos per place, not broken URLs |
| 📧 **Contact enrichment** | Emails scraped from business websites |
| 📱 **Social media** | 8+ platforms supported |
| 📍 **Parsed addresses** | Street, city, country, postal code |
| 💰 **Cheapest on Apify** | Pay-per-event pricing, 10-30% cheaper than alternatives |

***

### 📊 What Data Can You Extract?

| Category | Data Types |
|----------|------------|
| 🏢 **Business Info** | Name, categories, price level, permanently/temporarily closed status |
| 📍 **Location** | Full address, street, city, state, country code, postal code, coordinates, Plus Code |
| 📞 **Contact** | Phone number, website URL |
| ⭐ **Ratings** | Total score, review count |
| 🕐 **Hours** | Full weekly schedule, current open/closed status |
| 📝 **Reviews** | Review text, star rating, date, reviewer info, owner responses (paginated, up to 500) |
| 🖼️ **Photos** | High-res image URLs, 5-20 per place |
| ❓ **Q\&A** | Questions and answers from Google Maps |
| 🍽️ **Restaurant Data** | Menu URL, order URL, reservation URL, reservation provider (OpenTable, Resy, etc.) |
| 📧 **Contact Enrichment** | Emails, phones scraped from business websites |
| 📱 **Social Media** | Facebook, Instagram, YouTube, TikTok, Twitter, LinkedIn, Pinterest, Discord |

***

### 🆕 Key Features

#### ⚡ Blazing Fast

Results in seconds. 50 places in ~4 seconds for basic data. Even with reviews and images, 40 places finish in under 5 minutes.

#### 📝 Reliable Review Extraction

- **Automatic retry** — if the first attempt fails, tries again automatically
- **Pagination** — fetch 25, 50, or even 500 reviews per place. No 20-review limit
- **Review photos** — images from reviews are automatically included
- **95%+ success rate**

#### 🖼️ Real Image Extraction

- **5-20 high-res images** per place from the photo gallery
- **Smart fallbacks** — always tries to find at least one image
- **Review photos** merged automatically as bonus images
- **No duplicates**

#### 📧 Contact Enrichment

Don't just get the phone from Google Maps - **scrape the actual business website** to find:

- Email addresses (including Cloudflare-protected)
- Additional phone numbers
- Social media profiles (8+ platforms)

#### 📍 Parsed Address Components

Get addresses broken down into usable fields:

```json
{
  "address": "123 Main St, New York, NY 10001, USA",
  "street": "123 Main St",
  "city": "New York",
  "state": "NY",
  "countryCode": "US",
  "postalCode": "10001"
}
```

#### ⭐ Full Review Data with Pagination

Extract complete reviews with owner responses — no 20-review limit:

```json
{
  "text": "Amazing food and service!",
  "stars": 5,
  "publishedAtDate": "2 weeks ago",
  "responseFromOwnerText": "Thank you for visiting!"
}
```

#### 🎯 Smart Filtering

- **Skip closed places** - Don't waste budget on permanently/temporarily closed businesses
- **Minimum stars filter** - Only scrape places with 4+ stars
- **Website filter** - Only places with/without websites
- **Exact match** - Only places matching your search term exactly

***

### ⚙️ How to Scrape Google Maps

```
1️⃣ Enter search terms (e.g., "restaurants", "dentist", "hotels")
2️⃣ Enter location (e.g., "New York, NY" or "Paris, France")
3️⃣ Set how many places you want
4️⃣ Click "Start" and get clean, structured data in seconds
```

The scraper automatically:

- 🗺️ **Splits location into tiles** - Finds more results than Google's 120 limit
- 🔄 **Deduplicates results** - No duplicate places in your data
- 🍪 **Handles consent dialogs** - Works in EU and other regions
- 📍 **Parses addresses** - Extracts street, city, country components
- 🔁 **Retries on failure** - Automatic recovery for maximum data quality

***

### 📥 Input Options

```json
{
  "searchStringsArray": ["restaurants", "cafes"],
  "locationQuery": "Paris, France",
  "maxCrawledPlacesPerSearch": 100,
  "language": "en",
  "maxReviews": 10,
  "maxImages": 5,
  "scrapeContacts": true,
  "skipClosedPlaces": true,
  "placeMinimumStars": "4"
}
```

#### 📋 Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchStringsArray` | array | required | Search terms like "restaurants", "hotels" |
| `locationQuery` | string | - | Location to search (city, region, address) |
| `startUrls` | array | - | Direct Google Maps URLs to scrape |
| `placeIds` | array | - | Google Place IDs to scrape directly |
| `maxCrawledPlacesPerSearch` | number | 50 | Max places per search term (up to 500) |
| `language` | string | "en" | Language code for results |

#### ⭐ Review Options

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `maxReviews` | number | 0 | Reviews to extract per place (up to 500, paginated) |
| `reviewsSort` | string | "newest" | Sort: "newest", "relevant", "highest", "lowest" |
| `reviewsStartDate` | string | - | Only reviews after this date (YYYY-MM-DD or "7 days") |
| `reviewsFilterString` | string | - | Only reviews containing this text |
| `scrapeReviewsPersonalData` | boolean | false | Include reviewer names and URLs |

#### 🖼️ Image Options

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `maxImages` | number | 0 | Images to extract per place (up to 100) |
| `scrapeImageAuthors` | boolean | false | Include photographer info |

#### 📧 Contact Enrichment

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `scrapeContacts` | boolean | false | Extract emails/phones from websites |
| `maximumLeadsEnrichmentRecords` | number | 0 | Max places to enrich (0 = unlimited) |
| `scrapeSocialMediaProfiles` | object | all true | Which platforms to extract |

#### 🎯 Filtering Options

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `skipClosedPlaces` | boolean | false | Skip permanently/temporarily closed |
| `placeMinimumStars` | string | "" | Minimum rating (e.g., "4" for 4+ stars) |
| `website` | string | "allPlaces" | "allPlaces", "withWebsite", "withoutWebsite" |
| `searchMatching` | string | "all" | "all" or "exact" (title must contain search term) |

***

### 📤 Output Format

Each place is output as a structured JSON object:

```json
{
  "title": "Le Petit Cafe",
  "totalScore": 4.7,
  "reviewsCount": 342,
  "categoryName": "Coffee shop",
  "categories": ["Coffee shop", "Cafe"],
  "address": "15 Rue de Rivoli, Paris 75001, France",
  "street": "15 Rue de Rivoli",
  "city": "Paris",
  "state": null,
  "countryCode": "FR",
  "postalCode": "75001",
  "phone": "+33 1 42 60 82 00",
  "website": "https://lepetitcafe.fr",
  "menuUrl": "https://lepetitcafe.fr/menu",
  "reservationsUrl": "https://opentable.com/...",
  "tableReservationProvider": "OpenTable",
  "openingHours": [
    {"day": "Monday", "hours": "7 AM-7 PM"},
    {"day": "Tuesday", "hours": "7 AM-7 PM"}
  ],
  "location": {"lat": 48.8606, "lng": 2.3376},
  "placeId": "ChIJLU7jZClu5kcR...",
  "url": "https://www.google.com/maps/search/?api=1&query=...",
  "reviews": [
    {
      "text": "Best croissants in Paris!",
      "stars": 5,
      "publishedAtDate": "a week ago",
      "responseFromOwnerText": "Merci beaucoup!"
    }
  ],
  "images": [
    {"imageUrl": "https://lh5.googleusercontent.com/...=w1200"}
  ],
  "contactInfo": {
    "emails": ["contact@lepetitcafe.fr"],
    "phones": ["+33142608200"],
    "facebooks": ["https://facebook.com/lepetitcafe"],
    "instagrams": ["https://instagram.com/lepetitcafe"]
  }
}
```

***

### 💰 How Much Does It Cost?

This Actor uses **Pay-Per-Event** pricing. You only pay for data actually scraped. **10-30% cheaper than alternatives.**

| Event | Cost |
|-------|------|
| 🚀 Actor start | $0.005 |
| 🏢 Place scraped | $0.003 |
| 🔍 Filter applied (place skipped) | $0.001 |
| 📝 Additional details (reviews/images/Q\&A) | $0.002 |
| 📧 Contact enrichment | $0.002 |
| ⭐ Per review | $0.0004 |
| 🖼️ Per image | $0.0004 |

#### 💵 Cost Examples

| Task | Places | Reviews | Cost |
|------|--------|---------|------|
| 100 restaurants (basic info only) | 100 | 0 | ~**$0.31** |
| 100 restaurants + 5 reviews each | 100 | 500 | ~**$0.71** |
| 50 hotels + contact enrichment | 50 | 0 | ~**$0.26** |
| 500 businesses + reviews + contacts | 500 | 2,500 | ~**$4.51** |

***

### 🎯 Use Cases

#### 📈 Lead Generation

Scrape businesses in any industry to build targeted lead lists with emails, phones, and social media.

#### 💼 Sales Prospecting

Find decision-makers at businesses with verified contact information from their websites.

#### 🔍 Market Research

Analyze competitors, discover market trends, and understand customer sentiment through reviews.

#### 🏢 Local SEO

Monitor local business listings, track ratings, and analyze competitor positioning.

#### 📊 Data Enrichment

Enhance your existing business database with Google Maps data and contact info.

***

### 💡 Tips for Best Results

#### 🧪 Start Small

Test with `maxCrawledPlacesPerSearch: 10` before scaling up.

#### 🎯 Use Specific Searches

"Italian restaurant" finds better results than just "restaurant".

#### 📍 Be Specific with Location

"Manhattan, New York" is better than just "New York".

#### ⭐ Filter for Quality

Use `placeMinimumStars: "4"` to only get well-reviewed places.

#### 📧 Limit Contact Enrichment

Set `maximumLeadsEnrichmentRecords: 100` to control costs.

#### 📝 Get More Reviews

Set `maxReviews: 50` or higher — pagination handles it automatically.

***

### ❓ FAQ

#### How is this different from other Google Maps scrapers?

We're the **fastest scraper on Apify**. We extract more data (contact enrichment, parsed addresses, paginated reviews up to 500) at a lower price. Plus we handle consent dialogs and location tiling automatically.

#### How fast is it really?

**50 places with basic info in ~4 seconds.** With 10 reviews + 5 images each, 40 places complete in ~4.5 minutes.

#### Can I scrape thousands of places?

Yes! The scraper is designed for scale. We split large areas into tiles to bypass Google's 120 result limit. Run 500 places per search term without issues.

#### How reliable are reviews?

**95%+ success rate.** Automatic retry and pagination ensure you get the reviews you asked for.

#### Can I get more than 20 reviews per place?

Yes! Set `maxReviews` up to 500. Reviews are automatically paginated.

#### Why are some places missing data?

Not all businesses have reviews, images, or websites. The scraper returns what's available on Google Maps.

#### Does contact enrichment always find emails?

No - it depends on whether the business website has publicly visible contact info. You only pay when data is found.

#### Can I scrape in different languages?

Yes! Set the `language` parameter to any supported language code (en, fr, de, es, etc.).

***

### 🔌 Integrations

#### 📦 Export Options

- **JSON** - Full structured data
- **CSV** - Spreadsheet-ready format
- **Excel** - Direct download

#### 🔗 API Access

**cURL:**

```bash
curl -X POST "https://api.apify.com/v2/acts/betterdevsscrape~google-maps-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "searchStringsArray": ["restaurants"],
    "locationQuery": "New York, USA",
    "maxCrawledPlacesPerSearch": 10,
    "maxReviews": 5,
    "maxImages": 3,
    "scrapeContacts": true
  }'
```

**Python:**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("betterdevsscrape/google-maps-scraper").call(run_input={
    "searchStringsArray": ["restaurants"],
    "locationQuery": "New York, USA",
    "maxCrawledPlacesPerSearch": 10,
    "maxReviews": 5,
    "maxImages": 3,
    "scrapeContacts": True,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["title"], item.get("contactInfo", {}).get("emails", []))
```

**Node.js:**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('betterdevsscrape/google-maps-scraper').call({
    searchStringsArray: ['restaurants'],
    locationQuery: 'New York, USA',
    maxCrawledPlacesPerSearch: 10,
    maxReviews: 5,
    maxImages: 3,
    scrapeContacts: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => console.log(item.title, item.contactInfo?.emails));
```

#### 🪝 Webhooks

Get notified when scraping completes.

#### 🔄 Integrations

Connect via Zapier, Make, or any REST API platform.

***

### 🔗 Related Tools

#### [Website Contact Extractor](https://apify.com/betterdevsscrape/contact-details-extractor)

Need even deeper contact extraction? Our **Website Contact Extractor** scrapes emails, phone numbers, and **25+ social media profiles** directly from any website — at just **$0.001 per page**.

**Perfect combo:** Use Google Maps Scraper to find businesses, then feed their websites into the Contact Extractor for comprehensive contact data including LinkedIn, Twitter, Telegram, WhatsApp, and more.

***

### 💬 Support

- 🐛 **Issues?** Contact us through Apify
- 💡 **Feature requests?** We'd love to hear from you
- ❓ **Questions?** Reach out via Apify

***

**The fastest Google Maps scraper on Apify** | [View Changelog](./CHANGELOG.md)

# Actor input Schema

## `searchStringsArray` (type: `array`):

Search terms like 'restaurant', 'hotel', 'dentist'

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

Location like 'New York, USA' or 'London, UK'

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

Country code (us, gb, de, etc.)

## `city` (type: `string`):

City name

## `state` (type: `string`):

State or province

## `postalCode` (type: `string`):

Postal/ZIP code

## `customGeolocation` (type: `object`):

GeoJSON Polygon, MultiPolygon, or Point with radiusKm

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

Direct Google Maps URLs to scrape

## `placeIds` (type: `array`):

Direct Google Place IDs

## `maxCrawledPlacesPerSearch` (type: `integer`):

Maximum places to extract per search term

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

Output language code

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

Number of reviews to extract (0 = none)

## `reviewsSort` (type: `string`):

Sort order for reviews (newest, mostRelevant, highestRanking, lowestRanking)

## `reviewsStartDate` (type: `string`):

Only scrape reviews after this date (YYYY-MM-DD or '7 days')

## `reviewsFilterString` (type: `string`):

Only include reviews containing this text

## `reviewsOrigin` (type: `string`):

Filter reviews by origin

## `maxImages` (type: `integer`):

Number of images to extract (0 = none)

## `scrapeImageAuthors` (type: `boolean`):

Include image author information

## `scrapeReviewsPersonalData` (type: `boolean`):

Include reviewer name, ID, photo URL

## `scrapeContacts` (type: `boolean`):

Scrape emails and social profiles from business website

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

Maximum number of places to enrich with contact details (0 = all)

## `scrapeSocialMediaProfiles` (type: `object`):

Which social media profiles to extract: facebooks, instagrams, youtubes, tiktoks, twitters

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

Skip permanently or temporarily closed places

## `searchMatching` (type: `string`):

How strictly to match search terms

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

Only include places with at least this rating (e.g., '4' for 4+ stars)

## `website` (type: `string`):

Filter places by website availability

## `scrapePlaceDetailPage` (type: `boolean`):

Whether to visit each place's detail page for full data

## `scrapeTableReservationProvider` (type: `boolean`):

Extract table reservation provider info

## `maxQuestions` (type: `integer`):

Number of Q\&A entries to extract (0 = none)

## `maxConcurrency` (type: `integer`):

Maximum number of parallel requests. Higher values are faster but may trigger rate limits. (1-10)

## `proxyConfig` (type: `object`):

Proxy settings

## Actor input object example

```json
{
  "searchStringsArray": [
    "restaurant"
  ],
  "locationQuery": "New York, USA",
  "maxCrawledPlacesPerSearch": 50,
  "language": "en",
  "maxReviews": 0,
  "reviewsSort": "newest",
  "reviewsOrigin": "all",
  "maxImages": 0,
  "scrapeImageAuthors": false,
  "scrapeReviewsPersonalData": false,
  "scrapeContacts": false,
  "maximumLeadsEnrichmentRecords": 0,
  "scrapeSocialMediaProfiles": {
    "facebooks": true,
    "instagrams": true,
    "youtubes": true,
    "tiktoks": true,
    "twitters": true
  },
  "skipClosedPlaces": false,
  "searchMatching": "all",
  "website": "allPlaces",
  "scrapePlaceDetailPage": true,
  "scrapeTableReservationProvider": false,
  "maxQuestions": 0,
  "maxConcurrency": 5,
  "proxyConfig": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Key business details at a glance - name, rating, category, address, phone, website

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

Complete place data including hours, coordinates, categories, and all scraped fields

## `reviews` (type: `string`):

Customer reviews with ratings, text, dates, and owner responses

## `contacts` (type: `string`):

Extracted contact information - emails, phones, social media from business websites

# 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 = {
    "searchStringsArray": [
        "restaurant"
    ],
    "locationQuery": "New York, USA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("betterdevsscrape/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 = {
    "searchStringsArray": ["restaurant"],
    "locationQuery": "New York, USA",
}

# Run the Actor and wait for it to finish
run = client.actor("betterdevsscrape/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 '{
  "searchStringsArray": [
    "restaurant"
  ],
  "locationQuery": "New York, USA"
}' |
apify call betterdevsscrape/google-maps-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/3wKICe5YCniIzHfzk/builds/s3Mb4hD9wId0fPnHa/openapi.json
