.mx
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
command = AddDomaindomain = yourdomain.mxperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
Command
command = ModifyDomaindomain = yourdomain.mxDomain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
Command
command = RenewDomaindomain = yourdomain.mxperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
Command
COMMAND = DeleteDomainDOMAIN = yourdomain.mxDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
Command
command = TransferDomaindomain = yourdomain.mxaction = REQUESTauth = (TEXT)The transfer time of .mx domains is 10 calendar days.
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
Command
command = RestoreDomaindomain = yourdomain.mxDomain Restrictions
Section titled “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.
