Domain Domain lists all the data for a domain.
domainName
string
DomainName is the punycode encoded value of the domain name.
nameservers
[]string
Nameservers is the list of nameservers for this domain. If unspecified it defaults to your account default nameservers.
contacts
*Contacts
Contacts for the domain.
privacyEnabled
bool
PrivacyEnabled reflects if Whois Privacy is enabled for this domain.
locked
bool
Locked indicates that the domain cannot be transferred to another registrar.
autorenewEnabled
bool
AutorenewEnabled indicates if the domain will attempt to renew automatically before expiration.
expireDate
(read only)
string
ExpireDate is the date the domain will expire.
createDate
(read only)
string
CreateDate is the date the domain was created at the registry.
renewalPrice
(read only)
float64
RenewalPrice is the price to renew the domain. It may be required for the RenewDomain command.
Contacts Contacts stores the contact information for the roles related to domains.
registrant
*Contact
Registrant is the rightful owner of the account and has the right to use and/or sell the domain name. They are able to make changes to all account, domain, and product settings. This information should be reviewed and updated regularly to ensure accuracy.
admin
*Contact
Registrants often designate an administrative contact to manage their domain name(s). They primarily deal with business information such as the name on record, postal address, and contact information for the official registrant.
tech
*Contact
The technical contact manages and maintains a domain’s nameservers. If you’re working with a web designer or someone in a similar role, you many want to assign them as a technical contact.
billing
*Contact
The billing contact is the party responsible for paying bills for the account and taking care of renewals.
Contact Contact contains all the contact data.
firstName
string
First name of the contact.
lastName
string
Last name of the contact.
companyName
string
Company name of the contact. Leave blank if the contact is an individual as some registries will assume it is a corporate entity otherwise.
address1
string
Address1 is the first line of the contact's address.
address2
string
Address2 is the second line of the contact's address.
city
string
City of the contact's address.
state
string
State or Province for the contact's address.
zip
string
Zip or Postal Code for the contact's address.
country
string
Country code for the contact's address. Required to be a ISO 3166-1 alpha-2 code.
phone
string
Phone number of the contact. Should be specified in the following format: "+cc.llllllll" where cc is the country code and llllllll is the local number.
fax
string
Fax number of the contact. Should be specified in the following format: "+cc.llllllll" where cc is the country code and llllllll is the local number.
string
Email of the contact. Should be a complete and valid email address.