Queries access data for an accelerated domain name by ISP or region, including bandwidth, average response rate, page views, cache hit ratio, and request hit ratio.
Operation description
Currently, this operation is supported only in the China (Shanghai) region.
The maximum time range for a single query (the time range between StartTime and EndTime) is 1 hour.
Supported time granularities
Based on the time range specified by StartTime and EndTime, the default data timestamp granularity, queryable historical data range, and data latency are as follows:
| Time granularity | Time range per query | Queryable historical data range | Data latency |
| 5 minutes | ≤ 1 hour | 93 days | 15 minutes |
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodRangeDataByLocateAndIspService |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name to query. You can log on to the ApsaraVideo VOD console, and choose Configuration Management > CDN Configuration > Domain Names in the left-side navigation pane to view the accelerated domain names that you have added to ApsaraVideo VOD. You can also call the DescribeVodUserDomains operation to query the list of accelerated domain names. |
example.com |
| StartTime |
string |
Yes |
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. |
2023-05-29T03:50:00Z |
| EndTime |
string |
Yes |
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. The maximum time range between the start time and end time is 1 hour. |
2023-05-29T03:55:00Z |
| LocationNameEn |
string |
No |
The region name in English. If you do not specify this parameter, data of all regions is queried. Separate multiple region names with commas (,). |
shanghai |
| IspNameEn |
string |
No |
The ISP name in English. If you do not specify this parameter, data of all ISPs is queried. You can specify only one ISP for each request. |
unicom |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| JsonResult |
string |
The result in JSON format. From left to right, the fields are: UNIX timestamp, region, ISP, HTTP status code distribution, response duration, bandwidth (unit: bit/s), average response rate, page views, cache hit ratio, and request hit ratio. |
{"1472659200":{"Tianjin":{"China Telecom":{"http_codes":{"000":0,"200":6,"400":0},"rt":4183,"bandwidth":46639,"avg_speed":7773,"pv":6,"hit_rate":0.93,"request_hit_rate":0.66}}}} |
| RequestId |
string |
The request ID. |
C74802AA-C277-5A80-BDF2-072B05F119C7 |
Examples
Success response
JSON format
{
"JsonResult": "{\"1472659200\":{\"Tianjin\":{\"China Telecom\":{\"http_codes\":{\"000\":0,\"200\":6,\"400\":0},\"rt\":4183,\"bandwidth\":46639,\"avg_speed\":7773,\"pv\":6,\"hit_rate\":0.93,\"request_hit_rate\":0.66}}}}",
"RequestId": "C74802AA-C277-5A80-BDF2-072B05F119C7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidStartTime.Malformed | The specified value of parameter StartTime is malformed. | |
| 400 | InvalidEndTime.Malformed | The specified value of parameter EndTime is malformed. | |
| 400 | InvalidStartTime.ValueNotSupported | The specified value of parameter StartTime is not supported. | |
| 400 | InvalidTime.ValueNotSupported | StartTime or EndTime is miss match. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.