# Google Maps Reviews Scraper + AI: Tripadvisor, Trustpilot (`ingeniela/google-maps-reviews-analyzer`) Actor

Turn Google Maps, Tripadvisor, Trustpilot and Booking.com reviews into a clear report: top complaints and praises with real quotes, rating trend, response rate, actions and AI replies. Weekly alerts for new negative reviews.

- **URL**: https://apify.com/ingeniela/google-maps-reviews-analyzer.md
- **Developed by:** [Ingeniela](https://apify.com/ingeniela) (community)
- **Categories:** AI, SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 analyzed places

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

## Google Maps Reviews Scraper + AI: Tripadvisor, Trustpilot

Turn hundreds of reviews from **Google Maps, Tripadvisor, Trustpilot and Booking.com** into a one-page answer: what customers complain about, what they love, whether the rating is going up or down, how fast the owner replies, and what to fix first. It also writes ready-to-send replies for every unanswered negative review. Add competitors to compare side by side, even across platforms. Switch on **alert mode** and schedule it weekly to get only the new negative reviews, each with a suggested reply, in Slack, Discord or your email.

> 🔁 Turn on **Alert mode** and schedule it daily: you only hear about new negative reviews, with a reply draft ready.

![HTML report of a real run: comparison table, what customers love with real quotes, themes and monthly trend](https://api.apify.com/v2/key-value-stores/RXaOr7FspyrQ4JP88/records/google-maps-reviews-analyzer-report-en.png)

*Real report for Mercado de San Miguel (Madrid) from its 80 newest reviews, with AI insights off. Reviews written in other languages are read in Google's translation, so they count toward the themes too. With AI insights on, the report also opens with a summary, the top complaints with a fix for each, a prioritised action list and reply drafts.*

### Tutorial (1 minute)

![Step-by-step tutorial: what to fill in, click Start, the real result and the price](https://api.apify.com/v2/key-value-stores/RXaOr7FspyrQ4JP88/records/review-analyzer-tutorial.gif)

*Every result in this tutorial comes from a real run.*

### What you get, per place

- **Rating picture**: sample average, star distribution, share of negative reviews.
- **Trend**: average of the last 90 days against the 90 days before, plus a monthly table.
- **Response behaviour**: response rate, response rate on negative reviews, median days to reply, unanswered negatives.
- **Themes** (12, Spanish and English): service, staff, price, quality, waiting, cleanliness, booking, communication, ambience, food, location, delivery. Each with mentions, average stars, % negative and a real quote.
- **AI insights** (optional): a short summary, top complaints with a concrete fix, strengths, and prioritised actions (impact × effort).
- **Reply drafts**: one per unanswered 1-2 star review, in the reviewer's language and your tone.
- **Weekly alerts** (alert mode): only new negative reviews since the last run, with a reply draft, sent to a webhook or email.
- **Files**: an HTML report comparing all places (`REPORT`), a CSV of reviews per place, and all reviews as JSON (`REVIEWS`).

### Input example

```json
{
  "placeUrls": [
    { "url": "https://www.google.com/maps/place/My+Clinic/..." },
    { "url": "https://www.google.com/maps/place/Competitor/..." },
    { "url": "https://www.tripadvisor.com/Restaurant_Review-g187514-d123-Reviews-My_Restaurant-Madrid.html" },
    { "url": "https://www.trustpilot.com/review/mybrand.com" },
    { "url": "https://www.booking.com/hotel/es/my-hotel.html" }
  ],
  "maxReviewsPerPlace": 200,
  "reviewsSince": "12 months",
  "language": "es",
  "businessContext": "Aesthetic clinic in Madrid. Friendly tone. Sign as Laura. Contact: hola@clinica.com",
  "reportLanguage": "es"
}
```

### Output (one row per place)

```json
{
  "placeName": "Mi Clínica",
  "source": "google",
  "googleRating": 4.3,
  "reviewsAnalysed": 200,
  "avgStars": 4.1,
  "negativeShare": 0.12,
  "last90DaysAvg": 3.8,
  "trendDelta": -0.4,
  "ownerResponseRate": 0.35,
  "unansweredNegatives": 9,
  "topComplaints": [{ "theme": "Esperas y puntualidad", "negativeMentions": 11, "quote": "Esperé 50 minutos..." }],
  "aiSummary": "Customers love the staff, but waiting times are pulling the rating down since August.",
  "aiActions": ["Confirm appointments the day before by WhatsApp", "..."],
  "replyDraftsCount": 9,
  "reviewsFile": "https://api.apify.com/v2/key-value-stores/.../records/reviews_mi-clinica.csv"
}
```

### How to use it

1. Copy your business page link from Google Maps, Tripadvisor, Trustpilot (`trustpilot.com/review/yourdomain.com`) or Booking.com and paste it in **Place links**. Add 2-3 competitors the same way. You can mix platforms.
2. Choose how many reviews per place (100-300 is a good picture) and, if you like, a date limit such as `12 months`.
3. Optional: write a line in **About your business** (tone, signature, contact) so reply drafts sound like you.
4. Click **Start**. Three places with 200 reviews each take about 3-6 minutes.
5. Open **REPORT** in the Storage tab, or download each place's CSV from the results table.

### How it works

1. Detects the platform of each link and collects its reviews on your Apify account, all in parallel, newest reviews first:
   Google Maps (without reviewer personal data), Tripadvisor (US$0.005/review on the free plan, less on paid plans), Trustpilot (US$0.00075/review plus a start fee) and Booking.com (US$0.002/review). Cap each with **Max spend on collecting reviews**.
   Booking.com scores (out of 10) are converted to 5 stars so all platforms compare.
2. Tags every review with themes and sentiment, and computes trends and response metrics.
3. With AI on, the AI reads up to 200 reviews per place and writes the insights and the replies.

### AI providers

AI insights work with the provider you already use. Add one key, or none to use the built-in AI.

| Provider | Key | Default model |
| --- | --- | --- |
| Anthropic | `anthropicApiKey` | `claude-opus-5-5` |
| OpenAI | `openaiApiKey` | `gpt-6.1-terra` |
| OpenRouter | `openrouterApiKey` | `anthropic/claude-sonnet-5.5` (any model id from openrouter.ai/models works) |
| Google Gemini | `geminiApiKey` | `gemini-3.6-flash` |
| xAI (Grok) | `xaiApiKey` | `grok-4.7` |
| DeepSeek | `deepseekApiKey` | `deepseek-v4-pro` |
| Mistral | `mistralApiKey` | `mistral-large-latest` |

With your own key, that provider bills you directly and the AI events below are not charged. Without any key, the AI part is skipped and you still get themes, trends, response metrics and the report.

### Pricing

Pay per event, on top of collecting the reviews:

| Event | Price | When |
| --- | --- | --- |
| `place-report` | US$0.05 | Each analysed place |
| `ai-place-insights` | US$0.15 | AI insights for one place (built-in AI only) |
| `reply-draft` | US$0.02 | Each drafted reply (built-in AI only) |
| `negative-review-alert` | US$0.02 | Each new negative review found in alert mode |

**Examples:** your business plus 2 competitors without AI cost US$0.15. With the built-in AI and 10 reply drafts for your business: US$0.15 + US$0.45 + US$0.20 = US$0.80.

### FAQ

**It says "No reviews were found".** You probably used a search link. Use the place's own link, which contains `/maps/place/`.

**Can I get an alert for each new bad review?** Yes. Turn on **Alert mode**, add a Slack/Discord webhook or an email, save the input as a task and schedule it weekly (or daily). The first run saves a baseline. Each later run only collects recent reviews, so it stays cheap, and returns just the new reviews with 1-2 stars (configurable), each with a suggested reply. When there is nothing new you get a free status row and no message.

**Which languages?** Reviews in any language are read through Google's translation into the language you choose. Reports are in Spanish or English.

**Are replies posted automatically?** No. They are drafts for you to read, adjust and post.

### Tips

- Use each place's own Google Maps link (it contains `/maps/place/`). A search link can match a different place with the same name.
- Reply drafts are written in the reviewer's own language, even when the review was translated for the analysis.

### Privacy

Reviewer names, profile links and photos are not collected. Reply drafts are suggestions: read them before posting.

### Development

```bash
python -m pytest tests -q
python scripts/smoke_test.py ./tmp-smoke
apify push
```

Set `ANTHROPIC_API_KEY`, `OPENAI_API_KEY` or `OPENROUTER_API_KEY` as a secret environment variable to offer the built-in AI.

# Actor input Schema

## `placeUrls` (type: `array`):

Your business and, if you like, competitors. One link per place: a Google Maps place (contains /maps/place/), a Tripadvisor page, a Trustpilot page (trustpilot.com/review/yourdomain.com) or a Booking.com hotel page. You can mix platforms in one run.

## `placeIds` (type: `array`):

Google place IDs (start with ChIJ), as an alternative to URLs.

## `maxReviewsPerPlace` (type: `integer`):

Newest reviews first. 100-300 gives a solid picture.

## `reviewsSince` (type: `string`):

A date (2026-01-01) or a period (6 months).

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

Google Maps shows reviews (and translations) in this language. Other platforms return each review in its own language.

## `scraperMaxCostUsd` (type: `integer`):

Upper limit per platform for collecting the reviews on your account (Trustpilot needs at least $0.50).

## `aiInsights` (type: `boolean`):

Summary, top complaints with fixes, strengths and prioritised actions per place.

## `draftReplies` (type: `boolean`):

Write a reply for each unanswered review of 1-2 stars, in the reviewer's language.

## `maxReplyDrafts` (type: `integer`):

Newest negative reviews first.

## `businessContext` (type: `string`):

Optional. Tone and facts for replies, e.g. 'Aesthetic clinic in Madrid, friendly tone, sign as Laura, contact hola@clinica.com'.

## `reportLanguage` (type: `string`):

Language of the report and AI insights.

## `aiProvider` (type: `string`):

Which AI writes the insights. Add the matching key below, or leave all keys empty to use the built-in AI (billed per AI event).

## `aiModel` (type: `string`):

Leave empty for the default: claude-opus-5-5 on Anthropic, gpt-6.1-terra on OpenAI, anthropic/claude-sonnet-5.5 on OpenRouter. On OpenRouter you can use any model id from openrouter.ai/models.

## `anthropicApiKey` (type: `string`):

Your own key from console.anthropic.com. With your own key (any provider), that provider bills you and AI events are not charged.

## `openaiApiKey` (type: `string`):

Your own key from platform.openai.com/api-keys.

## `openrouterApiKey` (type: `string`):

Your own key from openrouter.ai/keys. One key, hundreds of models.

## `geminiApiKey` (type: `string`):

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## `alertMode` (type: `boolean`):

Instead of the full report, return only negative reviews that appeared since the last run, with a suggested reply, and send them to your webhook or email. Save this input as a task and schedule it weekly. The first run only saves a baseline.

## `monitorName` (type: `string`):

Optional. Keeps separate memory for different alert tasks. Empty = based on the places.

## `alertMaxStars` (type: `integer`):

Reviews with this many stars or fewer trigger an alert (Booking scores are converted to 5 stars).

## `webhookUrl` (type: `string`):

Optional. Receives a JSON POST with a 'text' field, so a Slack or Discord incoming webhook works as is (Zapier and Make too).

## `notifyEmail` (type: `string`):

Optional. Sends the alert by email.

## Actor input object example

```json
{
  "placeUrls": [
    {
      "url": "https://www.google.com/maps/place/Yellowstone+National+Park/@44.5857951,-110.5140571,9z/data=!3m1!4b1!4m5!3m4!1s0x5351e55555555555:0xaca8f930348fe1bb!8m2!3d44.427963!4d-110.588455"
    }
  ],
  "maxReviewsPerPlace": 50,
  "language": "es",
  "scraperMaxCostUsd": 5,
  "aiInsights": true,
  "draftReplies": true,
  "maxReplyDrafts": 10,
  "reportLanguage": "es",
  "aiProvider": "auto",
  "alertMode": false,
  "alertMaxStars": 2
}
```

# Actor output Schema

## `report` (type: `string`):

No description

## `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 = {
    "placeUrls": [
        {
            "url": "https://www.google.com/maps/place/Yellowstone+National+Park/@44.5857951,-110.5140571,9z/data=!3m1!4b1!4m5!3m4!1s0x5351e55555555555:0xaca8f930348fe1bb!8m2!3d44.427963!4d-110.588455"
        }
    ],
    "maxReviewsPerPlace": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/google-maps-reviews-analyzer").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 = {
    "placeUrls": [{ "url": "https://www.google.com/maps/place/Yellowstone+National+Park/@44.5857951,-110.5140571,9z/data=!3m1!4b1!4m5!3m4!1s0x5351e55555555555:0xaca8f930348fe1bb!8m2!3d44.427963!4d-110.588455" }],
    "maxReviewsPerPlace": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/google-maps-reviews-analyzer").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 '{
  "placeUrls": [
    {
      "url": "https://www.google.com/maps/place/Yellowstone+National+Park/@44.5857951,-110.5140571,9z/data=!3m1!4b1!4m5!3m4!1s0x5351e55555555555:0xaca8f930348fe1bb!8m2!3d44.427963!4d-110.588455"
    }
  ],
  "maxReviewsPerPlace": 50
}' |
apify call ingeniela/google-maps-reviews-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ingeniela/google-maps-reviews-analyzer"
        }
    }
}
```

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/2c5fUEEPBYfoKsLhC/builds/44ekgngZgyKs30ZAL/openapi.json
