You can call this operation to query the contact information of a domain name.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes QueryContactInfo

The operation that you want to perform. Set the value to QueryContactInfo.

ContactType String Yes admin

The type of the contact. Valid values:

  • registrant: Domain name owner
  • tech: Technician
  • admin: Administrator
  • billing: Payer
DomainName String Yes test.com

The domain name whose contact information you want to query.

UserClientIp String No 127.0.0.1

The IP address of the client that you use to initiate the query.

Lang String No en

The language of the error message to return. Valid values:

  • zh: Chinese
  • en: English

Default value: en.

Response parameters

Parameter Type Example Description
RequestId String C39ECA8A-BB5E-4F92-B013-6A032FA06B04

The ID of the request.

CreateDate String 2019-03-20, 11:37:29

The date when the domain name was registered.

RegistrantName String zhang san

The English name of the contact.

RegistrantOrganization String zhang san

The English name of the domain name registrant corresponding to the domain name.

Country String CN

The country/region code of the country/region where the contact is located. For example, CN indicates China, and US indicates the United States.

Province String zhe jiang

The English name of the province where the contact is located.

City String hang zhou shi

The English name of the city where the contact is located.

Address String xi hu qu *** jiedao *** xiaoqu *** zhuang 101

The English mailing address of the contact.

Email String test@qq.com

The email address of the contact.

PostalCode String 310024

The zip code of the region where the contact is located.

TelArea String 86

The telephone country/region code of the country/region where the contact is located. For example, the telephone country code of China is 86.

Telephone String 1820000****

The phone number of the contact.

TelExt String 1234

The extension number of the contact's phone number.

ZhRegistrantName String Zhang San

The Chinese name of the contact. This parameter is only applicable to the Domains console in the Alibaba Cloud China website.

ZhRegistrantOrganization String Zhang San

The Chinese name of the domain name registrant. This parameter is only applicable to the Domains console in the Alibaba Cloud China website.

ZhProvince String Zhejiang

The Chinese name of the province where the contact is located. This parameter is only applicable to the Domains console in the Alibaba Cloud China website.

ZhCity String Hangzhou

The Chinese name of the city where the contact is located. This parameter is only applicable to the Domains console in the Alibaba Cloud China website.

ZhAddress String 101, *** Building, *** Community, *** Street, Xihu District. This parameter is only applicable to the Domains console in the Alibaba Cloud China website.

The Chinese mailing address of the contact. This parameter is only applicable to the Domains console in the Alibaba Cloud China website.

Examples

Sample requests

http(s)://[Endpoint]/? Action=QueryContactInfo
&ContactType=admin
&DomainName=test.com
&<Common request parameters>

Sample success responses

XML format

<QueryContactInfoResponse>
      <ZhRegistrantOrganization>Zhang San</ZhRegistrantOrganization>
      <ZhCity>Hangzhou</ZhCity>
      <Telephone>1820000****</Telephone>
      <ZhProvince>Zhejiang</ZhProvince>
      <Province>zhe jiang</Province>
      <Country>CN</Country>
      <CreateDate>2019-03-20 11:37:29</CreateDate>
      <TelArea>86</TelArea>
      <City>hang zhou shi</City>
      <ZhRegistrantName>Zhang San</ZhRegistrantName>
      <PostalCode>310024</PostalCode>
      <Email>test@qq.com</Email>
      <RequestId>C39ECA8A-BB5E-4F92-B013-6A032FA06B04</RequestId>
      <Address>xi hu qu *** jiedao *** xiaoqu *** zhuang 101</Address>
      <RegistrantName>zhang san</RegistrantName>
      <RegistrantOrganization>zhang san</RegistrantOrganization>
      <ZhAddress>101, *** Building, *** Community, *** Street, Xihu District</ZhAddress>
</QueryContactInfoResponse>

JSON format

{
    "ZhRegistrantOrganization":"Zhang San",
    "ZhCity":"Hangzhou",
    "Telephone": "1820000****",
    "ZhProvince":"Zhejiang",
    "Province": "zhe jiang",
    "Country": "CN",
    "CreateDate": "2019-03-20 11:37:29",
    "TelArea": "86",
    "City": "hang zhou shi",
    "ZhRegistrantName": "Zhang San",
    "PostalCode": "310024",
    "Email":"test@a.com",
    "RequestId": "C39ECA8A-BB5E-4F92-B013-6A032FA06B04",
    "Address": "xi hu qu *** jiedao *** xiaoqu *** zhuang 101",
    "RegistrantName": "zhang san",
    "RegistrantOrganization": "zhang san",
    "ZhAddress": "101, *** Building, *** Community, *** Street, Xihu District"
}

Error codes

For a list of error codes, visit the API Error Center.