CentralNic Reseller Homepage
CentralNic Reseller Homepage


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

(API Command reference » AddDomain)
command         = AddDomain
domain          = yourdomain.ws
period          = (INT)
ownercontact0   = (CONTACT)
admincontact0   = (CONTACT)
techcontact0    = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0	= (NAMESERVER)
nameserver1 	= (NAMESERVER)

Domain Modification

(API Command reference » ModifyDomain)
command = ModifyDomain
domain  = yourdomain.ws

Domain Renewal

(API Command reference » RenewDomain)
command    = RenewDomain
domain     = yourdomain.ws
period     = (INT)
expiration = (INT)

Domain Deletion

(API Command reference » DeleteDomain)
COMMAND = DeleteDomain
DOMAIN = yourdomain.ws

Domain Transfer

(API Command reference » TransferDomain)
command = TransferDomain
domain = yourdomain.ws
action = REQUEST
auth = (TEXT)
  • .ws transfers are NOT offered by all registrars although the registry offers this possibility. A .ws domain can only be transferred if all involved registrars offer .ws transfers. Please contact the current registrar of a .ws domain if transfers are supported before requesting a domain.
  • A .ws domain transfer must be initiated with a so-called Authorisation Code, which can be obtained from the current registrar through the owner or Admin-C of the domain.

Domain Restore

(API Command reference » RestoreDomain)
command = RestoreDomain
domain  = yourdomain.ws

Domain Restrictions

  • There is a minimum of two(2) configured name servers required for the registration.
  • The .ws registry is charging a premium price for certain domain names. Please use the Fee Extension as described in our wiki article PremiumDomainHandling
  • Legacy 2- and 3-character domains registered prior to December 22, 2015 will be treated differently than all other .WS premium domains. Prices for domain renewals and transfers will remain the same as their premium registration fees.

We reallydomains :)
Version: 40f77fcc29bbf86364766d101a2a0a672e459533