Calls the DescribeDomainStatistics operation to obtain the real-time query volume of a specified primary domain name.

Real-time data is collected per hour.


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 DescribeDomainStatistics

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

DomainName String Yes

The domain name.

EndDate String Yes 2019-07-04

The end of the time range to query. Specify the time in the YYYY-MM-DD format.

The default value is the day when you perform the operation.

StartDate String Yes 2019-07-04

The beginning of the time range to query. Specify the time in the YYYY-MM-DD format.

You can only query the DNS records of the last 90 days.

Lang String No en

The language type.

Response parameters

Parameter Type Example Description
RequestId String 6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF

The ID of the request.

Statistics Array

The list of query volume records.


Details about a query volume record.

Count Long 15292887

The number of queries.

Timestamp Long 1556640000000

The UNIX timestamp representing the collection time.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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