Queries the number of domain assets.


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 DescribeDomainCount

The operation that you want to perform.

Set the value to DescribeDomainCount.

SourceIp String No

The source IP address of the request.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String 6FAFB857-FE24-4226-A09F-52EA5023C987

The ID of the request.

RootDomainsCount Integer 27

The number of returned root domains.

TotalDomainsCount Integer 1

The number of subdomains.


Sample requests

http(s)://[Endpoint]/? Action=DescribeDomainCount
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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