Core APIs
...
Google
Google Places & Maps
Reviews
4min
google place reviews parameters get get /search?search type=place reviews the google place reviews parameters are applicable when making a request with search type=place reviews to retrieve place reviews for a place the place is specified in the data id parameter, data id values are returned from search type=places places requests https //docs trajectdata com/scaleserp/search api/searches/google/places place review topic ids if shown, a search type=place reviews will return a topics array containing review topics you can pass a place reviews topic id in to the optional topic id parameter to refine your place reviews request to just reviews related to that topic place reviews pagination place review results do not contain a traditional pagination section where a specific page of results is uniquely addressable instead, each search type=place reviews result will return a next page token in its' pagination object this next page token can be passed in to the next page token request parameter to retrieve the next page of place reviews results for example, to request place review results for a place with data id=0x89c259cea3b62d4d 0x4519bf551f37923f , the request would be http https //api scaleserp com/search?api key=demo\&search type=place reviews\&data id=0x89c259cea3b62d4d 0x4519bf551f37923fcurl l get https //api scaleserp com/search \\ d api key="demo" \\ d search type="place reviews" \\ d data id="0x89c259cea3b62d4d 0x4519bf551f37923f"const axios = require('axios'); // set up the request parameters const params = { api key "demo", search type "place reviews", data id "0x89c259cea3b62d4d 0x4519bf551f37923f" } // make the http get request axios get('https //api scaleserp com"/search', { params }) then(response => { // print the json response console log(json stringify(response data, 0, 2)); }) catch(error => { // catch and print the error console log(error); })import requests import json \# set up the request parameters params = { 'api key' 'demo', 'search type' 'place reviews', 'data id' '0x89c259cea3b62d4d 0x4519bf551f37923f' } \# make the http get request api result = requests get('https //api scaleserp com/search', params) \# print the json response print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'search type' => 'place reviews', 'data id' => '0x89c259cea3b62d4d 0x4519bf551f37923f' ]); \# make the http get request $ch = curl init(sprintf('%s?%s', 'https //api scaleserp com/search', $querystring)); curl setopt($ch, curlopt returntransfer, true); curl setopt($ch, curlopt followlocation, true); \# the following options are required if you're using an outdated openssl version \# more details https //www openssl org/blog/blog/2021/09/13/letsencryptrootcertexpire/ curl setopt($ch, curlopt ssl verifyhost, false); curl setopt($ch, curlopt ssl verifypeer, false); curl setopt($ch, curlopt timeout, 180); $api result = curl exec($ch); curl close($ch); \# print the json response echo $api result; ?> google place reviews parameters the following parameters are available for all requests made when search type=place reviews parameter required description search type required should be set to search type=place reviews data id required the data id of the place to retrieve place reviews for data id values are returned in places requests https //docs trajectdata com/scaleserp/search api/searches/google/places topic id optional an optional topic id to limit the returned reviews to just those related to the given topic topic id values, if shown for the given data id , are returned in the topics array in all search type=place reviews results sort by optional determines how place reviews are sorted, valid values are relevance , date , highest rating and lowest rating defaults to relevance next page token optional place review results do not contain a traditional pagination section where a specific page of results is uniquely addressable instead, each search type=place reviews result will return a next page token in its' pagination object this next page token can be passed in to the next page token request parameter to retrieve the next page of place reviews results hl optional the hl parameter determines the google ui language to return results view the full list of supported hl values here https //docs trajectdata com/scaleserp/search api/reference/google languages defaults to en next steps google place reviews results https //docs trajectdata com/scaleserp/search api/results/google/place reviews