# Google Maps Reviews Scraper (`curious_coder/google-maps-reviews-scraper`) Actor

Scrape reviews from google maps business. Get review text, author details, date, likes, photos, etc

- **URL**: https://apify.com/curious_coder/google-maps-reviews-scraper.md
- **Developed by:** [Curious Coder](https://apify.com/curious_coder) (community)
- **Categories:** Real estate, Automation, Other
- **Features:** Limited permissions
- **Stats:** 34 total users, 3 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 1,000 reviews

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

An Apify actor for extracting Google Maps reviews, at scale, with rich output including author information, review texts, ratings, review dates, images, and more.

This actor lets you automate the process of scraping Google Maps reviews for any business, location, or search query. It supports flexible input (query, place ID, or direct URL), robust error handling, and proxy support for reliable large-scale crawling.

***

### Features

- 🔍 **Flexible place search:** Query by business name, map URL, or place IDs
- 📋 **Extract detailed reviews:** Get review texts, authors, dates, ratings, images, and reviewer profiles
- 🏢 **Complete place information:** Collect address, contact info, website, rating, and review count
- 🍀 **Automatic pagination:** Gather hundreds or thousands of reviews per place
- 🚦 **Advanced filtering:** Sort reviews by date or rating, limit review count
- 🌐 **Proxy and rate limit handling:** Reliable scraping through proxies, realistic headers, and retries

***

### Sample Input

**INPUT.json**

```json
{
  "limitPerSource": 3,
  "sortOrder": "NEWEST",
  "searchQuery": "PVR",
  "urls": [
    "https://www.google.com/maps/place/Nexus+Mall+Koramangala/@12.934692,77.3227301,11z/data=!4m10!1m2!2m1!1small!3m6!1s0x3bae144d859731bb:0x7be523c4ee2a1b09!8m2!3d12.934692!4d77.6111212!15sCgRtYWxsWgYiBG1hbGySAQ9zaG9wcGluZ19jZW50ZXLgAQA!16zL20vMGZ4dGM1?entry=ttu&g_ep=EgoyMDI1MTAyNi4wIKXMDSoASAFQAw%3D%3D"
  ]
}
```

**How it works:**

- Each item in `"urls"` should be url copied from address bar of a place or business in google maps
- Reviews for each place are extracted up to `limitPerSource` limit.
- Reviews are sorted by `sortBy` (can be "newest", "highestRating", etc.)
- You can also include search term to filter reviews matching this search term

***

### Sample Output

Each output (per review) will look like:

```json
{
  "review_id": "Ci9DQUlRQUNvZEN...",
  "time": {
    "published": 1761833121285892,
    "last_edited": 1761833121285892
  },
  "author": {
    "name": "Rohit Roy",
    "profile_url": "https://lh3.googleusercontent.com/a/...",
    "url": "https://www.google.com/maps/contrib/115714344383841533464?hl=en",
    "id": "115714344383841533464",
    "total_reviews": 5,
    "total_photos": 32,
    "contributor_info": "Local Guide · 5 reviews"
  },
  "review": {
    "rating": 5,
    "text": "Nexus Mall Koramangala (formerly known as Forum Mall) continues to be one of Bengaluru’s...",
    "language": "en"
  },
  "images": [
    {
      "id": "CIABIhDSeCjb19tG-SsipYC_GZuC",
      "url": "https://lh3.googleusercontent.com/grass-cs/ACke6TigCSE-Br7xjuaJfZLcNQ2r7pZsbWenTc4ws45hRUSR_EiK_YlCTsKMDu6xvm8c5LtR4KIn2odKxlGU7bTHw8PXFfnuQ7rJKocb8ArN3psPSvDiyfxA6PbDmhHnz54U9i2j-0jMeD36SMWI=k-no",
      "size": { "width": 4032, "height": 3024 },
      "location": {
        "friendly": "Nexus Mall Koramangala",
        "lat": 12.93469196421929,
        "long": 77.61112119202377
      },
      "caption": "Inside "
    }
    // ... More images
  ],
  "source": "Google",
  "inputUrl": "https://www.google.com/maps/place/Nexus+Mall+Koramangala/",
  "page": 1
}
```

*Each dataset record includes review info, author details, all review images (with geolocation), and full context for reproducibility.*

***

### Legal & Ethical Use

This actor is intended for research and legitimate business intelligence.\
**Always comply with:**

- Google’s Terms of Service
- Local laws and data privacy regulations

# Actor input Schema

## `urls` (type: `array`):

No description

## `sortOrder` (type: `string`):

The sort order of the reviews.

## `searchQuery` (type: `string`):

The search query to use for the reviews.

## `limitPerSource` (type: `integer`):

How many reviews to scrape per source. This is the maximum number of reviews to scrape per source.

## Actor input object example

```json
{
  "urls": [
    "https://www.google.com/maps/place/The+View+from+The+Shard/@51.4878685,-0.1527633,12z/data=!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x48760350b353b80d:0x785d094a4e2363fb!8m2!3d51.5044028!4d-0.0865331!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgELc2NlbmljX3Nwb3TgAQA!16s%2Fm%2F010hs318?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D",
    "https://www.google.com/maps/place/Horniman+Museum+and+Gardens/@51.4878685,-0.1527633,12z/data=!3m1!5s0x487603eceadd3f79:0x744fe56e0e9dbce2!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x487603dac9203c4b:0x125c068455d7d99d!8m2!3d51.4419283!4d-0.0619967!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgEGbXVzZXVt4AEA!16zL20vMDM4MjVm?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D"
  ],
  "sortOrder": "RELEVANT",
  "searchQuery": "",
  "limitPerSource": 100
}
```

# 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 = {
    "urls": [
        "https://www.google.com/maps/place/The+View+from+The+Shard/@51.4878685,-0.1527633,12z/data=!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x48760350b353b80d:0x785d094a4e2363fb!8m2!3d51.5044028!4d-0.0865331!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgELc2NlbmljX3Nwb3TgAQA!16s%2Fm%2F010hs318?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D",
        "https://www.google.com/maps/place/Horniman+Museum+and+Gardens/@51.4878685,-0.1527633,12z/data=!3m1!5s0x487603eceadd3f79:0x744fe56e0e9dbce2!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x487603dac9203c4b:0x125c068455d7d99d!8m2!3d51.4419283!4d-0.0619967!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgEGbXVzZXVt4AEA!16zL20vMDM4MjVm?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D"
    ],
    "limitPerSource": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("curious_coder/google-maps-reviews-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 = {
    "urls": [
        "https://www.google.com/maps/place/The+View+from+The+Shard/@51.4878685,-0.1527633,12z/data=!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x48760350b353b80d:0x785d094a4e2363fb!8m2!3d51.5044028!4d-0.0865331!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgELc2NlbmljX3Nwb3TgAQA!16s%2Fm%2F010hs318?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D",
        "https://www.google.com/maps/place/Horniman+Museum+and+Gardens/@51.4878685,-0.1527633,12z/data=!3m1!5s0x487603eceadd3f79:0x744fe56e0e9dbce2!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x487603dac9203c4b:0x125c068455d7d99d!8m2!3d51.4419283!4d-0.0619967!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgEGbXVzZXVt4AEA!16zL20vMDM4MjVm?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D",
    ],
    "limitPerSource": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("curious_coder/google-maps-reviews-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 '{
  "urls": [
    "https://www.google.com/maps/place/The+View+from+The+Shard/@51.4878685,-0.1527633,12z/data=!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x48760350b353b80d:0x785d094a4e2363fb!8m2!3d51.5044028!4d-0.0865331!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgELc2NlbmljX3Nwb3TgAQA!16s%2Fm%2F010hs318?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D",
    "https://www.google.com/maps/place/Horniman+Museum+and+Gardens/@51.4878685,-0.1527633,12z/data=!3m1!5s0x487603eceadd3f79:0x744fe56e0e9dbce2!4m10!1m2!2m1!1sThings+to+do!3m6!1s0x487603dac9203c4b:0x125c068455d7d99d!8m2!3d51.4419283!4d-0.0619967!15sCgxUaGluZ3MgdG8gZG9aDiIMdGhpbmdzIHRvIGRvkgEGbXVzZXVt4AEA!16zL20vMDM4MjVm?entry=ttu&g_ep=EgoyMDI2MDEyMC4wIKXMDSoASAFQAw%3D%3D"
  ],
  "limitPerSource": 100
}' |
apify call curious_coder/google-maps-reviews-scraper --silent --output-dataset

```

## MCP server setup

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