Skip to content

.co.nz

Please find in the following a set of the most commonly used standard API commands in order to register, modify, renew, and transfer a domain name.

(API Command reference » AddDomain)

Command
command = AddDomain
domain = yourdomain.co.nz
period = (INT)
ownercontact0 = (CONTACT)
admincontact0 = (CONTACT)
techcontact0 = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0 = (NAMESERVER)
nameserver1 = (NAMESERVER)
auth = (auth)
  • The Authcode of a domain will expire after 30 days.

<

(API Command reference » ModifyDomain)

Command
command = ModifyDomain
domain = yourdomain.co.nz

(API Command reference » RenewDomain)

Command
command = RenewDomain
domain = yourdomain.co.nz
period = (INT)
expiration = (INT)

(API Command reference » DeleteDomain)

Command
COMMAND = DeleteDomain
DOMAIN = yourdomain.co.nz

(API Command reference » TransferDomain)

Exception
command = TransferDomain
domain = yourdomain.co.nz
action = request
auth = (auth)
  • A .co.nz domain transfer must be initiated with a so-called authorisation code (AUTH, always 16 characters), which can be obtained from the current registrar through the owner or Admin-C of the domain.
  • Please note that the AUTH changes automatically upon certain domain operations (e.g. Updates, Transfer)
  • The AUTH will expire after 30 days, wherefore you might have to request a new AUTH for already existing domain names. To initiate the generation of a new AUTH through the registry, please submit a ModifyDomain command like shown in the example at DomainModification in this article.
  • To check the last set AUTH of an already deleted or expired domain, you can do so using the command StatusDomainHistory.

(API Command reference » RestoreDomain)

Command
command = RestoreDomain
domain = yourdomain.co.nz

There are no restrictions for .co.nz

The following IDN scripts are supported by .co.nz.
Provide the LANGUAGE TAG corresponding to your desired IDN within the AddDomain command as X-IDN-LANGUAGE extension.

n/aMaori

Get more information of “IDN tables”, which represent permitted code points (letters) allowed for Internationalised Domain Name registrations in particular registries on IANA Repository of IDN Practices.