# Google Reviews Scraper (`scrapie/google-reviews-scraper`) Actor

Scrapes Google Maps reviews for any location. Provide a Google Maps URL and a reviews limit to extract full review details — reviewer name, rating, date, text, photos, owner replies, and more. Built with Camoufox stealthy Firefox for robust, bot-resistant scraping.

- **URL**: https://apify.com/scrapie/google-reviews-scraper.md
- **Developed by:** [scrapie manchem](https://apify.com/scrapie) (community)
- **Categories:** Automation, Social media, SEO tools
- **Stats:** 4 total users, 3 monthly users, 71.4% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Reviews Scraper (Production-Ready)

Extract **high-quality Google Maps reviews** in a structured format — perfect for sentiment analysis, competitor research, or building local business dashboards.

---

### 🚀 Key Features

*   **⚡ High Performance**: Multi-threaded scraping with configurable concurrency.
*   **🕵️ Ultra-Stealth**: Powered by Camoufox (spoofed Firefox) and residential proxies to bypass detection.
*   **📍 Dual Input**: Provide direct Google Maps URLs or just search names (e.g., "Eiffel Tower").
*   **📊 Rich Metadata**: Extracts name, rating, text, photos, owner replies, and publication date.
*   **🔁 Advanced Sorting**: Sort by Newest, Highest, Lowest, or Relevant.
*   **🌐 Global Support**: Force specific languages to translate reviews on-the-fly.

---

### ⚙️ How to Use

1.  **Enter Locations**: Provide a list of Google Maps URLs or search queries.
2.  **Set Limits**: Choose how many reviews you need (`Max Reviews`).
3.  **Choose Sorting**: Select your preferred sort order (e.g., `Newest`).
4.  **Run & Export**: Get your data in CSV, JSON, or Excel via the Apify Dataset.

---

### 📊 Output Schema

Every review includes:

| Field | Description |
| :--- | :--- |
| `placeName` | Name of the business/location |
| `reviewerName` | Display name of the reviewer |
| `rating` | Star rating (1-5) |
| `reviewText` | Full content of the review |
| `publishedAt` | Relative date (e.g., "2 months ago") |
| `reviewPhotoUrls` | Array of full-resolution image links |
| `ownerResponse` | Official reply from the business (if any) |
| `placeUrl` | Original Google Maps link |

---

### 💡 Pro Tips

*   **Max Reviews**: Set to `0` to scrape every single review available for a location.
*   **Concurrency**: Keep between `3-5` for optimal stability on most proxies.
*   **Language**: Use ISO codes (e.g., `es` for Spanish) to get localized content.

---

### 📌 Summary

Stop manual copy-pasting. Turn raw Google Maps data into:
> **Insights → AI Models → Business Value**

Built for **Data Scientists, Marketers, and Business Analysts.**

# Actor input Schema

## `locationUrls` (type: `array`):

List of Google Maps place URLs to scrape.
## `locationNames` (type: `array`):

List of names to search for (e.g., 'Taj Mahal'). Each will resolve to a place and be scraped.
## `maxConcurrency` (type: `integer`):

How many browsers to run in parallel. Default is 5. Increase for speed, but note that higher values increase memory usage and proxy consumption.
## `maxReviews` (type: `integer`):

Maximum number of reviews to scrape. Set to 0 to scrape ALL available reviews (may take a long time for popular locations). Default is 100.
## `reviewsSort` (type: `string`):

How to sort the reviews before scraping. 'newest' gives the most recent reviews first.
## `language` (type: `string`):

Force the Google Maps interface to a specific language (ISO 639-1 code). This affects review text language display. Default: 'en' (English).
## `useProxy` (type: `boolean`):

Strongly recommended. Routes requests through Apify residential proxies to avoid blocks. Requires an Apify plan with proxy access.

## Actor input object example

```json
{
  "maxConcurrency": 5,
  "maxReviews": 100,
  "reviewsSort": "newest",
  "language": "en",
  "useProxy": 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapie/google-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("scrapie/google-reviews-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 '{}' |
apify call scrapie/google-reviews-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Reviews Scraper",
        "description": "Scrapes Google Maps reviews for any location. Provide a Google Maps URL and a reviews limit to extract full review details — reviewer name, rating, date, text, photos, owner replies, and more. Built with Camoufox stealthy Firefox for robust, bot-resistant scraping.",
        "version": "1.0",
        "x-build-id": "AQYCzWdydgPR5cIDc"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapie~google-reviews-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapie-google-reviews-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/scrapie~google-reviews-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapie-google-reviews-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/scrapie~google-reviews-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapie-google-reviews-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",
                "properties": {
                    "locationUrls": {
                        "title": "Google Maps Location URLs",
                        "type": "array",
                        "description": "List of Google Maps place URLs to scrape.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "locationNames": {
                        "title": "Location Names (Search Queries)",
                        "type": "array",
                        "description": "List of names to search for (e.g., 'Taj Mahal'). Each will resolve to a place and be scraped.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxConcurrency": {
                        "title": "Max Concurrent Runs",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "How many browsers to run in parallel. Default is 5. Increase for speed, but note that higher values increase memory usage and proxy consumption.",
                        "default": 5
                    },
                    "maxReviews": {
                        "title": "Max Reviews",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of reviews to scrape. Set to 0 to scrape ALL available reviews (may take a long time for popular locations). Default is 100.",
                        "default": 100
                    },
                    "reviewsSort": {
                        "title": "Sort Reviews By",
                        "enum": [
                            "newest",
                            "highest",
                            "lowest",
                            "relevant"
                        ],
                        "type": "string",
                        "description": "How to sort the reviews before scraping. 'newest' gives the most recent reviews first.",
                        "default": "newest"
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Force the Google Maps interface to a specific language (ISO 639-1 code). This affects review text language display. Default: 'en' (English).",
                        "default": "en"
                    },
                    "useProxy": {
                        "title": "Use Apify Proxy",
                        "type": "boolean",
                        "description": "Strongly recommended. Routes requests through Apify residential proxies to avoid blocks. Requires an Apify plan with proxy access.",
                        "default": 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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
