The Google Maps Reviews API provides access to reviews from Google Maps, with options to specify the data ID, place ID, language, sorting parameters, and topic filters.
Get Your API Key
Sign in at hasdata.com, go to your account settings, and copy your API key.
All requests must include your key in the x-api-key header.
Request Cost and API Credits
Each request to the Google Maps Reviews API consumes API Credits from your account balance.
- Cost per request: 5 API Credits
- Credits are deducted only for successful requests.
- Your total available credits depend on your active plan.
You can use your credits across all HasData APIs. The same credit balance is shared platform-wide.
Unused credits do not roll over. Any remaining credits expire at the end of the current billing period.
To monitor your credit usage and remaining balance, sign in to your account dashboard at app.hasdata.com.
Make Your First Request
curl --request GET \
--url 'https://api.hasdata.com/scrape/google-maps/reviews?dataId=0x873312ae759b4d15%3A0x1f38a9bec9912029' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>'
API Parameters
| Parameter | Default Value | Required | Description |
|---|
dataId | 0x873312ae759b4d15:0x1f38a9bec9912029 | No | Google Maps data ID. |
placeId | - | No | Unique reference to a place on a Google Map. Either dataId or placeId should be set. |
hl | - | No | The two-letter language code for the language you want to use for the search. |
sortBy | - | No | Parameter used for sorting and refining results. |
topicId | - | No | Defines the ID of the topic you want to use for filtering reviews. |
nextPageToken | - | No | Defines the next page token. It is used for retrieving the next page results. |