• Installs:
  • Today: 25
  • All Time: 10152
Developer:userdimas

GooglePlaces API Package

Add location awareness for more contextual results.

List of Endpoints
This is the list of endpoints this API includes. To add any of the endpoints to your app, please click on “Connect to endpoint” text.
See All
Discussions
See All
Readme

GooglePlaces

GooglePlacesAPI Package

Add location awareness for more contextual results.

  • Domain: google.com
  • Credentials: apiKey

How to get credentials:

  1. Go to Google Developers Console
  2. Select a project, or create a new one
  3. Press Continue to activate API key
  4. Select 'Enable APIs and services' to enable the APIs you want to use
  5. In the sidebar on the left, select Credentials
  6. If your project has no API key for the server, create it now - Create credentials > API key

Custom datatypes:

DatatypeDescriptionExample
DatepickerString which includes date and time2016-05-28 00:00:00
MapString which includes latitude and longitude coma separated50.37, 26.56
ListSimple array["123", "sample"]
SelectString with predefined valuessample
ArrayArray of objects[{"Second name":"123","Age":"12","Photo":"sdf","Draft":"sdfsdf"},{"name":"adi","Second name":"bla","Age":"4","Photo":"asfserwe","Draft":"sdfsdf"}]

getNearbyPlaces

Search for places within a specified area. You can refine your search request by supplying keywords or specifying the type of place you are searching for.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
coordinateMapThe latitude nad longitude of place coma separated.
radiusstringDistance in meters over which the results must be found. The maximum allowable range is 50 000 meters. Note that the radius parameter should not be used if the value rank_by = distance
rank_by (optional)SelectThe order of the results. The possible values are: prominence (the default) - the results are sorted by popularity. Priority is given to the ranking of the more famous sites located in a given area. At a certain place affect the rating in the Google index, the overall popularity and other factors. distance - the results are sorted in order of proximity to the point specified in the parameter location. If you specify distance, you must also specify one or more parameters keyword, name, or type.
keyword (optional)stringThe word on which the search is conducted in all contents are indexed by Google for a given place, including the name, type, address, user reviews and third-party content.
language (optional)stringThe language code, which should be possible to return the results. See the List of supported languages and their codes.
minimum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
maximum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
name (optional)stringThe space-separated words that are being sought in the names of places.
open_now (optional)stringLimit search results to only those organizations (establishments) that are open at the time of sending the request.
type (optional)ListLimit search results to only those places whose type corresponds to at least one of these. Types should be separated by a vertical bar (type1 \type2 \etc). See the List of supported types

searchPlacesByText

The service responds with a list of places matching the text string and any location bias that has been set.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
querystringThe phrase that is searched for, such as "restaurant".
coordinateMapThe latitude nad longitude of place coma separated.
radius (optional)stringDistance in meters over which the results must be found. The maximum allowable range is 50 000 meters. Note that the radius parameter should not be used if the value rank_by = distance
language (optional)stringThe language code, which should be possible to return the results. See the List of supported languages and their codes.
minimum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
maximum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
open_now (optional)stringLimit search results to only those organizations (establishments) that are open at the time of sending the request.
type (optional)ListLimit search results to only those places whose type corresponds to at least one of these. Types should be separated by a vertical bar (type1 \type2 \etc). See the List of supported types

getNearbyPlacesRadar

Search for up to 200 places at once, but with less detail than is typically returned from a Text Search or Nearby Search request.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
coordinateMapThe latitude nad longitude of place coma separated.
radiusstringDistance in meters over which the results must be found. Note that radius must not be included if rankby=distance. The maximum allowable range is 50 000 meters. Note that the radius parameter should not be used if the value rank_by = distance
keywordstringThe word on which the search is conducted in all contents are indexed by Google for a given place, including the name, type, address, user reviews and third-party content.
name (optional)stringThe space-separated words that are being sought in the names of places.
language (optional)stringThe language code, which should be possible to return the results. See the List of supported languages and their codes.
maximum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
minimum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
open_now (optional)stringLimit search results to only those organizations (establishments) that are open at the time of sending the request.
type (optional)ListLimit search results to only those places whose type corresponds to at least one of these. Types should be in array. See the List of supported types

getNearbyPlacesByName

Search for up to 200 places at once, but with less detail than is typically returned from a Text Search or Nearby Search request.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
coordinateMapThe latitude nad longitude of place coma separated.
radiusstringDistance in meters over which the results must be found. Note that radius must not be included if rankby=distance. The maximum allowable range is 50 000 meters. Note that the radius parameter should not be used if the value rank_by = distance
keyword (optional)stringThe word on which the search is conducted in all contents are indexed by Google for a given place, including the name, type, address, user reviews and third-party content.
namestringThe space-separated words that are being sought in the names of places.
language (optional)stringThe language code, which should be possible to return the results. See the List of supported languages and their codes.
maximum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
minimum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
open_now (optional)stringLimit search results to only those organizations (establishments) that are open at the time of sending the request.
type (optional)ListLimit search results to only those places whose type corresponds to at least one of these. Types should be in array. See the List of supported types

getNearbyPlacesByType

Search for up to 200 places at once, but with less detail than is typically returned from a Text Search or Nearby Search request.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
coordinateMapThe latitude nad longitude of place coma separated.
radiusstringDistance in meters over which the results must be found. Note that radius must not be included if rankby=distance. The maximum allowable range is 50 000 meters. Note that the radius parameter should not be used if the value rank_by = distance
keyword (optional)stringThe word on which the search is conducted in all contents are indexed by Google for a given place, including the name, type, address, user reviews and third-party content.
name (optional)stringThe space-separated words that are being sought in the names of places.
language (optional)stringThe language code, which should be possible to return the results. See the List of supported languages and their codes.
maximum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
minimum_price (optional)SelectThe price range, limiting the search results. Valid entries are from 0 (free) to 4 (most expensive).
open_now (optional)stringLimit search results to only those organizations (establishments) that are open at the time of sending the request.
typeListLimit search results to only those places whose type corresponds to at least one of these. Types should be in array. See the List of supported types

getPlaceDetails

Request more details about a particular establishment or point of interest.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
place_idstringThe unique text identifier, returned by the getNearbyPlaces method.

getImageURL

Get the image URL for an image of a place.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
image_idstringThe unique text identifier "photo_reference", returned by the getNearbyPlaces method.
max_widthstringIndicate the values in pixels for the maximum width of the returned image.
max_heightstringIndicate the values in pixels for the maximum height of the returned image.

addPlace

Add a new place to Google Maps. The new place is available immediately in Nearby Searches initiated by your application. The new place also enters a moderation queue to be considered for Google Maps. A newly-added place does not appear in Text Search or Radar Search results, or to other applications, until it has been approved by the moderation process.

FieldTypeDescription
apiKeycredentialsThe api key obtained from Google Developers Console.
accuracynumberThe accuracy of the location of the signal (in meters), which is based on the request.
address (optional)stringThe address place to be added.
languagestringThe language in which the title is transferred to the place. See the List of supported languages and their codes.
coordinateMapThe latitude nad longitude of place coma separated.
namestringThe full name of the place. No more than 255 characters.
phoneNumber (optional)stringThe phone number of the place.
typesstringThe category to which this place. See supported types
website (optional)stringThe URL-address of the official web site of the place, such as home organization page.
x
circle
GooglePlaces
$ / m
We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
?

Oops, we are missing some details

Looks like there are a few missing details that you haven't filled in yet.
These details are important and will help us protect you and let you know about anything new.

x

Why sign up to RapidAPI?

  • integrate
    Integrate APIs into your app
    Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
  • keys
    Save all API keys in one place
  • notifications
    Get notifications about API changes
  • stats
    Get stats and monitor API connections
__SING_UP_WITH_GITHUB__
__SING_UP_WITH_FACEBOOK__
__SING_UP_WITH_GOOGLE__
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view