google business profile
Batch get reviews
Fetches reviews across multiple locations in a single request. More efficient than calling GET /gmb-reviews per location for multi-location businesses. Reviews are grouped by location in the response.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
accountIdstring
locationNamesarray<string>
Array of full location resource names (e.g. ['accounts/123/locations/456'])
pageSize?integer
Number of reviews per page (max 50)
Default
50Range
value <= 50pageToken?string
Pagination token from previous response
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accounts.batchGetGoogleBusinessReviews({ path: { accountId: 'account_abc123', }, body: { locationNames: [ 'Example', ], },});console.log(data);{
"success": true,
"accountId": "string",
"locationReviews": [
{
"locationName": "string",
"reviews": [
{}
],
"averageRating": 0,
"totalReviewCount": 0
}
],
"nextPageToken": "string"
}{
"error": "string",
"details": {}
}{
"error": "string",
"details": {}
}