Fetch Google review ratings and review counts for businesses via DataForSEO API. Use when the user asks to check Google reviews, get review counts, compare business ratings, audit Google Maps presence…
Library skill — the default version is maintained in GitHub; edits you make live in your own clone.
Fetch Google Maps ratings, review counts, and rating distributions for any business using the DataForSEO API.
Use this skill when the user:
Global tools directory: ~/.agents/tools/
~/.agents/tools/fetch-google-reviews.jsAISA_ONE_API_KEY in environment variables — proxies through aisa.oneDATAFORSEO_LOGIN and DATAFORSEO_PASSWORD in environment variables — direct to DataForSEO. The script auto-detects which one is set.cd ~/.agents/tools && node fetch-google-reviews.js "Business Name" "City,Province,Country"
Example:
cd ~/.agents/tools && node fetch-google-reviews.js "Trust Auto Sales" "Richmond,British Columbia,Canada"
Create a JSON file with an array of businesses, then run:
cd ~/.agents/tools && node fetch-google-reviews.js --batch /path/to/businesses.json
JSON file format:
[
{"keyword": "Business One", "location": "Vancouver,British Columbia,Canada"},
{"keyword": "Business Two"}
]
keyword (required): Business name to searchlocation (optional): Defaults to "Richmond,British Columbia,Canada"{
"keyword": "Trust Auto Sales",
"title": "Trust Auto Sales",
"rating": 4.2,
"reviews": 677,
"rating_distribution": {"1": 117, "2": 7, "3": 3, "4": 19, "5": 531},
"address": "3691 Number 3 Rd, Richmond, BC V6X 2B8",
"category": "Car dealer",
"url": "https://trustauto.ca/"
}
Prints a markdown table followed by full JSON:
| Business | Rating | Reviews | Address |
|----------|--------|---------|---------|
| Trust Auto Sales | 4.2 | 677 | 3691 Number 3 Rd, Richmond, BC V6X 2B8 |
Use the DataForSEO location format: City,Province/State,Country
Examples:
- Richmond,British Columbia,Canada
- Vancouver,British Columbia,Canada
- Toronto,Ontario,Canada
- New York,New York,United States
business_data/google/my_business_info/live endpointapi.aisa.one/apis/v1/dataforseo/..., Bearer auth) when AISA_ONE_API_KEY is set; falls back to direct api.dataforseo.com/v3/... (Basic auth) otherwisenpm install hasn't been run yet: cd ~/.agents/tools && npm install.env and environment variables