Google Places · Example Payload

Text Search Request Example

RestaurantGeolocationGoogleLocationsMapsPlacesPoints of Interest

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

Top-level fields

textQueryincludedTypemaxResultCountrankPreferenceopenNowminRatinglanguageCoderegionCodelocationBias

Example Payload

Raw ↑
{
  "textQuery": "Google Building 40",
  "includedType": "restaurant",
  "maxResultCount": 1328,
  "rankPreference": "DISTANCE",
  "openNow": true,
  "minRating": 4.0,
  "languageCode": "en",
  "regionCode": "US",
  "locationBias": {
    "circle": {
      "center": {
        "latitude": 49.1488,
        "longitude": -115.8557
      },
      "radius": 4611.3
    }
  }
}