Customer
Username
View Cart
Everything you need to know, in one place
Support → API → Methods → domains → getContacts
Gets contact information for the requested domain
https://api.namecheap.com/xml.response?ApiUser=apiexample&ApiKey=56b4c87ef4fd49cb96d915c0db68194&UserName=apiexample&Command=namecheap.domains.getContacts&ClientIp=192.168.1.109&DomainName=domain1.com
Global parameters are not shown here (for clarity), but they should be present in all requests.
<?xml version="1.0" encoding="UTF-8"?> <ApiResponse xmlns="http://api.namecheap.com/xml.response" Status="OK"> <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>95fabfd2c51b4307bb626568.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>95fabfd2c51b4307bb626568.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>95fabfd2c51b4307bb626568.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>95fabfd2c51b4307bb626568.protect@whoisguard.com</EmailAddress> <PhoneExt /> </AuxBilling> <CurrentAttributes /> </WhoisGuardContact> </DomainContactsResult> </CommandResponse> <Server>SERVER-NAME</Server> <GMTTimeDifference>+5</GMTTimeDifference> <ExecutionTime>0.078</ExecutionTime> </ApiResponse>
Specifies the error codes that might be returned from this method
We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.
If you need specific help with your account, feel free to contact our Support Team. Thank you.
Need help? We're always here for you.
Chat with a Live Person