This operation retrieves the traffic data for all media assets in a specified region on a specific date. The data is generated from CDN Traffic Logs and represents the traffic consumed by videos. The resulting CSV file contains information such as the date, video ID, domain name, traffic, application ID, and category ID. You can download this file for use in scenarios such as data analytics.
Operation description
The endpoint of this operation is available only in the China (Shanghai) region.
You can query data generated within the last 90 days. The earliest available data is from April 29, 2025.
The traffic data provided by this operation is raw data. To align the data with the billable 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. The date is in the yyyy-MM-dd format. Note
|
2025-03-20 |
| MediaRegion |
string |
Yes |
The ID of the region where the media asset is stored. You can specify this parameter to query the playback data of all audio and video files in a specific region. Valid values:
|
cn-beijing |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
67720502-CDDB-3F1C-8A91-12258******* |
| DailyPlayRegionStatisList |
array<object> |
The information about the returned CSV file. |
|
|
object |
|||
| Date |
string |
The playback date. The date is in the yyyy-MM-dd format. |
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 data exporting of playback data fails on a specific day, the date is returned. |
|
|
string |
The date on which the data exporting failed. |
[] |
|
| EmptyDates |
array |
If no playback data is available on a specific day, the date is returned. |
|
|
string |
The date on which no data is available. |
[] |
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.