CentralNic Reseller Homepage
CentralNic Reseller Homepage

.sg

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)
Exception
command         = AddDomain
domain          = yourdomain.sg
period          = (INT)
ownercontact0   = (CONTACT)
admincontact0   = (CONTACT)
techcontact0    = (CONTACT)
billingcontact0 = (CONTACT)
nameserver0	= (NAMESERVER)
nameserver1 	= (NAMESERVER)
X-SG-RCBID            = (TEXT)(required for .com.sg, optional for .sg in case of trustee)
X-SG-ADMIN-SINGPASSID = (TEXT)(optional in case of trustee)
X-SG-ACCEPT-TRUSTEE-TAC = 0|1
X-IDN-LANGUAGE  = (TEXT)(optional)
  • If you are using SG as country code in one of the contact handles (owner, admin, tech or billing contact), the field "phone" has to be in the following format: +countrycode.areacode.phone
  • The usage of a role contact as owner (e.g. Domain Administrator) is not allowed; please use a valid person's name
  • SGNIC requires all new .sg domain names registered from 2 May 2013 to undergo compulsory verification using SingPass/CorpPass. The verification is to be carried out by the administrative contact of a domain name, to verify the identity and contact information of the registrant after registration and transfer of ownership (trade), or change of the administrative contact.
    • If you are NOT using our trustee solution, the verification involves two steps:

      • a) login to SingPass or CorpPass and

      • b) click on a “Verify Identity” button.

    • The administrative contact will be given a grace period of 21 calendar days from the date of registration to verify the registrant’s identity and contact information. If the administrative contact has not done this after the grace period, SGNIC will suspend the domain name.

    • If you are using the KS-Trustee solution, the steps above will be done by our fulfillment team automatically. For more information, please have a look at: https://www.sgnic.sg/verifiedid%40sg.html

    • .COM.SG domains are only available for organisations / a valid company registration number has to be provided as X-SG-RCBID. This extension is also required, if the trustee is used

Domain Modification

(API Command reference » ModifyDomain)
Exception
command         = ModifyDomain
domain          = yourdomain.sg
X-SG-RCBID = (TEXT) (optional)
X-SG-ADMIN-SINGPASSID = (TEXT) (optional)

Change of registrant

Exception
command         = TradeDomain
domain          = yourdomain.sg
ownercontact0   = (CONTACT)
X-SG-RCBID = (TEXT)

After submission, the current registrant will receive an email by NIC.SG which must be approved for the changes to take effect. A change of registrant is not real time and will need 7 days to complete. The domain will not be renewed after the trade and keep it's expiration date.

Domain Renewal

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

Domain Deletion

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

.sg domains cannot be restored, if the domain has been deleted explicitly (see DomainRestore for more information) or by an AUTODELETE!

Domain Transfer

(API Command reference » TransferDomain)

TransferIN from another registrar to RRPproxy

Exception
command         = TransferDomain
domain          = yourdomain.sg
auth    = .......
ownercontact0   = (CONTACT)
admincontact0   = (CONTACT)(optional|if you are using our Trustee Service please do not add a P-Handle)
techcontact0    = (CONTACT)
billingcontact0 = (CONTACT)
X-SG-RCBID            = (TEXT)(optional in case of trustee)
X-SG-ADMIN-SINGPASSID = (TEXT)
X-SG-ACCEPT-TRUSTEE-TAC = 0|1

The submission of all four contact details is mandatory.

TransferOUT to another registrar

Exception
command         = ModifyDomain
domain          = yourdomain.sg
admincontact0   = (CONTACT)
X-SG-RCBID            = (TEXT)
X-SG-ADMIN-SINGPASSID = (TEXT)
X-SG-ACCEPT-TRUSTEE-TAC = 0

In order to process the transfer you must request an authcode. This is only possible, if the admin contact is not our standard local presence contact (trustee). If you are using the trustee as admin contact, you must request a change of the admin contact first. The new contact must be a local contact in Singapore. Please use the ModifyDomain command as shown, to change the admin contact / local presence contact.

Domain Restore

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

In some cases of explicit domain deletions, restores are still possible. Please get in touch with our support team to get this checked.

Domain Extensions

X-SG-ACCEPT-TRUSTEE-TAC0|1

The trustee service has to be used if:

*The registrant and admin are not located in Singapore.

* The registrant is an organisation located in Singapore and the admin is not located in Singapore.
X-SG-ADMIN-SINGPASSID* If the admin contact is a natural person located in Singapore, the corresponding Singapore Personal Access ID https://www.singpass.gov.sg/sppubsvc/ has to be given. The format of the SingPassID is: X1234567X - where X is an upper case letter at the beginning and end of a seven digit string

* In case of a foreign organization, it is possible to use the SGNICID:
SGNICID-X12-345678 - the SGNICID will look like this example
X-SG-RCBID* For companies located in Singapore, the corresponding company registration number has to be given.

* For Singapore citizens and permanent residents, please provide NRIC or Passport No.

* For Singapore companies, please provide RCBID as it appears in RCB Certificate.

* For Singapore societies, please provide RCBID as it appears in ROS Certificate.

Domain Restrictions

  • .COM.SG domains are only available for organisations / a valid company registration number has to be provided as X-SG-RCBID. This extension is also required, if the trustee is used
  • The aftermarket of .sg domain names is not allowed!
  • This domain is open to all applicants. Foreign applicants for domain names under this category must appoint a local agent having a valid Singapore postal address as their administrative contact.

We domains
-