edit-icon download-icon

QueryContactInfo

Last Updated: Apr 10, 2018

Description

The QueryContactInfo API queries the domain name contact information.

Request parameters

For more information about public request parameters, see Public parameters.

Parameter Type Required Description
Action String Yes API of the action, system required parameter. Set this parameter to QueryContactInfo.
DomainName String Yes Domain name
ContactType String Yes Contact type. The optional values include: registrant (owner of the domain name), tech (technician), admin (administrator), and billing (payer).

Response parameters

Parameter Type Description
RequestId String Unique request identifier
CreateDate String Creation time
RegistrantName String Contact name
RegistrantOrganization String Owner name
Province String Province
City String City
Address String Specific address
Country String Country code, such as CN or US
Email String email
PostalCode String Zip code
TelArea String Country dialing code
Telephone String Phone number
TelExt String Extension number

Error codes

Error code Description HTTP status code Semantics
ParameterIllegal Parameter illegal. 400 Parameter error
NetworkIOError Network IO Error. 400 Network I/O exception

Examples

Request example

  1. http://domain-intl.aliyuncs.com/?Action=QueryContactInfo
  2. &DomainName=fds234sdf.net&ContactType=admin
  3. &<Public request parameters>

Response example

  • XML format
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <QueryContactInfoResponse>
  3. <CreateDate>2013-12-06 00:00:00</CreateDate>
  4. <Address>Ou Wo E Ou </Address>
  5. <TelExt></TelExt>
  6. <City>Bei Jing Shi</City>
  7. <Telephone>13000000000</Telephone>
  8. <Country>CN</Country>
  9. <TelArea>86</TelArea>
  10. <Province>Bei Jing</Province>
  11. <PostalCode>111111</PostalCode>
  12. <Email>13000000000@aliyun.com</Email>
  13. <RequestId>DBBEFD6C-86F2-4C68-930A-21F8668BB6E8</RequestId>
  14. <RegistrantName>li Yun</RegistrantName>
  15. <RegistrantOrganization>Li Yun</RegistrantOrganization>
  16. </QueryContactInfoResponse>
  • JSON format
  1. {
  2. "CreateDate": "2013-12-06 00:00:00",
  3. "Address": "Ou Wo E Ou ",
  4. "TelExt": "",
  5. "City": "Bei Jing Shi",
  6. "Telephone": "1300000000",
  7. "Country": "CN",
  8. "TelArea": "86",
  9. "Province": "Bei Jing",
  10. "PostalCode": "111111",
  11. "Email": "1300000000@aliyun.com",
  12. "RequestId": "77B19432-82FF-4D25-82F9-CF83E19516F7",
  13. "RegistrantName": "li Yun",
  14. "RegistrantOrganization": "Li Yun"
  15. }
Thank you! We've received your feedback.