AddressDetails
ObjectStructured details for an address resolved from an autocomplete suggestion.
Fields
- String
address1 Street name and number combined, when available.
- String!
addressId Opaque identifier matching the original prediction’s AddressId.
- String
city City / locality.
- String
countryCode ISO 3166-1 alpha-2 country code.
- String
countryName Full country name, localised when possible.
- String
formattedAddress Provider-formatted single-line address (e.g. “Gardes Allé 1, 2900 Hellerup, Denmark”).
- Float
latitude Latitude in WGS-84 degrees.
- Float
longitude Longitude in WGS-84 degrees.
- String
postalCode Postal code / ZIP.
- String
state State / province / region (administrative area level 1).
Queries
Resolves structured address details for an addressId previously returned by addressPredictions. The sessionToken follows the same composite format as the predictions query; clients must mint a fresh Google-session-token half for each details call so Google bills it as a new session.