โš™๏ธ Google Maps Nearby Places Search - Pagination Workflow Formula By steve


Quickly scrape all businesses of a given category from Google Maps that are nearby a location (mimicking how the mobile app works). This workflow will automatically paginate and combine the results back in CSV format for easy consumption without having to write any code. You can search for a business type or enter a keyword to search by business name or other feature.

Getting Started

Import this formula to add the workflow into your account, where you’ll be able to specify the businesses from Google Maps you want to get back. You may want to provide one of the optional parameters in the drop down, otherwise you’ll just get a generic list of places back around your location.

โš™๏ธ  Google Maps Nearby Places Search - Pagination

Google Maps Nearby Place Search - Pagination Token (Self-Loop) Pagination Limit: Unlimited โžก๏ธ Pagination Token

Used for pagination - leave this blank on the first request and then look for the next_page_token value in the response to use for getting the next page. Google will only return up to 60 results per search, but you can see how to get around this using our Google Maps Deep Crawl technique.

  • API Key

    Your Google Maps Places API Key. If you already have a Google Cloud account, you can retrieve it in your Google Maps API Credentials. If you’re new to Google Cloud, you can sign up for a free Google Maps Places API Key.

    If you get the error message This API project is not authorized to use this API, you may need to check your Google Maps Credentials restrictions, or create a new, unrestricted key to use with our platform (you can always remove it later on).

  • Location

    Location to return results for. Values must be supplied: latitude,longitude

Pagination Token

Used for pagination - leave this blank on the first request and then look for the next_page_token value in the response to use for getting the next page. Google will only return up to 60 results per search, but you can see how to get around this using our Google Maps Deep Crawl technique.

Order Example: distance

Order to return results in. Can be prominence or distance.

Type Example: bar

Type of business to return. See the list of supported types.

Query Example: italian restaurant

Text query for the place you’re looking for (e.g. name, address, business type, etc…). If you supply the type parameter, then this input is optional and will get all the businesses matching the type you provide.

Radius Example: 5000

REQUIRED ONLY if order is set to prominence, otherwise you must leave this BLANK when using the default order by value of distance.

The radius to search around the provided location (in meters). Max is 5,000. If rankby is set to distance, then leave this blank.

Extractors

  • Google Maps Place Photos .results.photos
  • Google Maps Places .results
Posted by steve on April 8, 2020, 3:06 p.m. ๐Ÿšฉ  Report