Address Object for Addresses 

Listen for Events Example

DOTSGlobalAddressComplete.listen("populate", function(address, variations) {
    document.getElementById("LabelJSON").innerText = address.FormattedAddress.toUpperCase();
});

Address

FieldTypeDescriptionUSA
Only
AddressStatusStringThe status of a US address “Address Verified”, “Premise Number Unknown”, …*
LanguageString
Language of returned address.
LanguageAlternativesStringAvailable alternative languages for the results.
BusinessNameStringName of business associated with this address. Provided when possible.
SubPremiseStringUnit/Apt/Suite…
PremiseNumberStringStreet number.
PremiseNameStringBuilding name.
StreetNameStringThe name of the street.
StreetLineStringThe name of the street and street suffix.
LocalityStringThe name of the distinct population cluster, such as a City, Town or other type of Municipality.
Address1StringAddress Line 1 of the Address.
Address2StringAddress Line 2 of the Address.
Address3StringAddress Line 3 of the Address.
Address4StringAddress Line 4 of the Address.
Address5StringAddress Line 5 of the Address.
AdminAreaStringThe name of the administrative division. Commonly the primary division of a country, such as a State, Region, Province, County, Territory or Prefecture.
AdminAreaCodeStringUsually the abbreviation of AdminArea.
PostalCodeStringThe postal code of the address. It is recommended that the postal code be formatted to contain a strong resemblance to the proper country specific format, and that you do not precede the postal code with a country or region code. For example, use ‘09170’ instead of ‘FR-9170’.
CountryStringCountry of the selected address.
CountryISO2StringThe ISO 3166-1 Alpha-2 Country Code of the country associated to the address selected.
CountryISO3StringThe ISO 3166-1 Alpha-3 Country Code of the country associated to the address selected.
POBoxStringIndicate if the address is a PO Box.
FormattedAddressStringStandardized complete address.
AddressTypeStringThe type of the address, such as Commercial, Residential, Unknown. *USA, Canada and UK ONLY
ResolutionLevelStringThe resolution level of the address returned, such as Premise, Street, Range
BarcodeDigitsIntegerThe post office delivery barcode digits.
Barcode Example: 931011445011
*
CarrierRouteString4 chars: 1 for the route type, 3 for the route code. Identifies a group of addresses when prepended by 5-digit Zip.*
CountyNameStringThe name of the county in which the given address lies.*
CountyCodeStringThe county code of the given address.*
CongressCodeStringThe congress code is the congressional district number.*
DPVStringNumber that correlates to a DPV(Delivery Point Validation) result. An indicator displaying whether or not the address is recognized as deliverable by the USPS.*
DPVDescStringExplains DPV result.*
AddressNotesStringNumber that correlates to DPV notes description. Service Objects may add or change Note descriptions, but will never modify existing codes.*
AddressNotesDescStringDetails about the DPV result. Service Objects may add or change Note descriptions, but will never modify existing codes.*
CorrectionsStringNumber that correlates to a Corrections Description. Service Objects may add or change Correction descriptions, but will never modify existing codes.*
CorrectionsDescStringDescription of what was corrected in an address. Service Objects may add or change Correction descriptions, but will never modify existing codes.*
StreetPreDirectionalStringThe parsed pre-directional of the address’s street.
“North” in 123 North Main St West Apt A
*
StreetPostDirectionalStringThe parsed post-directional of the address’s street.
“West” in 123 North Main St West Apt A
*
StreetSuffixStringThe parsed suffix of the street in the given address.
“St” in 123 North Main St West Apt A
*

Address Type – Supported Countries

Canada
United Kingdom
United States