Queries the request hit ratios for one or more accelerated domain names.

Usage notes

  • The maximum number of times that each user can call this operation per second is 10.
  • If you do not set StartTime or EndTime, data collected within the last hour is queried. If you set both StartTime and EndTime, data collected within the specified time range is queried.
  • By default, requests in the Go programming language use the POST request method. You must manually change the request method to GET by declaring: request.Method="GET".
  • The network traffic destined for different domain names may be redirected to the same origin server. Therefore, the request hit ratios may be inaccurate. The accuracy of query results is based on the actual configurations.
Time granularity

The time granularity varies with the time range specified by the StartTime and EndTime parameters. The following table describes the time period within which historical data is available and the data delay.

Time granularity

Time range to query

Historical data available

Data delay

1 minute

1 hour

7 days

5 minutes

5 minutes

3 Days

93 days

15 minutes

1 hour

31 days

186 days

4 hours


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 DescribeDomainRealTimeReqHitRateData

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

DomainName String Yes example.com

You can specify multiple domain names and separate them with commas (,). You can specify at most 100 domain names in each call.

StartTime String No 2018-01-02T11:23:00Z

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

EndTime String No 2018-01-02T11:26:00Z

The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

Note The end time must be later than the start time.

Response parameters

Parameter Type Example Description
RequestId String 70A26B11-3673-479C-AEA8-E03FC5D3496D

The ID of the request.

Data Array of ReqHitRateDataModel

The response parameters.

ReqHitRate Float 0.8956940476262277

The request hit ratio.

TimeStamp String 2018-01-02T11:26:00Z

The timestamp. The time follows the ISO 8601 standard. The time is displayed in UTC.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "Data" : {
    "ReqHitRateDataModel" : [ {
      "TimeStamp" : "2018-01-02T11:26:00Z",
      "ReqHitRate" : 0.8956940476262277
    }, {
      "TimeStamp" : "2018-01-02T11:25:00Z",
      "ReqHitRate" : 0.8429129920796812
    } ]
  "RequestId" : "70A26B11-3673-479C-AEA8-E03FC5D3496D"

Error codes

HttpCode Error code Error message Description
400 InvalidTime.Malformed Specified StartTime or EndTime is malformed. The error message returned because the format of the specified start time or end time is invalid.

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