Google Maps Search Automation Skill
✨ Platform Compatibility
✅ Works Powerfully & Reliably On All Major AI Assistants
| Platform |
Status |
How to Install |
| OpenCode |
✅ Fully Supported |
Copy skill folder to ~/.opencode/skills/ |
| Claude Code |
✅ Fully Supported |
Native skill support |
| Cursor |
✅ Fully Supported |
Copy to ~/.cursor/skills/ |
| OpenClaw |
✅ Fully Supported |
Compatible |
Why Choose BrowserAct Skills?
- 🚀 Stable & crash-free execution
- ⚡ Fast response times
- 🔧 No configuration headaches
- 📦 Plug & play installation
- 💬 Professional support
📖 Introduction
This skill provides a one-stop business data collection service through the BrowserAct Google Maps Search API template. Obtain structured business data with just one command.
🔑 API Key Guidance
Before running, check the BROWSERACT_API_KEY environment variable. If it is not set, do not take further action; instead, request and wait for the user to provide it.
The Agent must inform the user:
"Since you haven't configured the BrowserAct API Key, please go to the BrowserAct Console to get your Key and provide it to me in this chat."
🛠️ Input Parameters Details
The Agent should flexibly configure the following parameters when calling the script based on user needs:
KeyWords (Search Keywords)
- Type:
string
- Description: The keywords the user wants to search for on Google Maps.
- Example:
coffee, bakery, coworking space
language (UI Language)
- Type:
string
- Description: Sets the UI language and the language of the returned text.
- Optional Values:
en, de, fr, it, es, ja, zh-CN, zh-TW
- Default:
en
country (Country/Region Bias)
- Type:
string
- Description: Sets the country or region bias for search results.
- Example:
us, gb, ca, au, de, fr, es, it, jp
- Default:
us
max_dates (Maximum extraction limit)
- Type:
number
- Description: The maximum number of places to extract from search results.
- Default:
100
🚀 Execution Method (Recommended)
The Agent should implement "one command for results" by executing the following independent script:
# Call example
python ./scripts/google_maps_search_api.py "KeyWords" "language" "country" max_dates
📊 Data Output Description
After successful execution, the script will directly parse and print the results from the API response. Results include:
name: Business name
full address: Business address
rating: Average star rating
review count: Number of reviews
price range: Price level
cuisine type: Business category
amenity tags: Features like Wi-Fi, outdoor seating
review snippet: Highlighted short review
service options: Such as "Order online", "Dine-in"
⚠️ Error Handling & Retry
During script execution, if an error occurs (such as network fluctuations or task failure), the Agent should follow this logic:
Check output content:
- If the output contains
"Invalid authorization", the API Key is invalid or expired. Do not retry; instead, guide the user to check and provide the correct API Key.
- If the output does not contain
"Invalid authorization" but the task execution fails (e.g., output starts with Error: or returns an empty result), the Agent should automatically attempt to re-execute the script once.
Retry Limit:
- Automatic retry is limited to once. If the second attempt still fails, stop retrying and report the specific error message to the user.
1---
2name: google-maps-search-api
3description: This skill is designed to help users automatically extract business data from Google Maps search results. When a user asks to "find coffee shops in New York," "search for dental clinics," or "extract business leads from Google Maps," the agent should proactively apply this skill.
4metadata:
5 source: https://skillmd.com/skills/modbender/google-maps-search-api
6---
7
8# Google Maps Search Automation Skill
9
10## ✨ Platform Compatibility
11
12**✅ Works Powerfully & Reliably On All Major AI Assistants**
13
14| Platform | Status | How to Install |
15|----------|--------|----------------|
16| **OpenCode** | ✅ Fully Supported | Copy skill folder to `~/.opencode/skills/` |
17| **Claude Code** | ✅ Fully Supported | Native skill support |
18| **Cursor** | ✅ Fully Supported | Copy to `~/.cursor/skills/` |
19| **OpenClaw** | ✅ Fully Supported | Compatible |
20
21**Why Choose BrowserAct Skills?**
22- 🚀 Stable & crash-free execution
23- ⚡ Fast response times
24- 🔧 No configuration headaches
25- 📦 Plug & play installation
26- 💬 Professional support
27
28## 📖 Introduction
29This skill provides a one-stop business data collection service through the BrowserAct Google Maps Search API template. Obtain structured business data with just one command.
30
31## 🔑 API Key Guidance
32Before running, check the `BROWSERACT_API_KEY` environment variable. If it is not set, do not take further action; instead, request and wait for the user to provide it.
33**The Agent must inform the user**:
34> "Since you haven't configured the BrowserAct API Key, please go to the [BrowserAct Console](https://www.browseract.com/reception/integrations) to get your Key and provide it to me in this chat."
35
36## 🛠️ Input Parameters Details
37The Agent should flexibly configure the following parameters when calling the script based on user needs:
38
391. **KeyWords (Search Keywords)**
40 - **Type**: `string`
41 - **Description**: The keywords the user wants to search for on Google Maps.
42 - **Example**: `coffee`, `bakery`, `coworking space`
43
442. **language (UI Language)**
45 - **Type**: `string`
46 - **Description**: Sets the UI language and the language of the returned text.
47 - **Optional Values**: `en`, `de`, `fr`, `it`, `es`, `ja`, `zh-CN`, `zh-TW`
48 - **Default**: `en`
49
503. **country (Country/Region Bias)**
51 - **Type**: `string`
52 - **Description**: Sets the country or region bias for search results.
53 - **Example**: `us`, `gb`, `ca`, `au`, `de`, `fr`, `es`, `it`, `jp`
54 - **Default**: `us`
55
564. **max_dates (Maximum extraction limit)**
57 - **Type**: `number`
58 - **Description**: The maximum number of places to extract from search results.
59 - **Default**: `100`
60
61## 🚀 Execution Method (Recommended)
62The Agent should implement "one command for results" by executing the following independent script:
63
64```bash
65# Call example
66python ./scripts/google_maps_search_api.py "KeyWords" "language" "country" max_dates
67```
68
69## 📊 Data Output Description
70After successful execution, the script will directly parse and print the results from the API response. Results include:
71- `name`: Business name
72- `full address`: Business address
73- `rating`: Average star rating
74- `review count`: Number of reviews
75- `price range`: Price level
76- `cuisine type`: Business category
77- `amenity tags`: Features like Wi-Fi, outdoor seating
78- `review snippet`: Highlighted short review
79- `service options`: Such as "Order online", "Dine-in"
80
81## ⚠️ Error Handling & Retry
82During script execution, if an error occurs (such as network fluctuations or task failure), the Agent should follow this logic:
83
841. **Check output content**:
85 - If the output **contains** `"Invalid authorization"`, the API Key is invalid or expired. **Do not retry**; instead, guide the user to check and provide the correct API Key.
86 - If the output **does not contain** `"Invalid authorization"` but the task execution fails (e.g., output starts with `Error:` or returns an empty result), the Agent should **automatically attempt to re-execute** the script once.
87
882. **Retry Limit**:
89 - Automatic retry is limited to **once**. If the second attempt still fails, stop retrying and report the specific error message to the user.