Google Places · Example Payload

Nearby Search Request Example

RestaurantGeolocationGoogleLocationsMapsPlacesPoints of Interest

Nearby Search Request Example is an example object payload from Google Places, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

includedTypesexcludedTypesmaxResultCountrankPreferencelanguageCoderegionCodelocationRestriction

Example Payload

Raw ↑
{
  "includedTypes": [
    "restaurant"
  ],
  "excludedTypes": [
    "restaurant"
  ],
  "maxResultCount": 2104,
  "rankPreference": "DISTANCE",
  "languageCode": "en",
  "regionCode": "US",
  "locationRestriction": {
    "circle": {
      "center": {
        "latitude": -9.6506,
        "longitude": 145.315
      },
      "radius": 4586.1
    }
  }
}