Install
openclaw skills install google-maps-search-api-skillThis skill is designed to help users automatically extract business data from Google Maps search results. The Agent should proactively apply this skill when the user makes the following requests searching for coffee shops in a specific city, finding dentists or medical clinics nearby, tracking competitors' locations in a certain area, extracting business leads from Google Maps lists, gathering restaurant data for market research, finding hotels or accommodation options in a region, locating specific services like coworking spaces or gyms, monitoring new business openings in a neighborhood, collecting contact information and addresses for sales prospecting, analyzing price ranges and cuisines of local eateries, getting ratings and review counts for a list of businesses, exporting local business data into a CRM or database.
openclaw skills install google-maps-search-api-skillThis skill utilizes the BrowserAct Google Maps Search API template to provide a one-stop business data collection service. It extracts structured business results directly from Google Maps search lists. Simply provide search keywords, language, and country filters to get clean, usable business data.
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 to get your Key."
When calling the script, the Agent should flexibly configure the following parameters based on user needs:
KeyWords
stringcoffee shop, dental clinic, coworking spacelanguage
stringen, de, fr, it, es, ja, zh-CN, zh-TWencountry
stringus, gb, ca, au, de, fr, jpusmax_dates
number100The Agent should execute the following independent script to achieve "one-line command result":
# Example call
python -u ./scripts/google_maps_search_api.py "search keywords" "language" "country" count
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:
After successful execution, the script parses and prints results directly from the API response. Fields include:
name: Business namefull address: Full addressrating: Star ratingreview count: Number of reviewsprice range: Price levelcuisine type: Business categoryamenity tags: Features like Wi-Fireview snippet: Short review textservice options: Service indicators (e.g., "Order online")If an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:
Check Output Content:
"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."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.Retry Limit: