Checks whether a domain name can be transferred to Alibaba Cloud.

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 CheckTransferInFeasibility

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

DomainName String Yes test.com

The domain name that you want to check.

Lang String No en

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

  • zh: Chinese
  • en: English

Default value: en

TransferAuthorizationCode String No test

The transfer key.

UserClientIp String No 127.0.0.1

The IP address of the client.

Response parameters

Parameter Type Example Description
CanTransfer Boolean false

Indicates whether the domain name can be transferred to Alibaba Cloud.

Code String CheckTransferResult.DomainTransferProhibited

The error code that the system returned when the domain name cannot be transferred to Alibaba Cloud.

Message String This domain name is in transfer prohibited status, so it cannot be transferred. You can contact your original registrar to change its status.

The error message that the system returned when the domain name cannot be transferred to Alibaba Cloud.

ProductId String 2a

The ID of the product.

RequestId String FC0D6B89-2353-4D64-BD80-6606A7DBD7C1

The ID of the request.

Examples

Sample requests


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

Sample success responses

XML format

<CheckTransferInFeasibilityResponse>
    <RequestId>60D2283F-36EA-46D4-A38D-15B5A2C455E3</RequestId>
    <CanTransfer>true</CanTransfer>
    <ProductId>2a</ProductId>
</CheckTransferInFeasibilityResponse>

JSON format

{
	"RequestId":"CE82EB4C-882D-430B-A908-E0BECFC35025",
	"CanTransfer":true,
	"ProductId":"2a"
}

Error codes

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