# Google Maps Scraper - Extract Places, Reviews & Contact Data (`devil_port369-owner/google-maps-scraper`) Actor

Scrape Google Maps data without code or API keys. Extract business names, addresses, phone numbers, websites, reviews, ratings, and social links. Search by keywords, locations, or Place URLs for fast B2B lead generation.

- **URL**: https://apify.com/devil\_port369-owner/google-maps-scraper.md
- **Developed by:** [DataFusionX](https://apify.com/devil_port369-owner) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.002 / actor start

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

**Scrape Google Maps places and reviews** for lead generation, local SEO, and market research.

Extract business name, address, phone, website, rating, review count, categories, opening hours, and GPS coordinates. Optionally pull **reviews** (charged separately) and **contact enrichment** (emails + social profiles).

Compatible field names with popular Google Maps Actors so existing Make / Zapier / n8n workflows keep working.

***

### 🚀 Features

- Search by **keyword + location**
- Input **Google Maps URLs** and **Place IDs**
- Flat place records (Compass-style fields: `title`, `placeId`, `totalScore`, `reviewsCount`, …)
- Optional **reviews** (one row per review, extra PPE event)
- Optional **email & social enrichment**
- Country / language targeting (`gl`, `hl`)
- Optional map center `ll` (`@lat,lng,zoomz`)
- Dataset views: **Places**, **Reviews**, **All**
- No Google Places API key required

***

### 💰 Pricing (pay-per-event)

| Event | When |
|-------|------|
| `place-scraped` | Each business place saved |
| `review-scraped` | Each review saved (only if **Include reviews** is on) |

Reviews are **not** charged unless you enable them. Set prices in Actor → Monetization.

***

### 📥 Input

| Field | Type | Description |
|-------|------|-------------|
| `searchStrings` | Array | Keywords (e.g. `coffee shop`, `dentist`) |
| `locationQuery` | String | Location text (e.g. `Austin, TX`) |
| `placeUrls` | Array | Google Maps place or search URLs |
| `placeIds` | Array | Place IDs (`ChIJ...`) |
| `maxPlaces` | Integer | Max places (`0` = unlimited) |
| `maxPagesPerSearch` | Integer | Pages per search (~20 places/page) |
| `hl` / `gl` | String | Language / country |
| `ll` | String | Optional `@lat,lng,zoomz` |
| `includeReviews` | Boolean | Scrape reviews (extra charge) |
| `maxReviewsPerPlace` | Integer | Cap reviews per place |
| `includeContactEnrichment` | Boolean | Emails + social links from text |

#### Example – places only

```json
{
  "searchStrings": ["coffee shop"],
  "locationQuery": "Austin, TX",
  "maxPlaces": 50,
  "gl": "us",
  "includeReviews": false,
  "includeContactEnrichment": true
}
```

#### Example – places + reviews

```json
{
  "searchStrings": ["dentist"],
  "locationQuery": "Kathmandu, Nepal",
  "gl": "np",
  "maxPlaces": 30,
  "includeReviews": true,
  "maxReviewsPerPlace": 20
}
```

#### Example – Place URLs / IDs

```json
{
  "placeUrls": [
    "https://www.google.com/maps/place/..."
  ],
  "placeIds": ["ChIJ..."],
  "includeContactEnrichment": true
}
```

***

### 📤 Output

All rows are **flat**. Discriminator field: `type`.

#### Place (`type: "place"`)

```json
{
  "type": "place",
  "title": "Joe's Pizza",
  "placeId": "ChIJ...",
  "address": "7 Carmine St, New York, NY 10014",
  "phone": "(212) 366-1182",
  "phoneUnformatted": "+12123661182",
  "website": "https://www.joespizzanyc.com/",
  "totalScore": 4.4,
  "reviewsCount": 12847,
  "categoryName": "Pizza restaurant",
  "categories": ["Pizza restaurant", "Italian restaurant"],
  "location": { "lat": 40.7306, "lng": -73.9969 },
  "openingHours": [
    { "day": "Monday", "hours": "10 AM–4 AM" }
  ],
  "url": "https://www.google.com/maps/place/?q=place_id:ChIJ...",
  "searchString": "pizza New York",
  "email": "info@example.com",
  "emails": ["info@example.com"],
  "instagrams": ["https://www.instagram.com/..."],
  "facebooks": [],
  "scrapedAt": "2026-08-24T12:00:00+00:00"
}
```

#### Review (`type: "review"`) — only if enabled

```json
{
  "type": "review",
  "placeId": "ChIJ...",
  "placeTitle": "Joe's Pizza",
  "stars": 5,
  "text": "Best pizza in the city...",
  "publishAt": "2 weeks ago",
  "name": "Alex",
  "responseFromOwnerText": "",
  "scrapedAt": "2026-08-24T12:00:00+00:00"
}
```

***

### 🔍 Use cases

- Local lead generation (phone, website, email)
- Competitor & market density analysis
- Reputation monitoring (reviews)
- Local SEO audits
- CRM / outreach list building

***

### ❓ FAQ

**Do I need a Google API key?**\
No.

**Why are reviews extra?**\
Each review is a separate scrape and is billed via the `review-scraped` event only when **Include reviews** is enabled.

**How do I get only businesses?**\
Leave `includeReviews` off (default). Dataset view **Places** shows business rows only.

**Are field names compatible with other Maps scrapers?**\
Yes. Core fields match common conventions: `title`, `placeId`, `totalScore`, `reviewsCount`, `phone`, `website`, `openingHours`, social arrays.

**Country vs city?**\
Use `gl` for country. Use `locationQuery` (and optional `ll`) for city/area.

***

### 🏷️ Keywords

google maps scraper • google maps lead generation • scrape google maps • google maps reviews scraper • google maps email scraper • business leads from google maps • place id scraper • local seo scraper

***

### 📄 Notes

- Public Maps data only
- Respect Google Terms of Service and local laws
- Deep pagination is limited by Google (~120 results per search area)

````

# Actor input Schema

## `searchStrings` (type: `array`):

Keywords to search on Google Maps (e.g. restaurant, dentist). Alias of Compass searchStringsArray.
## `locationQuery` (type: `string`):

Free-text location (e.g. "Kathmandu, Nepal" or "Austin, TX"). Combined with search terms.
## `placeUrls` (type: `array`):

Direct Google Maps place or search URLs.
## `placeIds` (type: `array`):

Google Place IDs (ChIJ...).
## `maxPlaces` (type: `integer`):

Maximum places to scrape. 0 = unlimited (until pages end).
## `maxPagesPerSearch` (type: `integer`):

Maps returns ~20 places per page. start=0,20,40… Typical max ~6 pages (~120).
## `hl` (type: `string`):

UI language code.
## `gl` (type: `string`):

Country code for geo perspective.
## `ll` (type: `string`):

Optional @lat,lng,zoomz e.g. @40.7128,-74.0060,13z
## `includeReviews` (type: `boolean`):

Scrape reviews for each place. Charged separately per review (review-scraped event).
## `maxReviewsPerPlace` (type: `integer`):

Only used when Include reviews is on. 0 = API default page.
## `includeContactEnrichment` (type: `boolean`):

Extract emails and social links from website / description text.

## Actor input object example

```json
{
  "searchStrings": [
    "coffee shop"
  ],
  "locationQuery": "New York, USA",
  "maxPlaces": 50,
  "maxPagesPerSearch": 5,
  "hl": "en",
  "gl": "us",
  "includeReviews": false,
  "maxReviewsPerPlace": 15,
  "includeContactEnrichment": true
}
````

# Actor output Schema

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

No description

## `reviews` (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 = {
    "searchStrings": [
        "coffee shop"
    ],
    "locationQuery": "New York, USA"
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devil_port369-owner/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/CMrlSqzRX0JNiLkdW/builds/ckBvIsxXQzRO0TR2L/openapi.json
