google-maps-reviews-api-skill

Coding Agents & IDEs
v0.1.0
Benign

This skill is designed to help users automatically extract reviews from Google Maps via the Google Maps Reviews API.

2925 downloads925 installsby @phheng

Setup & Installation

Install command

clawhub install phheng/google-maps-reviews-api-skill

If the CLI is not installed:

Install command

npx clawhub@latest install phheng/google-maps-reviews-api-skill

Or install with OpenClaw CLI:

Install command

openclaw skills install phheng/google-maps-reviews-api-skill

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/phheng/google-maps-reviews-api-skill

What This Skill Does

Extracts structured review data from Google Maps using BrowserAct's API template. Accepts search keywords, language, and country as inputs, and returns reviewer names, star ratings, review text, dates, and like counts.

Bypasses CAPTCHA challenges and regional IP restrictions that typically block direct scraping, returning clean structured data without manual parsing.

When to Use It

  • Pulling reviews for a coffee shop before a business trip
  • Tracking customer feedback for a restaurant chain across multiple cities
  • Comparing competitor clinic ratings by region
  • Gathering testimonials for a newly opened retail location
  • Researching top-rated attractions in a specific city
View original SKILL.md file
# Google Maps Reviews Automation Skill

## ๐Ÿ“– Introduction
This skill provides a one-stop review collection service using BrowserAct's Google Maps Reviews API template. It can extract structured review data directly from Google Maps search results. Simply provide the search keywords, language, and country to get clean, usable review data.

## โœจ Features
1. **No Hallucinations**: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.
2. **No Captcha Issues**: No need to handle reCAPTCHA or other verification challenges.
3. **No IP Restrictions**: No need to handle regional IP restrictions or geofencing.
4. **Faster Execution**: Tasks execute faster compared to pure AI-driven browser automation solutions.
5. **Cost-Effective**: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.

## ๐Ÿ”‘ API Key Setup
Before running, check the `BROWSERACT_API_KEY` environment variable. If not set, do not take other measures; ask and wait for the user to provide it.
**Agent must inform the user**:
> "Since you haven't configured the BrowserAct API Key, please visit the [BrowserAct Console](https://www.browseract.com/reception/integrations) to get your Key."

## ๐Ÿ› ๏ธ Input Parameters
The Agent should flexibly configure the following parameters when calling the script:

1. **KeyWords (Search Keywords)**
   - **Type**: `string`
   - **Description**: The query used to find places on Google Maps (e.g., business names, categories).
   - **Example**: `coffee shop`, `dental clinic`, `Tesla showroom`

2. **language (Language)**
   - **Type**: `string`
   - **Description**: Sets the UI language and the language of the returned text.
   - **Supported values**: `en`, `zh-CN`, `es`, `fr`, etc.
   - **Default**: `en`

3. **country (Country)**
   - **Type**: `string`
   - **Description**: Country or region bias for search results.
   - **Supported values**: `us`, `gb`, `ca`, `au`, `jp`, etc.
   - **Default**: `us`

## ๐Ÿš€ Usage
Agent should use the following independent script to achieve "one-line command result":

```bash
# Example call
python -u ./scripts/google_maps_reviews_api.py "Keywords" "Language" "Country"
```

### โณ Execution Monitoring
Since this task involves automated browser operations, it may take some time (several minutes). The script will **continuously output status logs with timestamps** (e.g., `[14:30:05] Task Status: running`).
**Agent Instructions**:
- While waiting for the script result, keep monitoring the terminal output.
- As long as the terminal is outputting new status logs, the task is running normally; do not mistake it for a deadlock or unresponsiveness.
- Only if the status remains unchanged for a long time or the script stops outputting without returning a result should you consider triggering the retry mechanism.

## ๐Ÿ“Š Data Output
After successful execution, the script parses and prints results from the API response:
- `author_name`: Display name of the reviewer
- `author_profile_url`: Profile URL of the reviewer
- `rating`: Star rating
- `text`: Review text content
- `comment_date`: Human-readable date
- `likes_count`: Number of likes
- `author_image_url`: Reviewer's avatar URL

## โš ๏ธ Error Handling & Retry
If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:

1. **Check Output Content**:
   - If the output **contains** `"Invalid authorization"`, it means the API Key is invalid or expired. **Do not retry**; guide the user to re-check and provide the correct API Key.
   - If the output **does not contain** `"Invalid authorization"` but the task failed (e.g., output starts with `Error:` or returns empty results), the Agent should **automatically try to re-execute the script once**.

2. **Retry Limit**:
   - Automatic retry is limited to **one time**. If the second attempt fails, stop retrying and report the specific error information to the user.

## ๐ŸŒŸ Typical Use Cases
1. **Local Business Analysis**: Find reviews for cafes or clinics in a specific area.
2. **Reputation Monitoring**: Track feedback for a specific brand location.
3. **Competitive Benchmarking**: Analyze reviews of competitor stores.
4. **Sentiment Analysis**: Gather review text for emotion and topic modeling.
5. **Market Research**: Evaluate service quality across different regions.
6. **Lead Qualification**: Use review data to identify high-quality service providers.
7. **Customer Insight**: Understand recurring complaints or praises.
8. **Venue Research**: Collect testimonials for parks, museums, or attractions.
9. **Retail Monitoring**: Gather feedback for newly opened stores.
10. **Service Quality Audit**: Analyze ratings and comments for a specific service chain.

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Pulling reviews for a coffee shop before a business trip

AGENT
  1. 1Pulling reviews for a coffee shop before a business trip
  2. 2Tracking customer feedback for a restaurant chain across multiple cities
  3. 3Comparing competitor clinic ratings by region
  4. 4Gathering testimonials for a newly opened retail location
  5. 5Researching top-rated attractions in a specific city
OUTPUT
This skill is designed to help users automatically extract reviews from Google Maps via the Google Maps Reviews API.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedMar 2, 2026