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.mx
period          = (INT)
ownercontact0   = (CONTACT)
admincontact0   = (CONTACT)
techcontact0    = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0	= (NAMESERVER)
nameserver1 	= (NAMESERVER)

Domain Modification

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

Domain Renewal

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

Domain Deletion

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

Domain Transfer

(API Command reference » TransferDomain)
command = TransferDomain
domain = yourdomain.mx
action = REQUEST
auth = (TEXT)

The transfer time of .mx domains is 10 calendar days.

Domain Restore

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

Domain Restrictions

  • NIC.MX performs name server checks. When updating name servers, please make sure that they are correctly configured to serve the corresponding zone. If they are not an update will be denied by NIC.MX and you will be informed by our system via event.
  • If you are using MX or US as country code in one of the contact handles (owner, admin, tech or billing contact), the "state" value becomes mandatory. In case of MX, the abbreviations(ISO-3166) of the different states cannot be used, wherefore the full name has to be given. The different states of Mexico can be found here.

We reallydomains :)
Version: 40f77fcc29bbf86364766d101a2a0a672e459533