GOOGLE_PLACES returns the places Google lists in its Places tab for a search, the list that opens from “More places” under a local pack. It reads up to five pages of 20 places and searches every page from the same city, so you get up to 100 places in the order Google ranks them there. Use it to track a business’s rank across a city’s full local list, or to collect the businesses Google shows for a service in a city.
Request
This request asks for the first 100 places Google lists for long-term care in Manville, Rhode Island:uule for each place, send it in place of city. This value is Reno, Nevada:
limit: 100 usually completes in a minute or two.
Parameters
Without
city or uule, Google picks the place to search from.
Response
For example, the Manville request above:
A place that a later page lists again is counted once. When Google’s list ends before
limit, places holds every place Google listed; a small town often has fewer than 100. Fields Google does not show for a place are omitted. Treat every field except name, position and page as optional.
Credits
Each Places page read costs 1 credit. At submit, the task holds the credits for the pageslimit needs, one page per 20 places: 1 for the default, 5 for limit: 100. On completion it is charged for the pages it read, so a list Google ends after three pages costs 3. A failed task costs 0. See Credits and limits.
Limits and errors
- An empty
placesin a completed task means Google listed no places for the search from that location. It is confirmed on a second browser before it is returned, and costs 1 credit. limitoutside 1-100, acitythat is empty or longer than 100 characters, orcitysent together withuuleorlocationreturns422 VALIDATION_ERROR.- A
uulethat is not aw+UULE returns400 VALIDATION_ERROR. locationreturns422. Set the place withcityoruule.include.rawResponsehas no effect, andinclude.htmlandinclude.analysisreturn422. See Markdown and raw responses.- Other request errors are listed in Errors.
Related
- Google Search for one results page with its local pack
- Regions and location
- Credits and limits