Call the RetrieveDomain operation to retrieve 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 RetrieveDomain

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

DomainName String Yes example.com

The domain name.

Lang String No en

The language type.

Response parameters

Parameter Type Example Description
RequestId String 9CC0D642-49D4-48DE-A1A5-9F218652E4A7

The ID of the request.

Examples

Sample requests


http(s)://alidns.aliyuncs.com/?Action=RetrieveDomain
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

<RetrieveDomainResponse>
      <RequestId>9CC0D642-49D4-48DE-A1A5-9F218652E4A7</RequestId>
</RetrieveDomainResponse>

JSON format

{
	"RequestId":"9CC0D642-49D4-48DE-A1A5-9F218652E4A7"
}

Error codes

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