.li
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.liperiod = (INT)ownercontact0 = (CONTACT)admincontact0 = (CONTACT)techcontact0 = (CONTACT)billingcontact0 = (CONTACT)nameserver0 = (NAMESERVER)nameserver1 = (NAMESERVER)- We would like to point out that although there is no local presence requirement for .li domains in the proper meaning of the word, the registry may in certain cases request the disclosure of a valid correspondence address in Switzerland for purposes of the direct delivery of correspondence. In these cases the registrant must provide a valid Swiss correspondence address within 30 days (date of receipt by SWITCH). If the registry does not receive details of a genuine and accurate contact address in Switzerland within the specified deadline, the respective domain name may be deleted. We added a reference to the .CH & .LI Appendix clarifying this requirement.
Domain Modification
Section titled “Domain Modification”(API Command reference » ModifyDomain)
command = ModifyDomaindomain = yourdomain.liChange of Registrant
Section titled “Change of Registrant”command = ModifyDomaindomain = yourdomain.liownercontact0 = (CONTACT)Domain Renewal
Section titled “Domain Renewal”RenewDomain is not available for .li TLDs.
As .li domains can only be registered on a yearly basis, they cannot be renewed explicitly. To renew a .li domain you have to set the domain renewal mode or default renewal mode to AUTORENEW or RENEWONCE.
Domain Deletion
Section titled “Domain Deletion”(API Command reference » DeleteDomain)
COMMAND = DeleteDomainDOMAIN = yourdomain.liPlease note that you’re only allowed to delete .li domains if you have the authorization of the domain owner.
Domain Transfer
Section titled “Domain Transfer”(API Command reference » TransferDomain)
command = TransferDomaindomain = yourdomain.liaction = REQUESTauth = (TEXT)Transfer Notes
Section titled “Transfer Notes”- Transfer has to be requested with a so called authorization code.
- The status “serverTransferProhibited” will be set for a period of 60 days after a successful .li transfer.
- The transfer must be allowed at any time to registrants and the handing over of the necessary transfercode shall not be withheld (Art. 20 Abs. 2 VID).
- This applies, even if customer has unpaid bills
Domain Restore
Section titled “Domain Restore”(API Command reference » RestoreDomain)
command = RestoreDomaindomain = yourdomain.liNone
IDN Information
Section titled “IDN Information”Internationalized Domain Names with Accents and Umlauts
Supported IDN Scripts
Section titled “Supported IDN Scripts”The following IDN scripts are supported by .li.
Provide the LANGUAGE TAG corresponding to your desired IDN within the AddDomain command as X-IDN-LANGUAGE extension.
| English | EN |
|---|---|
| French | FR |
| German | DE |
| Italian | IT |
Get more information of “IDN tables”, which represent permitted code points (letters) allowed for Internationalised Domain Name registrations in particular registries on IANA Repository of IDN Practices.
