Google Maps Nearby Place Search - Data API Endpoint

Nearby Place Search by location, api key, pagination token, query, radius, type and order.


Get bulk Nearby Place Search data from the Google Maps API | Official API: https://www.google.com/maps | 👥  Contributors: steve 🚩  Report

✏️ Inputs

Location location Required

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

E.g. 40.7128,-74.0060
API Key api_key Required

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).

Pagination Token token Optional

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.

Query query Optional

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.

E.g. italian restaurant
Radius radius Optional

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.

E.g. 5000
Type type Optional

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

E.g. bar
Order order Optional

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

📝 Notes

Posted by steve on June 29, 2022, 6:31 a.m. 🚩  Report

⚡️ Endpoint

GET https://maps.googleapis.com/maps/api/place/nearbysearch/json?key={{api_key}}&radius={{ radius }}&type={{ type }}&pagetoken={{ token }}&keyword={{query}}&rankby={{order}}&location={{location}}

Body

None

Headers