Retrieves the full traffic data of media assets for a specified date and region. The data is generated based on CDN traffic logs and primarily reflects the traffic consumption of videos. The generated CSV file contains the following information: date, video ID, domain name, traffic, application ID, and category ID. You can download the file to your local machine for scenarios such as operational data analytics.
Operation description
Currently, the service address of this operation only supports: China (Shanghai).
Only data within the past 90 days can be queried (data starts from April 29, 2025).
The traffic data provided by this operation is raw traffic data. To align with billing traffic, multiply the data by a TCP coefficient of 1.1.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GetDailyPlayRegionStatis |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Date |
string |
Yes |
The playback date, in days. Format: yyyy-MM-dd. Note
|
2025-03-20 |
| MediaRegion |
string |
Yes |
The media asset region ID. Specify this parameter to perform a filtered query for the playback data of all audio and video files in a specified service region. Valid values:
|
cn-beijing |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
67720502-CDDB-3F1C-8A91-12258******* |
| DailyPlayRegionStatisList |
array<object> |
The CSV file information returned. |
|
|
object |
|||
| Date |
string |
The playback date, in days. Format: yyyy-MM-dd. |
2025-03-20 |
| FileUrl |
string |
The download URL of the CSV file. |
https://outin-e70266d4ed*******0163e1403e7.oss-cn-shanghai.aliyuncs.com/dataexport/play/cn_hangzhou_20250320_video_traffic.csv?******* |
| FailDates |
array |
If the playback data export fails on a specific day, the date is displayed in this field. |
|
|
string |
The date on which the export failed. |
[] |
|
| EmptyDates |
array |
If no playback data exists on a specific day, the date is displayed in this field. |
|
|
string |
The date on which no data exists. |
[] |
Examples
Success response
JSON format
{
"RequestId": "67720502-CDDB-3F1C-8A91-12258*******",
"DailyPlayRegionStatisList": [
{
"Date": "2025-03-20",
"FileUrl": "https://outin-e70266d4ed*******0163e1403e7.oss-cn-shanghai.aliyuncs.com/dataexport/play/cn_hangzhou_20250320_video_traffic.csv?*******"
}
],
"FailDates": [
"[]"
],
"EmptyDates": [
"[]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.