New Zealand Postal Code API

Look up postcodes in New Zealand with PostalDataPI — sub-10ms responses, one API key for 70+ countries.

Country Code

NZ

Format

NNNN

Example

6011

About New Zealand postcodes

New Zealand uses 4-digit postcodes. Wellington starts with 6, Auckland with 0-2.

Local term: postcode | Regex pattern: ^\d{4}$

API Usage Examples

cURL

curl -X POST https://postaldatapi.com/api/lookup \
  -H "Content-Type: application/json" \
  -d '{"zipcode": "6011", "country": "NZ", "apiKey": "YOUR_API_KEY"}'

Python

from postaldatapi import PostalDataPI

client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("6011", country="NZ")
print(result.place_name, result.latitude, result.longitude)

Node.js

import { PostalDataPI } from 'postaldatapi';

const client = new PostalDataPI({ apiKey: 'YOUR_API_KEY' });
const result = await client.lookup('6011', { country: 'NZ' });
console.log(result.placeName, result.latitude, result.longitude);

$0.000028 per query

Same price for New Zealand and all 70+ countries. No tiers, no per-country pricing.

New Zealand Postal Code API | PostalDataPI