.ag
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.agperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)After a successful registration of the domain, it will be transfer locked from the registry for a period of 60 days.
Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
Command
command = ModifyDomaindomain = yourdomain.agDomain Renewal
Section titled “Domain Renewal”(API Command reference » RenewDomain)
Command
command = RenewDomaindomain = yourdomain.agperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
Command
COMMAND = DeleteDomainDOMAIN = yourdomain.agDomain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
Command
command = TransferDomaindomain = yourdomain.agaction = REQUESTauth = (TEXT)Transfer Notes
Section titled “Transfer Notes”- A .ag 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.
- Please ensure, that you have a correct “Authorisation Code” associated with the domain, before initiating the transfer, otherwise it will fail.
- Ensure that your respective domain does not have a lock-status (REGISTRAR-LOCK or HOLD). This can be seen in the WHOIS. If the domain is locked, then the owner can demand that this be unlocked.
- Initiate the transfer on time and not just shortly before the domain expires.
- Please ensure that the domain is older than 60 days otherwise the transfer will be denied.
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
Command
command = RestoreDomaindomain = yourdomain.agDomain Restrictions
Section titled “Domain Restrictions”There are no restrictions for .ag
