Function   /rules/tld

Function invocation

https://json.aftermarket.pl/rules/tld

Function description

Returns the rules for TLD that can be maintened in our system.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
tld string "" If specified then rules for only one TLD will be returned

Return value

The list of Top level domains (list of structures with the following fields):

Field nameTypeDescription
tld string Domain TLD
isGlobal boolean Is global TLD
isNational boolean Is national TLD
privacy boolean WHOIS privacy for this TLD can be ordered
canRegister boolean True if domain can be registered
canChangeNS boolean True if domain NameServers can be changed by API
canSell boolean True if domain can sold
canChangeContact boolean True if domain contact can be changed by API
requiresTrade boolean False if contact change is free and automatic. True if contact for this TLD can be changed only by TRADE. To change contact by TRADE please use /domain/contact/set/paid instead of /domain/contact/set. To check the TRADE operation price please use /check/domain/contact/set/paid instead of /check/domain/contact/set.
expirationDays int Days from domain expiration to domain deletion
registrationYears int[] Domain registration periods
renewalYears int[] Domain renewal periods
canBeRegisteredInTld boolean True if domain can be registered in TLD
slds string[] SLD (second level domains) list
sldsAlternative string[] Alternative SLD (second level domains) list. Domains registered in those SLDS cannot be transferred out from our system.