namecheap.domains.getContacts
Gets contact information for the requested domain.
Request Parameters
Global parameters are not shown here for clarity, but should be present in all requests
| Name | Type | MaxLength | Required? | Default | Description |
| DomainName | String | 70 | Yes | | Domain to get contacts |
Example Request
https://api.namecheap.com/xml.response?ApiUser=apiexample&ApiKey=56b4c87ef4fd49cb96d915c0db68194&
UserName=apiexample&Command=namecheap.domains.getContacts&ClientIp=192.168.1.109&
DomainName=domain1.com
Example Response
<?xml version="1.0" encoding="utf-8"?>
<ApiResponse Status="OK" xmlns="http://api.namecheap.com/xml.response">
<Errors />
<RequestedCommand>namecheap.domains.getContacts</RequestedCommand>
<CommandResponse Type="namecheap.domains.getContacts">
<DomainContactsResult Domain="domain1.com" domainnameid="3152456">
<Registrant ReadOnly="false">
<OrganizationName>NameCheap.com</OrganizationName>
<JobTitle>Software Developer</JobTitle>
<FirstName>John</FirstName>
<LastName>Smith</LastName>
<Address1>8939 S. cross Blvd</Address1>
<Address2>ca 110-708</Address2>
<City>california</City>
<StateProvince>ca</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90045</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>john@gmail.com</EmailAddress>
<PhoneExt>+1.6613102</PhoneExt>
</Registrant>
<Tech ReadOnly="false">
<OrganizationName>NameCheap.com</OrganizationName>
<JobTitle>Software Developer</JobTitle>
<FirstName>John</FirstName>
<LastName>Smith</LastName>
<Address1>8939 S. cross Blvd</Address1>
<Address2>ca 110-708</Address2>
<City>california</City>
<StateProvince>ca</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90045</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>john@gmail.com</EmailAddress>
<PhoneExt>+1.6613102</PhoneExt>
</Tech>
<Admin ReadOnly="false">
<OrganizationName>NameCheap.com</OrganizationName>
<JobTitle>Software Developer</JobTitle>
<FirstName>John</FirstName>
<LastName>Smith</LastName>
<Address1>8939 S. cross Blvd</Address1>
<Address2>ca 110-708</Address2>
<City>california</City>
<StateProvince>ca</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90045</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>john@gmail.com</EmailAddress>
<PhoneExt>+1.6613102</PhoneExt>
</Admin>
<AuxBilling ReadOnly="false">
<OrganizationName>NameCheap.com</OrganizationName>
<JobTitle>Software Developer</JobTitle>
<FirstName>John</FirstName>
<LastName>Smith</LastName>
<Address1>8939 S. cross Blvd</Address1>
<Address2>ca 110-708</Address2>
<City>california</City>
<StateProvince>ca</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90045</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>john@gmail.com</EmailAddress>
<PhoneExt>+1.6613102</PhoneExt>
</AuxBilling>
<CurrentAttributes>
<RegistrantNexus>C11</RegistrantNexus>
<RegistrantNexusCountry/>
<RegistrantPurpose>P1</RegistrantPurpose>
</CurrentAttributes>
<WhoisGuardContact>
<Registrant ReadOnly="true">
<OrganizationName>WhoisGuard</OrganizationName>
<JobTitle>Please contact protect@whoisguard.com for legal issues</JobTitle>
<FirstName>WhoisGuard</FirstName>
<LastName>Protected</LastName>
<Address1>11400 W. Olympic Blvd. Suite 200</Address1>
<Address2/>
<City>Los Angeles</City>
<StateProvince>CA</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90064</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>95fabfd2c51b4307bb6265680dd8aecf.protect@whoisguard.com</EmailAddress>
<PhoneExt/>
</Registrant>
<Tech ReadOnly="true">
<OrganizationName>WhoisGuard</OrganizationName>
<JobTitle>Please contact protect@whoisguard.com for legal issues</JobTitle>
<FirstName>WhoisGuard</FirstName>
<LastName>Protected</LastName>
<Address1>11400 W. Olympic Blvd. Suite 200</Address1>
<Address2/>
<City>Los Angeles</City>
<StateProvince>CA</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90064</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>95fabfd2c51b4307bb6265680dd8aecf.protect@whoisguard.com</EmailAddress>
<PhoneExt/>
</Tech>
<Admin ReadOnly="true">
<OrganizationName>WhoisGuard</OrganizationName>
<JobTitle>Please contact protect@whoisguard.com for legal issues</JobTitle>
<FirstName>WhoisGuard</FirstName>
<LastName>Protected</LastName>
<Address1>11400 W. Olympic Blvd. Suite 200</Address1>
<Address2/>
<City>Los Angeles</City>
<StateProvince>CA</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90064</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>95fabfd2c51b4307bb6265680dd8aecf.protect@whoisguard.com</EmailAddress>
<PhoneExt/>
</Admin>
<AuxBilling ReadOnly="true">
<OrganizationName>WhoisGuard</OrganizationName>
<JobTitle>Please contact protect@whoisguard.com for legal issues</JobTitle>
<FirstName>WhoisGuard</FirstName>
<LastName>Protected</LastName>
<Address1>11400 W. Olympic Blvd. Suite 200</Address1>
<Address2/>
<City>Los Angeles</City>
<StateProvince>CA</StateProvince>
<StateProvinceChoice>P</StateProvinceChoice>
<PostalCode>90064</PostalCode>
<Country>US</Country>
<Phone>+1.6613102107</Phone>
<Fax>+1.6613102107</Fax>
<EmailAddress>95fabfd2c51b4307bb6265680dd8aecf.protect@whoisguard.com</EmailAddress>
<PhoneExt/>
</AuxBilling>
<CurrentAttributes/>
</WhoisGuardContact>
</DomainContactsResult>
</CommandResponse>
<Server>SERVER-NAME</Server>
<GMTTimeDifference>+5</GMTTimeDifference>
<ExecutionTime>0.078</ExecutionTime>
</ApiResponse>
Error Codes
Specifies the error codes that might be returned from this method
| Number | Description |
| 2019166 | Domain not found |
| 2016166 | Domain is not associate with your account |
| 4019337 | Unable to retrieve domain contacts |
| 3016166 | Domain is not associate with Enom |
| 3019510 | This domain has either expired/ was transferred out/ is not associated with your account |
| 3050900 | Unknown response from provider |
| 5050900 | Unknown exceptions |