# Google Reviews Scraper – Extract Business Reviews at Scale (`ninhothedev/google-reviews-scraper`) Actor

$2/1K 🔥 #1 Google Reviews scraper for any business! Ratings, review text, author, date, owner replies & photos from Google Maps. JSON, CSV, Excel or API in seconds. Paste a place URL & pull thousands of reviews for reputation & local SEO ⚡

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

## Pricing

from $2.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/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 Reviews Scraper

Extract structured review data from **Google Maps** – the world's largest business review platform with over a billion reviews. Collect reviews, ratings, business metadata, photos, owner replies, and Local Guide badges for any business on Google Maps.

> **Reliable & complete.** Uses a stealth headless browser with network response interception (fastest path) and DOM fallback. Expands truncated review texts automatically and collects all review photos.

***

### What you get

#### Per review – up to 24 fields:

| Field | Type | Description |
|-------|------|-------------|
| `source` | String | `"google"` |
| `business_name` | String | Business name on Google Maps |
| `business_external_id` | String | Google place\_id (e.g. `"ChIJN1t_tDeuEmsR..."`) |
| `business_url` | String | Google Maps URL |
| `business_overall_rating` | Number | Overall star rating (e.g. `4.5`) |
| `business_total_reviews` | Number | Total review count |
| `review_id` | String | Unique review identifier |
| `review_url` | String | Direct link to review |
| `rating` | Number | Star rating 1–5 |
| `title` | String | Review title (if any) |
| `text` | String | Full review text (auto-expanded) |
| `language` | String | Detected language code |
| `date_published` | String | ISO 8601 publish date |
| `reviewer_name` | String | Reviewer display name |
| `reviewer_profile_url` | String | Google profile URL |
| `reviewer_review_count` | Number | Total reviews by this reviewer |
| `reviewer_photo_count` | Number | Total photos by this reviewer |
| `reviewer_is_local_guide` | Boolean | Whether reviewer is a Local Guide |
| `helpful_count` | Number | "Helpful" votes (likes) |
| `is_verified` | Boolean | Verified visit badge |
| `owner_reply` | String | Business owner reply text |
| `owner_reply_date` | String | ISO 8601 date of owner reply |
| `photos` | Array | Full-resolution review photo URLs |

#### Per business – key metadata fields:

`name`, `place_id`, `url`, `website`, `category`, `address`, `phone`, `latitude`, `longitude`, `overall_rating`, `total_reviews`, `price_level`, `opening_hours`, star distribution (`one_star` … `five_stars`)

***

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `queries` | Array | *(required)* | List of Google Maps URLs, place IDs (`ChIJ…`), or free-text search queries |
| `maxReviews` | Integer | `100` | Maximum reviews per business |
| `sortBy` | String | `"newest"` | Sort order: `"most_relevant"`, `"newest"`, `"highest_rating"`, `"lowest_rating"` |
| `language` | String | `"de"` | Interface language for review retrieval |
| `proxyConfiguration` | Object | *(none)* | Apify proxy configuration (recommended for large runs) |

***

### Example input

```json
{
  "queries": [
    "https://maps.google.com/?cid=12345678",
    "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "Hofbräuhaus München"
  ],
  "maxReviews": 200,
  "sortBy": "newest",
  "language": "de"
}
```

### Example output

```json
{
  "source": "google",
  "business_name": "Hofbräuhaus München",
  "business_external_id": "ChIJR3_ODe1znUcRLMgHyR2QBKQ",
  "business_overall_rating": 4.3,
  "business_total_reviews": 42180,
  "review_id": "ChdDSUhNMG9nS0VJQ0FnSUR...",
  "rating": 5,
  "text": "Klassisches Münchner Erlebnis! Das Bier ist frisch vom Fass und die Weißwurst-Frühstück Tradition muss man mitgemacht haben.",
  "language": "de",
  "date_published": "2024-11-20T00:00:00",
  "reviewer_name": "Stefan K.",
  "reviewer_review_count": 47,
  "reviewer_is_local_guide": true,
  "helpful_count": 12,
  "owner_reply": "Vielen Dank für Ihre positive Bewertung!",
  "photos": ["https://lh5.googleusercontent.com/p/..."]
}
```

***

### Use cases

- **Reputation management** – Monitor what customers say about your business in real time
- **Competitor benchmarking** – Compare ratings and review sentiment vs. competitors
- **Location intelligence** – Analyze reviews across multiple branches or franchise locations
- **Travel & hospitality** – Collect data for hotels, restaurants, attractions at scale
- **Sentiment analysis / NLP** – Build multilingual review datasets for AI/ML projects
- **Market research** – Understand customer pain points and strengths in any sector

***

### Technical notes

- Uses Playwright stealth browser (playwright-stealth) with randomized viewport, locale (`de-DE`), and timezone (`Europe/Berlin`)
- Primary path: intercepts Google's internal network responses for review data (fastest, most complete)
- Fallback: DOM scraping with multiple CSS selector fallbacks (Google changes class names frequently)
- Automatically clicks "More" to expand truncated review texts
- Extracts all review photos in full resolution
- Retries with a fresh browser context on CAPTCHA detection

***

*Built for reliability across Google Maps' frequent UI and API changes.*

# Actor input Schema

## `queries` (type: `array`):

List of businesses to scrape. Each entry can be: (1) a Google Maps URL, (2) a Google place\_id starting with 'ChIJ...', or (3) a search query like 'Starbucks Berlin Mitte'. Mix all types freely.

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

Maximum number of reviews to collect per business. Google typically shows 20–25 reviews per scroll load. Higher limits require more scrolling time.

## `sortBy` (type: `string`):

Sort order for reviews. 'newest' returns most recent reviews first – recommended for monitoring.

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

Language for the Google Maps interface. Affects how dates are displayed. Use 'de' for German, 'en' for English.

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

Apify proxy for IP rotation. Strongly recommended for scraping more than 5 businesses or 100+ reviews total.

## Actor input object example

```json
{
  "queries": [
    "https://www.google.com/maps/place/Brandenburger+Tor/@52.5162746,13.3777041,17z/data=!3m1!4b1!4m6!3m5!1s0x47a851c655f20989:0x26bbfb4e84674c63!8m2!3d52.5162746!4d13.3777041!16zL20vMDE0a2Y4",
    "ChIJN1t_tDeuEmsRUsoyG83frY4",
    "McDonald's Hamburg Hauptbahnhof",
    "Zalando Berlin headquarters"
  ],
  "maxReviews": 50,
  "sortBy": "newest",
  "language": "de"
}
```

# 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 = {
    "queries": [
        "https://www.google.com/maps/place/K%C3%B6lner+Dom/@50.9412784,6.9582814,17z/data=!3m1!4b1!4m6!3m5!1s0x47bf25a5369c3d2f:0x29ec913896e3a9c6!8m2!3d50.9412784!4d6.9582814!16zL20vMGE0bmw",
        "https://www.google.com/maps/place/Hofbr%C3%A4uhaus+M%C3%BCnchen/@48.1376373,11.5797494,17z/data=!3m1!4b1!4m6!3m5!1s0x479e758bcf52fcc5:0xa9c170edcdbd1a2f!8m2!3d48.1376373!4d11.5797494!16zL20vMDV2MGJq"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/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 = { "queries": [
        "https://www.google.com/maps/place/K%C3%B6lner+Dom/@50.9412784,6.9582814,17z/data=!3m1!4b1!4m6!3m5!1s0x47bf25a5369c3d2f:0x29ec913896e3a9c6!8m2!3d50.9412784!4d6.9582814!16zL20vMGE0bmw",
        "https://www.google.com/maps/place/Hofbr%C3%A4uhaus+M%C3%BCnchen/@48.1376373,11.5797494,17z/data=!3m1!4b1!4m6!3m5!1s0x479e758bcf52fcc5:0xa9c170edcdbd1a2f!8m2!3d48.1376373!4d11.5797494!16zL20vMDV2MGJq",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/google-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 '{
  "queries": [
    "https://www.google.com/maps/place/K%C3%B6lner+Dom/@50.9412784,6.9582814,17z/data=!3m1!4b1!4m6!3m5!1s0x47bf25a5369c3d2f:0x29ec913896e3a9c6!8m2!3d50.9412784!4d6.9582814!16zL20vMGE0bmw",
    "https://www.google.com/maps/place/Hofbr%C3%A4uhaus+M%C3%BCnchen/@48.1376373,11.5797494,17z/data=!3m1!4b1!4m6!3m5!1s0x479e758bcf52fcc5:0xa9c170edcdbd1a2f!8m2!3d48.1376373!4d11.5797494!16zL20vMDV2MGJq"
  ]
}' |
apify call ninhothedev/google-reviews-scraper --silent --output-dataset

```

## MCP server setup

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