Address Validation & Lookup

Address lookup methods take partial or complete address information search against an address Source of Truth, returning validated and enriched address information.

To complete address validation requires using 2 API's each provide a specific purpose.

  1. Find - Returns a list of valid addresses based on partial or complete address information.

  2. Retrieve - Using the 'Find id' returns the validated and enriched address information.

Supported Countries: All countries including Australia and New Zealand. See our global data coverage.

Looking for Address by Geocode or Reverse Geocoding? Click here

Find

Lookup addresses using a partial or complete address information in a single line address field.

You can do further lookup using the id when the Type of the result was not Address.

HTTP POST will only process the first record in the request.

International addresses lookup using a single-line input address

get
Authorizations
AuthorizationstringRequired
Query parameters
countrystringRequired
fullAddressstringRequired
sourceOfTruthstringOptional
idstringOptional
featureOptionsstringOptionalExample: groupAddresses:1;exposeAttributes:1
Responses
200

OK

application/json
get
/rest/v2/address/find
200

OK

International addresses lookup using a single-line input address

post
Authorizations
AuthorizationstringRequired
Body

The get international geocode request body:

  • country: the name or ISO-2 or ISO-3 country code (case-insensitive). Most country names will be recognised but the use of the ISO country code is recommended. Example: 'GB'.
  • fullAddress: the location to geocode. This can be a postal code or place name. Example: '13 Westdyke Terrace, Elrick, WESTHILL, AB32 6JA'.
sourceOfTruthstring · enumOptionalPossible values:
transactionIDstringOptional
Responses
200

OK

application/json
post
/rest/v2/address/find
200

OK

Resource

Request

The request body is an AddressRestRequest object.

We have a large amount of use case based performance tuning that can be done.

*=required field

Name
Type
Example
Description

Payload

country*

string

AU

ISO-2 or ISO-3 country

fullAddress*

string

10 High

partial address information entered by end users.

id

string

AU1235

The id from previous request indicating request from groupedAddress

state

string

NSW

AU & NZ only. Filters to address response to the state

locality

string

Sydney CBD

AU & NZ only. Filters to address response to the locality. Often used with strictValidation = 0.

postcode

string

2000

AU & NZ only. Filters to address response to the postcode. Often used with strictValidation = 0.

sourceOfTruth

sourceOfTruth*

string

AUSOTS

Within AU & NZ specifies the desired dataset for your use case. Options:

AUS: "AUPAF", "GNAF", "AUSOTS","AUPOST"

NZ: "NZPAF", "NZAD", "CNAR"

featureOptions

singleLineHitNumber

integer

5 default 20

Maximum number of results returned from the lookup.

caseType

string

TITLE default UP

Case type for the returned addresses and components. LOW = lowercase, UP = UPPERCASE, TITLE = Title Case

moreSources

string

"AUPOST,NZAD"

Lookups additional Sources of Truth and combines results. Used in conjunction with sourceOfTruth to expand address reach.

displayGnafLot

string

("0"|"1") default 1

Determines if the lot information is displayed in addresses retrieved from GNAF.

suppressLot

string

("0"|"1") default 1

Suppresses Lot information when a street# is available in the address. If Street# is not in address then Lot information is displayed. Used when displayGnafLot = 1 and suppressLot = 1.

groupAddresses

string

("0"|"1") default 0

If "1", the service will try to collapse sub-dwelling addresses within the same primary address into a group to reduce clutter. Recommended for INTL addresses.

positionFilter

string

POSTAL ROOFTOP DOORSTOP SINGLE

AU Only. Default all

Array of filters to be applied to the lookup results. Used to control which addresses you have in your serviceable network.

addressTypeFilter

string

urban, box, bag, rural, counter, cmb urban, cmb rural, upl, lpo, cpa, rp, ra, rspb, cspb

Default all

Array of filters to be applied to the lookup results. Used to control which addresses you have in your serviceable network.

exposePhantom

string

("0"|"1") default 0

Determines whether to expose phantom addresses for AUPAF. If the flag is set to "1", it will expose phantom address.

baseSource

string

"GNAF" |"AUPAF" default "GNAF"

Used when SourceOfTruth is AUSOTS. Specifies which data source is used as the base for the search result.

prioritizedSort

string

("0"|"1") default 1

Sorts locality information based on popularity of addresses.

splitNzFloorLevel

string

("0"|"1") default 0

Used when SourceOfTruth is NZPAF.

When "1", the floor information will be splitted into "floorLevelType" and "floorLevelNumber".

userInferred

string

("0"|"1") default 0

Takes user input relating to subdwellings and inferrers this into the find results. See our guide.

Response

The response body is an AddressRestResponse object.

Examples

Our API is highly configurable for your use case. Contact us to help get guidance on optimal settings.

Find AUPAF

Request: lookup addresses with AUPAF Source of Truth including group addresses.

Response of Request:

Find GNAF

Request 1: lookup addresses with GNAF Source of Truth including group addresses.

Response of Request 1:

Find GNAF with Suppress Lot

Request 1: lookup addresses with GNAF Source of Truth that includes address records with Lot number suppressed when Street Number exists.

  • suppressLot = 1 is the featureOption used to suppress the lot number when street number exists.

  • displayGnafLot =1is the featureOption that displays. 1=true. This is important for address that do not have street numbers.

  • Lot number will still be displayed for the records that do not have street number. Australia only, use it with sourceOfTruth:GNAF/AUSOTS.

Response of Request 1:

n

Find sub-premises by using ID

Request 1: lookup addresses further for BuildingNumber Type record below with GNAF Source of Truth.

Response of Request 1:

n

Find NZAD

Request 1: lookup addresses with NZAD Source of Truth.

Response of Request 1:

Find CNAR

Request 1: lookup addresses with NZAD Source of Truth.

Response of Request 1:

Find UK/INTL with Grouped addresses

Request 1: lookup UK addresses including group addresses.

Response of Request 1:

Find UK/INTL with Street Type

Request 1: lookup UK addresses further for Street Type record below.

Response of Request 1:

Find sourceOfTruth with AU Parcel Locker Plus

Request 1: lookup addresses with AUPAF and AUPOST Assets (All: Parcel Locker, Offices, Shops)

Response of Request 1:

As AUPOST is listed as moreSource the Source of Truth addresses are prioritized.

Request 2: lookup addresses with AUPAF and AUPOST Assets (Filter specific Aupost assests using addressTypeFilter)

Response of Request 2:

As AUPOST is listed as moreSource the Source of Truth addresses are prioritized.

Using the id you can call retrieve function see Retrieve AustPost Asset

Find AU Parcel Locker Plus (Aust Post Assets)

You can apply filters depending on AustPost Asset (see addressTypeFilter). See Request 2 in this section

Request 1: lookup addresses with AUPOST Assets (All: Parcel Locker, Offices, Shops).

Response of Request 1:

Using the id you can call retrieve function see Retrieve AustPost Asset

Request 2: lookup addresses with AUPOST Assets filtering only Parcel Lockers

Response of Request 1:

Find Derived Address

Request 1: lookup addresses with derived sub-premises enabled.

Response to Request 1:

Using the id you can call retrieve function see Retrieve Derived Address

Retrieve

Retrieves validated address for the supplied idusing the Find method.

International addresses retrieve by id

get
Authorizations
AuthorizationstringRequired
Query parameters
idstringRequired
featureOptionsstringOptionalExample: groupAddresses:1;exposeAttributes:1
Responses
200

OK

application/json
get
/rest/v2/address/retrieve
200

OK

International addresses retrieve by id

post
Authorizations
AuthorizationstringRequired
Body

The get international geocode request body:

  • country: the name or ISO-2 or ISO-3 country code (case-insensitive). Most country names will be recognised but the use of the ISO country code is recommended. Example: 'GB'.
  • fullAddress: the location to geocode. This can be a postal code or place name. Example: '13 Westdyke Terrace, Elrick, WESTHILL, AB32 6JA'.
sourceOfTruthstring · enumOptionalPossible values:
transactionIDstringOptional
Responses
200

OK

application/json
post
/rest/v2/address/retrieve
200

OK

Resource

Request

The request body is an AddressRestRequest object:

*=required field

Name
Type
Example
Description

payload

id*

string

"AU|GNAF|GANSW705038278"

ID given within the payload of the Find API response.

featureOptions

caseType

string

"TITLE" default UP

Case type for the returned addresses and components. LOW = lowercase, UP = UPPERCASE, TITLE = Title Case

displayGnafLot

string

("0"|"1") default 1

Determines if the lot information is displayed in addresses retrieved from GNAF.

suppressLot

string

("0"|"1") default 1

Suppresses Lot information when a street# is available in the address. If Street# is not in address then Lot information is displayed. Used when displayGnafLot = 1 and suppressLot = 1.

exposeAttributes

Integer

(0-7)

Enriches the data with address related attributes depending on value. Options 0,1,2,3,4,5,6,7

Response

The response body is an AddressRestResponse object.

Examples

All retrieves for all countries are made using the same method as above.

Our universal fields makes country mapping core address fields easy (see guide address field mapping.) Depending on country and dataset the response packages do change particularly in available attributes.

Retrieve validated: AUPAF

Request 1: Retrieve address AUPAF with Find ID

Response to Request 1: Includes DPID, Barcode and Address mapping

Retrieve validated: AU GNAF

Request 1: retrieve addresses with GNAF Source of Truth that includes address records with Lot number suppressed when Street Number exists.

  • suppressLot = 1 is the featureOption used to suppress the lot number when street number exists.

  • displayGnafLot =1is the featureOption that displays. 1=true. This is important for address that do not have street numbers.

  • Lot number will still be displayed for the records that do not have street number. Australia only, use it with sourceOfTruth:GNAF/AUSOTS.

Response of Request 1:

Retrieve validated: NZAD

Request 3: retrieve an New Zealand address from NZAD Source of Truth.

Response of Request 3:

Retrieve validated: CNAR

Request 3: retrieve an New Zealand address from NZAD Source of Truth.

Response of Request 3:

Retrieve validated: UK (INTL)

Request 1: retrieve a United Kingdom address.

Response of Request 1:

Retrieve validated: USA (INTL)

Request 1: retrieve a United States of America address.

Response of Request 1:

Retrieve validated: Aust Post Parcel Locker Only

Request 1: retrieve AUPOST addresses

Response to Request 1:

Retrieve validated: Derived Address

Request 1: retrieve addresses with derived sub-premises enabled.

Response to Request 1:

When sub-premise is derived we respond with the validated information eg premise level information including additional field attributes.UserInferred that describes the derived sub-premises.

Last updated