.sg
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 = AddDomaindomain = yourdomain.sgperiod = (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|1X-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:
-
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
-
-
SGNIC requires that when a domain owner is located in Singapore, trustee services should not be used for .SG domain contacts, in particular Admin contacts.
-
Registrations with CNR trustee services is not in real time, the review of Owner contact will be done before submitting the request to SGNIC.
Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
command = ModifyDomaindomain = yourdomain.sgX-SG-RCBID = (TEXT) (optional)X-SG-ADMIN-SINGPASSID = (TEXT) (optional)Change of Registrant
Section titled “Change of Registrant”command = TradeDomaindomain = yourdomain.sgownercontact0 = (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
Section titled “Domain Renewal”(API Command reference » RenewDomain)
command = RenewDomaindomain = yourdomain.sgperiod = (INT)expiration = (INT)Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
COMMAND = DeleteDomainDOMAIN = 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
Section titled “Domain Transfer”(API Command reference » TransferDomain)
TransferIN From Another Registrar to RRPproxy
Section titled “TransferIN From Another Registrar to RRPproxy”command = TransferDomaindomain = yourdomain.sgauth = .......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|1The submission of all four contact details is mandatory.
TransferOUT to Another Registrar
Section titled “TransferOUT to Another Registrar”command = ModifyDomaindomain = yourdomain.sgadmincontact0 = (CONTACT)X-SG-RCBID = (TEXT)X-SG-ADMIN-SINGPASSID = (TEXT)X-SG-ACCEPT-TRUSTEE-TAC = 0In 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
Section titled “Domain Restore”(API Command reference » RestoreDomain)
command = RestoreDomaindomain = yourdomain.sgIn some cases of explicit domain deletions, restores are still possible. Please get in touch with our support team to get this checked.
Domain Extensions
Section titled “Domain Extensions”| X-SG-ACCEPT-TRUSTEE-TAC | 0|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
Section titled “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.
- SGNIC requires that when a domain owner is located in Singapore, trustee services should not be used for .SG domain contacts, in particular Admin contacts.
