Google Places · Example Payload

Autocomplete Response Example

RestaurantGeolocationGoogleLocationsMapsPlacesPoints of Interest

Autocomplete Response Example is an example object payload from Google Places, with 1 top-level field. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

suggestions

Example Payload

Raw ↑
{
  "suggestions": [
    {
      "placePrediction": {
        "place": "places/ChIJN1t_tDeuEmsRUsoyG83frY4",
        "placeId": "ChIJN1t_tDeuEmsRUsoyG83frY4",
        "text": {
          "text": "Google Building 40",
          "languageCode": "en"
        },
        "structuredFormat": {
          "mainText": {
            "text": "Google Building 40",
            "languageCode": "en"
          },
          "secondaryText": {
            "text": "Google Building 40",
            "languageCode": "en"
          }
        }
      },
      "queryPrediction": {
        "text": {
          "text": "Google Building 40",
          "languageCode": "en"
        }
      }
    }
  ]
}