.nu
API Commands
Section titled “API Commands”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.
Domain Registration
Section titled “Domain Registration”(API Command reference » AddDomain)
command = AddDomaindomain = yourdomain.nuperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)X-NU-IIS-IDNO = (TEXT)X-NU-IIS-VATNO = (TEXT)Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
command = ModifyDomaindomain = yourdomain.nuChange of Registrant
Section titled “Change of Registrant”command = TradeDomaindomain = yourdomain.nuownercontact0 = (CONTACT)X-NU-IIS-IDNO = (TEXT)X-NU-IIS-VATNO = (TEXT)The owner change process has adapted the FoA procedure, where an email will be sent to the current and future owner of the domain, who have to approve the owner change. If no agreement is given, the trade request expires after 10 days.
Domain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
command = RenewDomaindomain = yourdomain.nuperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
COMMAND = DeleteDomainDOMAIN = yourdomain.nuDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
command = TransferDomaindomain = yourdomain.nuaction = REQUESTauth = (TEXT)Authorization Codes
Section titled “Authorization Codes”command = ModifyDomaindomain = yourdomain.nux-request-authcode = 1Starting June 1st, 2024, auth-codes can only be set by the registry. To request a new auth-code, please submit a ModifyDomain command with x-request-authcode = 1. Afterwards you can retrieve the new auth-code via a StatusDomain command.
New auth-codes have the format detailed below:
TLD-expire date-registrar-unique token
NU-230506-TESTAB-8fb1afcd-fc92-4809-a77f-b8641b7723ab
Please be aware that the whole string is needed as auth code.
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
command = RestoreDomaindomain = yourdomain.nuDomain Extensions
Section titled “Domain Extensions”| X-NU-IIS-IDNO | Personal identification number, corporate identity number or registration designation in a governmental register. For contacts located in Sweden a valid Swedish ID number is necessary (e.g.: 123456-1234) |
|---|---|
| X-NU-IIS-VATNO | Valid VAT ID for companies. |
Domain Restrictions
Section titled “Domain Restrictions”Any natural person or legal entity with a personal identification number or corporate identity number, or that can be identified via a registration designation in a register maintained by a governmental authority, or by an organization exercising state authority, may apply for registration of a domain name under the top-level domain .nu. For foreign domain holders, a unique identification number can be used instead.
- ID numbers need to be provided in their respectively correct formatting. This may vary by type and origin.
IDN Information
Section titled “IDN Information”Valid IDN languages are languages regarding ISO-8859-1, Western European languages, with the exception of the Dutch “ij” ligature
Supported IDN Scripts
Section titled “Supported IDN Scripts”The following IDN scripts are supported by .nu.
Provide the LANGUAGE TAG corresponding to your desired IDN within the AddDomain command as X-IDN-LANGUAGE extension.
| Latin | LAT |
|---|---|
| Swedish | SE |
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.
