Select to view content in your preferred language

How to ensure findAddressCandidates returns deliverable/mailable addresses only

73
0
Thursday
TerryBhatti
New Contributor

When using the findAddressCandidates API, is there a way to ensure that only addresses deliverable by post are returned?

Currently we're setting the category parameter to "subaddress,point address", however for buildings, if input doesn't contain apartment/unit number, the API still returns addresses with only a building number (i.e. without apartment/unit number), which are not valid postal addresses.

For example, if the input contains only a building number, the API will return the address below:

Input:
category=subaddress,point address

countryCode=au
singleLine=1178 hay west perth 6005

Response:
"Match_addr": "1178 Hay St, West Perth, Perth, Western Australia, 6005"
"Addr_type": "PointAddress"

The address type returned (PointAddress) is the same as the type returned for house addresses and no other output field would indicate it is a building. 

Is there a way to filter out these non-valid postal addresses?

(We're using Australian addresses)

 

Thanks.

0 Kudos
0 Replies