This operation provides address fragments based on validated address inputs.

URL Endpoints

ParseCanadianAddress Inputs

NameTypeDescription
AddressStringAddress line of the address to parse.
For example, “123 Main Street”.
Address 2StringThe Address2 of the address to parse. This will only be used in particular situations where the Address1 does not help in validating the address.
MunicipalityStringThe Municipality of the address to parse.
ProvinceStringThe Province of the address to parse.
PostalCodeStringThe Postal Code of the address to parse. A Postal Code isn’t required, but if one is not provided, the Municipality and Province are required.
LicenseKeyStringYour license key to use the service. 
Sign up for a free trial key at 
https://www.serviceobjects.com/address-validation/

ParseCanadianAddress Outputs

NameTypeValuesDescription
CanadianAddressInfoObjectVariesThe returned values of a valid Canadian Address.
ErrorObjectVariesThe returned error result from a failed address verification or user input error.
DebugString[]VariesUsed internally for testing.
NameTypeValuesDescription
AddressStringVariesThe parsed Address line.
Address 2StringVariesThe parsed Address 2 line.
MunicipalityStringVariesThe parsed Municipality
ProvinceStringVariesThe corrected Province.
PostalCodeStringVariesThe parsed PostalCode.
TimeZoneStringVariesNo Result
AddressNumberFragmentStringVariesThe parsed Address Number Fragment.
“123” of “123 S. Main Street” 
StreetNameFragmentStringVariesThe parsed Street Name Fragment
“Main” of “123 S. Main Street” 
StreetTypeFragmentStringVariesThe parsed Street Type Fragment.
“Street” of “123 S. Main Street” 
DirectionalCodeFragmentStringVariesThe parsed Directional Code Fragment.
“South” of “123 S. Main Street” 
UnitTypeFragmentStringVariesThe parsed Unit Type Fragment.
“Apt” or “Suite” etc 
UnitNumberFragmentStringVariesThe parsed Unit Number Fragment.
“1” of “Apt. 1” 
IsPOBoxStringVariesNo Result.
BoxNumberFragmentStringVariesThe parsed Box Number Fragment.
StationInfoStringVariesNo Result.
DeliveryModeStringVariesNo Result.
DeliveryInstallationStringVariesNo Result.

References