Bulk Address Validation with CSV Spreadsheets

Verify and cleanse NZ addresses and postal codes using an Excel CSV Spreadsheet

What are the benefits of address validation?

  • Fast - validate thousands of addresses in minutes
  • Verified - addresses are matched against authoritative NZ Post and LINZ datasets
  • Standardised - all verified addresses are in the same consistent address format
  • Recovered - missing attributes such as postal codes, suburbs and cities will be added to the addresses
  • Enhanced - new metadata such as the latitude and longitude geocoordinates and Stats NZ Census metadata will be added too
  • Deduplicated - using the Addy ID or NZ Post DPID you can uniquely identify addresses for duplication detection
  • Transparent Pricing - Verify 500 addresses free per month, choose a plan if you need more

Step by step guide to perform bulk address verification using a CSV spreadsheet


  1. Prepare the CSV for address verification
  2. Upload the CSV for address matching
  3. Download the CSV with cleansed addresses

1. Prepare the CSV for address verification

Download CSV Template with sample addresses to get started; or

  • Export / copy and paste your address data from your database into a spreadsheet
  • Add a heading on row one
    • All headings containing the word "Input" or "Address" will be combined for verifying addresses
    • All other headings such as "Customer ID" and "Email" will be ignored

Below is a screenshot of a valid address .csv:

Bulk address validation CSV spreadsheet

2. Upload the file for address matching

  • Login to your Addy account or register for a free account
  • Navigate to the Validation tab
  • Click on the "Browse" button
  • Select your spreadsheet with addresses prepared in step 1
  • Click "Validate Addresses" to start the address verification process

Below is a screenshot of the address validation upload step:

Bulk addresses verified CSV spreadsheet

How to match the nearest address:

Click on the "When unmatched, use the nearest available address" to return addresses for manual review.

The address validation process performs strict address verification using the Address Validation API to ensure that addresses are correct. In some cases, it can be beneficial to use the nearest possible address, using a fuzzy address search when a match cannot be found.

Unmatched addresses will be flagged as "Review address. Used next best match." in the "Reason" column that can be manually reviewed and verified.

3. Download the verified address results

  • View the progress and matching accuracy of your bulk address validation job
  • Download the validated address file once it is completed

Below is a screenshot of the address validation progress and download option:

Bulk addresses verified CSV spreadsheett

The original address columns will be preserved, and additional address columns will be added for each validated address.

Download Verified Addresses CSV Results

Output Address Fields

The table below describes each column in the Excel CSV spreadsheet. To find a complete description of all the fields, see the response properties for the Address Details API.

Column Description Example
Reason The reason why address validation failed. This field will be blank if the address was matched successfully Review address. Used next best match.
Prefix Prefix address text that was removed Reception or ABC Building
Address Full address in a single line 80 Queen Street, Auckland Central, Auckland 1010
Display Line Holds the single line address display name Floor 2, 1 Blair Street
Street Holds the name and type of the street Blair Street
Suburb Holds the name applied to a group of geographically associated streets Te Aro
City Holds the name of the Town/City provided by Land Information New Zealand (LINZ) Wellington
Mailtown Holds the name of the Town/City/Mailtown associated with this delivery point Wellington
Postcode Holds the four digit code defined by New Zealand Post, which is used to describe the locations linked to sorting zones for mail sorting purposes 0622
X Holds the longitude coordinates in WGS84 format 174.7835236
Y Holds the latitude coordinates in WGS84 format -41.29302216
ID Holds the unique Addy Identifier 2392921
DPID Holds the unique reference number assigned by NZ Post to each delivery point address 1500136
LINZ ID Holds the unique reference number assigned by Land Information New Zealand (LINZ) to each street address 25003
Parcel ID Holds the unique spatial object number representing a land parcel where the postal address resides as assigned by Land Information New Zealand (LINZ) 3757439
Meshblock Holds the foreign key value to link to census and statistical datasets as assigend by Statistics New Zealand (Stats NZ) 2135700
Number Holds the base street number. For Rural addresses these are allocated by territorial authorities 1
RD Number Holds the rural delivery route number
Alpha Holds the alpha component of a street number B
Unit Type Holds the category description of a sub-dwelling type within a building of building compiles. This is used in conjunction with the Unit Number address element Flat
Unit Number Holds the address elements that identifies a specific deliver sub dwelling delivery point within a building or building complex 3
Floor Holds the Floor type and identifier in a multi level building Floor 2
Territory Holds the territorial authority of the address. See districts of NZ< Wellington City
Region Holds the regional authority of the address. See regions of NZ Wellington
Building Holds the building property name for a recognised significant building
Type Holds the type of delivery point (Urban, Rural, PostBox, NonPostal) Urban
Box Bag Number Holds the PO Box/Private Bag number
Ouput Field 1 Holds the correctly formatted address in line 1 Floor 2
Output Field 2 Holds the correctly formatted address in line 2 1 Blair Street
Output Field 3 Holds the correctly formatted address in line 3 Te Aro
Output Field 4 Holds the correctly formatted address in line 4 Wellington 6011
Modified Holds the last modified date of the address 22/01/2018
PAF Source Holds a flag to state if the address was sourced from the New Zealand Postal Address File (TRUE) or Land Information New Zealand (FALSE) TRUE
Deleted Holds a flag to state if the address was deleted FALSE
Suggestions Holds the list of Address Suggestions List of Addresses

Address validation automation loved by developers

Do you prefer to use your own automation tools? Get started by visiting our Address Validation API documentation.