Google Star Rating
Queries Google Business Profile for the location's average star rating and total review count.
GET
Queries Google Business Profile for a location average star rating and total review count. Results are cached for 24 hours and the response includes the cache expiration time.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
locationintegerrequired
Location id.
Response
application/json
Google star rating details.
dataobjectrequireddata.location_idintegerdata.google_place_idstringdata.average_ratingnumber<float>data.total_review_countintegerdata.cached_untilstring<date-time>Queries Google Business Profile for the location's average star rating and total review count.
Results are cached for 24 hours. The response includes cached_until so clients know when the cached rating expires.