Core APIs
...
Google Places & Maps
Posts
3 min
google place posts parameters get get /search?engine=google\&search type=place posts the google place posts parameters are applicable when making a request with search type=place posts to retrieve place posts for a place the place is specified in the data id parameter, data id values are returned from search type=places https //docs trajectdata com/serpwow/search api/searches/google/places for example, to request place post results for a place with data id=0x87b7122bd8e99a89 0xf20c18461109b2c0 , the request would be http https //api serpwow\ com/live/search?api key=demo\&search type=place posts\&data id=0x87b7122bd8e99a89 0xf20c18461109b2c0curl l get https //api serpwow\ com/live/search \\ d api key="demo" \\ d search type="place posts" \\ d data id="0x87b7122bd8e99a89 0xf20c18461109b2c0"const axios = require('axios'); // set up the request parameters const params = { api key "demo", search type "place posts", data id "0x87b7122bd8e99a89 0xf20c18461109b2c0" } // make the http get request axios get('https //api serpwow\ com/live"/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 posts', 'data id' '0x87b7122bd8e99a89 0xf20c18461109b2c0' } \# make the http get request api result = requests get('https //api serpwow\ com/live/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 posts', 'data id' => '0x87b7122bd8e99a89 0xf20c18461109b2c0' ]); \# make the http get request $ch = curl init(sprintf('%s?%s', 'https //api serpwow\ com/live/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 posts parameters the following parameters are available for all requests made when search type=place posts parameter required description engine required should be set to engine=google search type required should be set to search type=place posts data id required the data id of the place to retrieve place posts for data id values are returned in https //docs trajectdata com/serpwow/search api/searches/google/places hl optional the hl parameter determines the google ui language to return results view the full list of supported hl values https //docs trajectdata com/serpwow/search api/reference/google languages defaults to en next page token optional place posts results do not contain a traditional pagination section where a specific page of results is uniquely addressable instead, each search type=place posts 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 next steps https //docs trajectdata com/serpwow/search api/results/google/place posts