Input

Validate Address Loqate takes an address as input. All addresses use this format regardless of the address's country.

Table 1. Input Format

Field Name

Format

Description

AddressLine1

String

The first address line.

AddressLine2

String

The second address line.

AddressLine3

String

The third address line.

AddressLine4

String

The fourth address line.

City

String

The city name.

Country

String

The country code or name, in any of the following formats:

  • Two-character ISO 3166-1 Alpha 2 country code
  • Three-character ISO 3166-1 Alpha 3 country code
  • English country name

See ISO Country Codes and Module Support for a list of ISO codes.

See ISO Country Code and Precision Level for a list of ISO codes.

FirmName

String

The company or firm name.

PostalCode

String

The postal code for the address in one of these formats:

99999
99999-9999
A9A9A9
A9A 9A9
9999 999

StateProvince

String

The state or province.