NZPost.AddressChecker
home
Introduction
The AddressChecker API enables search for domestic addresses for mail. This API can be used for auto-complete (or type-ahead) dialogues for faster addressing entry. It is also used to validate addresses.
Pre-requisites
In order for you to gain access to the APIs, you and your organisation must meet the following pre-requisites:
- Your organisation must have an active NZ Post or CourierPost account number. The account number starts with a 9 or 5.
If you do not have an account number, then you can call 0800 COURIER. - You must have an online New Zealand Post account. You can register here by completing the registration form. The email address you provide on the registration form will be your Developer Portal username.
- You must have reviewed and accepted the Terms and Conditions for use of the NZ Post Group APIs.
- You must have requested and received access to the API.
Support
For developer integration enquiries, please email api@nzpost.co.nz. Support is available during New Zealand business hours.
Reviews
AU
Archana Usha VijayanJan 18, 2023, 1:09 PM
getting Cors error
While calling autherization curl as a post request using URL getting cors error. Any one know how to solve it.
ET
Emiliano TortorellaJan 9, 2023, 8:47 AM
Missing header for auth
Is not documented, but make sure to add this header on the first authentication POST request, otherwise you will get a 40x error:
"content-type": "application/x-www-form-urlencoded"
`curl` add this header by default when using `-d` parameter but trying to use the `requests` library with Python I had to specify it manually and spend some minutes trying to figure this out. Hope this reduce the troubleshooting time for someone else :)
UU
unknown unknownJun 10, 2022, 3:43 AM
Token valid lifespan
Is that possible to change the token valid lifespan from 24 hours to say, 1 year?
MV
Marcelo VieiraApr 13, 2021, 1:33 AM
404 and 500 response codes
Such a great environment!
Thank you NZ POST to keep detailed documentation available.
Here a question raised by my tester fellows, is it possible confirm/provide details on how I can reproduce the response codes 404 and 500?
My best regards
Marcelo
CS
Chris StaceySep 10, 2020, 3:49 AM
Documentation missing header
Need to add header to the request
Accept: application/json