# Google Maps Scraper — Places, Ratings, Reviews, Contact (`arpitgandhi1934/google-maps-scraper`) Actor

Scrape Google Maps places for any city + search terms: title, rating, reviews, category, phone, website, full address, coordinates, place ID. Coordinate-tiled for full coverage.

- **URL**: https://apify.com/arpitgandhi1934/google-maps-scraper.md
- **Developed by:** [Arpit Gandhi](https://apify.com/arpitgandhi1934) (community)
- **Categories:** Lead generation, SEO tools, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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 Scraper

**Bulk-extract business & place data from Google Maps for an entire city — thousands of results per run, not the ~120 Google shows you on screen.**

Point this actor at a city and a list of search terms (`restaurant`, `dentist`, `gym`, `plumber`…) and it returns a clean, structured record for every matching place: name, category, average rating, review count, phone, website, full address, exact coordinates, Google Place ID, a photo, and the top reviews for each place. It's fast, reliable, and built to run at scale — one run gives you one clean, structured dataset.

Unlike a normal Google Maps search, which caps out at roughly 120 results for any single area no matter how far you scroll, this actor covers the whole city. That means you can pull **thousands of unique places for a single city in one run**, then export them to Excel, JSON, or feed them straight into your CRM. Results are kept within the city's real boundary, so you don't get places bleeding in from neighbouring towns.

Built for growth teams, agencies, analysts, and founders who need real, current local-business data at volume.

---

### 🎯 Use cases

- **Lead generation** — Build targeted prospect lists of local businesses (restaurants, gyms, dentists, contractors…) complete with phone numbers, websites, and addresses, ready for sales outreach and cold calling.
- **Competitor & market mapping** — Pull every competitor in a category across a metro area, with ratings, review counts, and price tiers, to see who's winning and where the gaps are.
- **Local SEO & directories** — Populate niche directories, citation databases, or "best of" listicles with accurate name-address-phone data and Google Place IDs.
- **Multi-city market research** — Run the same search terms across many cities to size markets, compare density and quality, and benchmark saturation before you expand.
- **Sentiment sampling** — Grab the top reviews per place to get a fast read on what customers love and complain about across a whole category.

---

### 📦 What data you get

One structured record **per place**, grouped here for clarity:

**🏷️ Identity**
- `title` — business / place name
- `categoryName` — primary category (e.g. "Italian restaurant")
- `categories` — all categories, as an array
- `description` — short place description (when available)
- `placeId` — Google Place ID (`ChI…`)
- `fid` / `cid` — Google's stable internal place identifiers

**📞 Contact**
- `phone` — display-formatted phone number
- `phoneUnformatted` — clean E.164-style digits (e.g. `+14165550132`)
- `website` — the business's website URL

**📍 Location**
- `street`, `city`, `state`, `postalCode` — parsed address parts
- `address` — full formatted address
- `latitude`, `longitude` — exact coordinates
- `url` — direct Google Maps link to the place

**⭐ Ratings & reviews**
- `totalScore` — average star rating
- `reviewsCount` — total number of reviews on Google
- `price` — price level (e.g. `$$`) when available
- `reviews` — an array of the **top / most-relevant reviews** for the place (reviewer, rating, date, text)

**🖼️ Media**
- `imageUrl` — a representative photo of the place

**🧭 Run context**
- `searchTerm` — which of your search terms surfaced this place
- `location` — the city you searched
- `scrapedAt` — ISO timestamp of the run

---

### ⚙️ Input

| Field | Type | Default | Description |
|---|---|---|---|
| `location` | string | `"Toronto, Ontario"` | **Required.** The city to cover — e.g. `"Toronto, Ontario"`, `"Austin, TX"`. Resolved to the city automatically for full coverage. |
| `searchTerms` | array of strings | `["restaurant"]` | **Required.** What to look for — e.g. `["restaurant", "cafe", "gas station"]`. The actor runs one full pass per term. |
| `maxPlaces` | integer | *(empty = all)* | Cap the total number of unique places returned. Leave empty to get everything found in the city. |
| `proxyConfiguration` | proxy | `{ "useApifyProxy": true }` | Proxy settings. Apify Proxy is recommended and enabled by default for reliable access to Google. |

**Minimal example input:**

```json
{
  "location": "Toronto, Ontario",
  "searchTerms": ["restaurant", "cafe"],
  "maxPlaces": 1000,
  "proxyConfiguration": { "useApifyProxy": true }
}
````

***

### 📤 Output

Each result is one place object. Results stream into your dataset as they're found, so you can watch them arrive live and export at any point — as **JSON, CSV, Excel, or XML** — from the Apify Console or via the API.

```json
{
  "title": "Terroni Adelaide",
  "totalScore": 4.4,
  "reviewsCount": 3187,
  "categoryName": "Italian restaurant",
  "categories": ["Italian restaurant", "Pizza restaurant", "Wine bar"],
  "price": "$$",
  "phone": "(416) 203-3093",
  "phoneUnformatted": "+14162033093",
  "website": "https://www.terroni.com/",
  "street": "57 Adelaide St E",
  "city": "Toronto",
  "state": "ON",
  "postalCode": "M5C 1K6",
  "address": "57 Adelaide St E, Toronto, ON M5C 1K6, Canada",
  "latitude": 43.6497021,
  "longitude": -79.3766142,
  "fid": "0x89d4cb2f9a1b2c3d:0x4e5f6a7b8c9d0e1f",
  "cid": "5647382910564738291",
  "placeId": "ChIJN1t_tDeuEmsRUsoyG83frY4",
  "description": "Classic Southern Italian dishes served in a lively, high-ceilinged room.",
  "imageUrl": "https://lh3.googleusercontent.com/places/terroni-adelaide-photo.jpg",
  "url": "https://www.google.com/maps/search/?api=1&query=Terroni%20Adelaide&query_place_id=ChIJN1t_tDeuEmsRUsoyG83frY4",
  "searchTerm": "restaurant",
  "location": "Toronto, Ontario",
  "scrapedAt": "2026-07-08T14:22:07.913Z",
  "reviews": [
    {
      "reviewer": "Jordan M.",
      "rating": 5,
      "date": "2026-05-30",
      "text": "Best Southern Italian in the city. The spaghettini al limone is unreal and the room has amazing energy."
    },
    {
      "reviewer": "Priya S.",
      "rating": 4,
      "date": "2026-04-11",
      "text": "Great pizza and wine list. Gets loud and busy on weekends, so book ahead."
    }
  ]
}
```

**Field reference:**

| Field | Type | Description |
|---|---|---|
| `title` | string | Business / place name |
| `totalScore` | number | Average star rating |
| `reviewsCount` | integer | Total number of reviews on Google |
| `categoryName` | string | Primary category |
| `categories` | array | All categories assigned to the place |
| `price` | string | Price level (e.g. `$$`), when available |
| `phone` | string | Display-formatted phone number |
| `phoneUnformatted` | string | Phone number as clean digits (E.164 style) |
| `website` | string | Business website URL |
| `street` | string | Street portion of the address |
| `city` | string | City |
| `state` | string | State / province code |
| `postalCode` | string | Postal / ZIP code |
| `address` | string | Full formatted address |
| `latitude` | number | Latitude coordinate |
| `longitude` | number | Longitude coordinate |
| `fid` | string | Google internal feature ID |
| `cid` | string | Google customer ID (numeric) |
| `placeId` | string | Google Place ID (`ChI…`) |
| `description` | string | Short place description, when available |
| `imageUrl` | string | URL of a representative photo |
| `url` | string | Direct Google Maps link to the place |
| `searchTerm` | string | The search term that surfaced this place |
| `location` | string | The city that was searched |
| `scrapedAt` | string | ISO 8601 timestamp of the run |
| `reviews` | array | Top reviews for the place — each with `reviewer`, `rating`, `date`, `text` |

***

### 🔧 Why you get more than 120 results

A normal Google Maps search only ever hands back about 120 results for one location, no matter how many businesses are actually there. This actor covers the **entire city** and merges everything into one clean dataset — so a single run surfaces **thousands of unique places** instead of a capped handful.

Results are kept **inside the city's real boundary**, so you don't get places bleeding in from neighbouring cities like Mississauga or Vaughan, and every business appears **once** — cleanly de-duplicated — even if it would otherwise show up more than once.

***

### ❓ FAQ

**How many places can I get per city?**
Far more than a standard Google Maps search. Because the actor covers the whole city rather than a single on-screen view, one run routinely returns **thousands of unique places** for a busy category in a large city. Use `maxPlaces` if you want to cap the total.

**Does it get reviews?**
Yes — it attaches the **top / most-relevant reviews** for each place (typically around 8–9), each with the reviewer name, star rating, date, and text. This is the highlighted-review set, not a place's entire review history — if you need **every review** for specific places, use the companion **Google Maps Reviews Scraper**, which is purpose-built to pull a place's complete review history.

**Can I scrape multiple search terms and multiple cities?**
Multiple search terms, yes — pass several in `searchTerms` and the actor runs one full pass per term in a single run, tagging every result with the `searchTerm` that surfaced it. For multiple cities, run the actor once per city (each run takes one `location`); this keeps each city's results cleanly filtered to its own boundary. You can schedule or batch these runs on Apify, and since the output format is identical, results merge cleanly.

**What export formats are supported?**
All of Apify's standard formats — you can download or access your results as **JSON, CSV, Excel, or XML**, from the Apify Console or programmatically via the Apify API and dataset endpoints.

**Do I need a proxy?**
Apify Proxy is recommended and enabled by default for dependable access to Google. You can adjust it in the `proxyConfiguration` field.

# Actor input Schema

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

City to cover — e.g. "Toronto, Ontario", "Austin, TX". Resolved to the city automatically for full coverage.

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

What to find, e.g. \["restaurant", "cafe", "gas station"]. One pass per term.

## `maxPlaces` (type: `integer`):

Cap total unique places (leave empty for all).

## `proxyConfiguration` (type: `object`):

Apify Proxy (recommended for Google).

## Actor input object example

```json
{
  "location": "Toronto, Ontario",
  "searchTerms": [
    "restaurant"
  ],
  "proxyConfiguration": {
    "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 = {
    "location": "Toronto, Ontario",
    "searchTerms": [
        "restaurant"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("arpitgandhi1934/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 = {
    "location": "Toronto, Ontario",
    "searchTerms": ["restaurant"],
}

# Run the Actor and wait for it to finish
run = client.actor("arpitgandhi1934/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 '{
  "location": "Toronto, Ontario",
  "searchTerms": [
    "restaurant"
  ]
}' |
apify call arpitgandhi1934/google-maps-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Maps Scraper — Places, Ratings, Reviews, Contact",
        "description": "Scrape Google Maps places for any city + search terms: title, rating, reviews, category, phone, website, full address, coordinates, place ID. Coordinate-tiled for full coverage.",
        "version": "1.0",
        "x-build-id": "nljP5zZ3GFlKkmV8Q"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/arpitgandhi1934~google-maps-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-arpitgandhi1934-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/arpitgandhi1934~google-maps-scraper/runs": {
            "post": {
                "operationId": "runs-sync-arpitgandhi1934-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/arpitgandhi1934~google-maps-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-arpitgandhi1934-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",
                "required": [
                    "location",
                    "searchTerms"
                ],
                "properties": {
                    "location": {
                        "title": "📍 Location (city, state/province, or country)",
                        "type": "string",
                        "description": "City to cover — e.g. \"Toronto, Ontario\", \"Austin, TX\". Resolved to the city automatically for full coverage."
                    },
                    "searchTerms": {
                        "title": "🔍 Search term(s)",
                        "type": "array",
                        "description": "What to find, e.g. [\"restaurant\", \"cafe\", \"gas station\"]. One pass per term.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxPlaces": {
                        "title": "Max places",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Cap total unique places (leave empty for all)."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Apify Proxy (recommended for Google).",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
