Google Star Rating

Queries Google Business Profile for the location's average star rating and total review count.

GEThttps://review-manager.test/api/locations/{location}/google-star-rating

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.

dataobjectrequired
data.location_idinteger
data.google_place_idstring
data.average_ratingnumber<float>
data.total_review_countinteger
data.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.