Search
DESKTOP TABLET MOBILE
SerpWow parses Google Local & Maps results (i.e. local business listings) when the search_type search parameter is set to search_type=places . When this parameter is set SerpWow provides a places_results array in the result JSON that contains the Local or Maps results.
The nature of the value passed in the location parameter determines whether results are returned from Google Local, or Google Maps. For full details see the request parameter documentation.
If the location parameter is set to a location name from the Locations API (or any other free-form location name text) - for example Manhattan,New+York,United+States then results will be returned from a Google Local page.

Below is an example of the search_type=places response when requesting Google Local results.
If the location parameter is set to a latitude, longitude and zoom value - for example location=lat:43.437677,lon:-3.8392765,zoom:15 then results will be returned from a Google Maps page.
Pagination with Google Maps When requesting Google Maps results (i.e. when specifying your location parameter using a latitude, longitude and zoom level) Google do not display the total number of pages of result available (as the Google Maps interface allows the user to infinately scroll and move the map to generate more results).
Therefore when showing Google Maps results the pagination section of the results JSON is not present. To paginate through Google Maps results simply specify additional requests, incrementing your requests' page parameter each time ( page=2 , page=3 etc) until no place_results array is present in the result JSON (this indicates you have reached the end of the available results for the given latitude, longitude and zoom level).

Below is an example of the search_type=places response when requesting Google Maps results.
SerpWow returns the following properties for search_type=places requests (any differences between the Google Local and Google Maps results are noted below):
Property | Type | Description |
---|---|---|
search_information | object | An object containing top-level details about the search.
|
places_results | array | An array of Places Result objects, containing each of the place results shown on the results page. The Place Result object has the following properties:
|
pagination | object | An object containing pagination details for making subsequent requests for additional pages of results. Note the pagination object is only returned for Google Local results. See the note on Pagination above for information on how to paginate Google Maps requests.
|
Next Steps Google Places Parameters