Geocode Response Fields

Below table lists the response fields returned:
Table 1.
Response ElementTypeDescription
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"

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"

formattedLocationAddressStringLocation portion of the address, formatted to the country's standard.

"LONDON SW1A 2AA" or "NEW YORK, NY 10032-3725"

addressNumberStringHouse or building number.

"10" or "630"

countryCountryFieldValues are based on the ISO 3166-1 standard for country codes (returned in alpha-2, alpha-3, or numeric format).
admin1AdminFieldSpecifies the largest geographic area, typically a state or province.

"New York" or "Maharashtra".

admin2AdminFieldSpecifies the secondary geographic area, typically a county or district.

"Douglas County" or "West Mumbai".

cityAdminFieldSpecifies a city or town name.

"New York City"

neighborhoodAdminFieldSpecifies a city subdivision or locality.

""

suburbAdminFieldMixed-use or residential area within commuting distance of a city or urban area.

""

boroughAdminFieldUnit of local government or other administrative subdivision.

"Vazira" or "Manhattan"

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"

placeNameStringIf applicable, indicates the name of the candidate's place or building.

"PRIME MINISTER& FIRST LORD OF THE TREASURY"

buildingStringA roofed and walled structure built for permanent use.
floorStringEach level within a building.
roomStringA single room within a building.
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.).
streetStringStreet name only (no directional or street suffix).

"FRASER RIVER" or "168TH"

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.
addressResponseAddressDisplays components of the address.
addressLines<String> array>Displays multiple formatted lines to support the postal standard of a given country.

"PRIME MINISTER& FIRST LORD OF THE TREASURY",

"10 DOWNING STREET",

"LONDON",

"SW1A 2AA",

"UNITED KINGDOM"

locationLocationDescribes the location type and coordinates.
parsedParsedAddressShows how the address was parsed, using the specified addressing process.
explanationExplanationDescribes the level of matching for each component of an address.
customFieldsObjectReturns additional information about the address; see Custom Output Fields (All Fields).
typeStringFeature
propertiesObjectcrsName - The coordinate reference system (CRS) used for the candidate's geocode. Expressed in epsg:nnnn format; the default is epsg:4326.
geometryGeometryProvides the candidate's geometry.