Autocomplete Response Fields

Below table lists the response fields returned:
Table 1.
Response ElementTypeDescrition
addressResponseAddressDisplays components of the address
addressLines<String> arrayAll address components are formatted and presented according to UPU standards.
"PRIME MINISTER& FIRST LORD OF THE TREASURY",
"10 DOWNING STREET",
"LONDON",
"SW1A 2AA",
"UNITED KINGDOM"
addressNumberStringHouse or building number."10" or "630"
admin1AdminFieldSpecifies the largest geographic area, typically a state or province."New York" or "Maharashtra".

The field can contain either longName or shortName.

Note:
Only a few countries support shortName. In most cases, shortName and longName will have the same value.
admin2AdminFieldSpecifies the secondary geographic area, typically a county or district."Douglas County" or "West Mumbai".

The field can contain either longName or shortName.

Note:
Only a few countries support shortName. In most cases, shortName and longName will have the same value.
boroughAdminFieldUnit of local government or other administrative subdivision."Vazira" or "Manhattan"
buildingStringA roofed and walled structure built for permanent use.
cityAdminFieldSpecifies a city or town name."New York City"
countryCountryFieldValues are based on the ISO 3166-1 standard for country codes (returned in alpha-2, alpha-3, or numeric format).
customFieldsObjectReturns additional information about the address.
explanationExplanationDescribes the level of matching for each component of an address.
floorStringEach level within a building.
formattedAddressStringAll address components are formatted and presented according to UPU standards.
"PRIME MINISTER& FIRST LORD OF THE TREASURY, 10 DOWNING STREET, LONDON, SW1A 2AA"

or "630 168TH ST, NEW YORK NY 10032-3725"

formattedLocationAddressStringLocation portion of the address, formatted to the country's standard."LONDON SW1A 2AA" or "NEW YORK, NY 10032-3725"
formattedStreetAddressStringStreet portion of the address, including the directional and street suffix, formatted to the country's standard."10 DOWNING STREET" or "630 W 168TH ST"
geometryGeometryProvides the candidate's geometry.
locationLocationDescribes the location type and coordinates.
neighborhoodAdminFieldSpecifies a city subdivision or locality.""
parsedParsedAddressShows how the address was parsed, using the specified addressing process.
placeNameStringIf applicable, indicates the name of the candidate's place or building."PRIME MINISTER& FIRST LORD OF THE TREASURY"
postalCodeStringPostal codes are provided in separate segments and must be combined to create the full postal code."80125"
postalCodeExtStringSecondary postal code, if one exists. For example, in the US, a ZIP+4 is 80125-8012."8012"
propertiesObjectcrsName - The coordinate reference system (CRS) used for the candidate's geocode. Expressed in epsg:nnnn format; the default is epsg:4326.
roomStringA single room within a building.
scoreIntegerProvides a number from 0-100 to indicate how much the input was changed in order to match to the output candidate. It looks at certain fields including the house and unit numbers, street name, directional, and type, as well as postcode and area name fields. A score of 100 means that all the input fields checked exactly matched the output candidate. Available for all countries and the calculation is consistent from one country to another.
streetStringStreet name only (no directional or street suffix)."FRASER RIVER" or "168TH"
suburbAdminFieldMixed-use or residential area within commuting distance of a city or urban area.""
typeStringFeature
unitStringThe unit number, such as "3B".
unitTypeStringA group or suite of rooms within a building that are under common ownership or tenancy, typically having a common entrance. (APT, STE, FLAT, etc.).