Queries player metric data.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodPlayerMetricData |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
app-1000000 |
| StartTime |
string |
Yes |
The start time of the query. Format: yyyy-mm-ddthh:mm:ssz (UTC). Note
|
2025-06-24T00:55:06Z |
| EndTime |
string |
Yes |
The end time of the query. Format: yyyy-mm-ddthh:mm:ssz (UTC). |
2025-06-05T15:59:59Z |
| Interval |
string |
Yes |
The time granularity for querying data. Valid values: 5m, 1h, and 1d. The supported time granularity depends on the time span between
|
1d |
| TerminalType |
string |
Yes |
The terminal type. Valid values:
|
web |
| Filters |
string |
No |
The metric dimension filters. A dimension consists of a dimension type (Field), an operator (Op), and a dimension value. Note
Valid values for dimension type (Field):
Valid values for operator (Op): = (equal to), > (greater than), < (less than), and != (not equal to). Note
Retrieve dimension values by calling DescribeVodPlayerDimensionData. |
[ { "Field": "codec", "Op": "=", "Value": "h265#_#h264" }, { "Field": "os", "Op": "=", "Value": "Android#_#iOS" } ] |
| Metrics |
string |
Yes |
The metric types. You can select multiple metrics (up to 3). Note
Quality of Service (QoS) metrics:
Quality of Experience (QoE) metrics:
|
Vv,Uv,AvgPerVv |
| Top |
integer |
No |
Returns data for the top N items ranked by play count. If this parameter is not specified, data for all dimensions is returned. |
5 |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 5000. Maximum value: 5000. |
5000 |
| Language |
string |
No |
The language of the response. Valid values:
|
zh |
| Os |
string |
No |
The operating system of the player. Specify this parameter to perform a filtered query for playback data of a specific operating system. Valid values: Android, iOS, Harmony, Windows, MacOS, and Linux. The available values vary by terminal type:
Separate multiple values with #_#. |
Android、iOS、Windows |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
25818875-5F78-4A*****F6-D7393642CA58 |
| PageNumber |
integer |
The current page number. |
1 |
| PageSize |
integer |
The page size. |
5000 |
| TotalCnt |
integer |
The total number of data points. |
500 |
| DataList |
array<object> |
The list of returned data. |
|
|
object |
|||
| TimeStamp |
string |
The timestamp of the data. Format: yyyy-mm-ddthh:mm:ssz (UTC). |
2025-06-24T00:55:06Z |
| Dimension |
string |
The dimension. |
H265_MP4_WIFI |
| Uv |
number |
The number of playback users. |
500 |
| Vv |
number |
The play count. |
800 |
| RealVv |
number |
The actual play count. |
1000 |
| FirstFrame |
number |
The first frame time, in milliseconds (ms). |
100 |
| SecondPlayRate |
number |
The instant play rate. |
0.8 |
| SlowPlayRate |
number |
The slow play rate. |
0.2 |
| StuckCountRate |
number |
The stuttering rate by count. |
0.1 |
| SeekDuration |
number |
The seek duration, in milliseconds (ms). |
100 |
| StuckDuration100s |
number |
The stuttering duration per 100 seconds, in milliseconds (ms). |
200 |
| PlayFailRate |
number |
The play failure rate. |
0.2 |
| SeedFailRate |
number |
The non-play rate. |
0.01 |
| AvgPlayBitrate |
number |
The average playback bitrate, in bps. |
100 |
| AvgStartBitrate |
number |
The average start bitrate, in bps. |
100 |
| ErrorCount100s |
number |
The error count per 100 seconds. |
1 |
| AvgPerVv |
number |
The average plays per user. |
10 |
| AvgVideoDuration |
number |
The average video duration, in milliseconds (ms). |
100000 |
| AvgPerPlayDuration |
number |
The average play duration per user, in milliseconds (ms). |
100000 |
| AvgPerCompletionVv |
number |
The average completion plays per user. |
2 |
| CompletionVv |
number |
The completion count. |
500 |
| CompletionRate |
number |
The completion rate. |
0.8 |
| AvgPlayDuration |
number |
The average play duration, in milliseconds (ms). |
100000 |
| JumpRate5s |
number |
The 5-second bounce rate. |
0.1 |
| TotalPlayDuration |
number |
The total play duration, in milliseconds (ms). |
100000 |
| StuckCount100s |
string |
The stuttering count per 100 seconds. |
2 |
| Extend |
object |
The extended information. |
|
| ActualStartTime |
string |
The earliest time with data points within the specified time range. Format: yyyy-mm-ddthh:mm:ssz (UTC). |
2025-06-24T00:55:06Z |
| ActualEndTime |
string |
The latest time with data points within the specified time range. Format: yyyy-mm-ddthh:mm:ssz (UTC). |
2025-06-05T15:59:59Z |
| IntervalSeconds |
integer |
The time granularity of the queried data, in seconds (s). |
3600 |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"PageNumber": 1,
"PageSize": 5000,
"TotalCnt": 500,
"DataList": [
{
"TimeStamp": "2025-06-24T00:55:06Z\n",
"Dimension": "H265_MP4_WIFI",
"Uv": 500,
"Vv": 800,
"RealVv": 1000,
"FirstFrame": 100,
"SecondPlayRate": 0.8,
"SlowPlayRate": 0.2,
"StuckCountRate": 0.1,
"SeekDuration": 100,
"StuckDuration100s": 200,
"PlayFailRate": 0.2,
"SeedFailRate": 0.01,
"AvgPlayBitrate": 100,
"AvgStartBitrate": 100,
"ErrorCount100s": 1,
"AvgPerVv": 10,
"AvgVideoDuration": 100000,
"AvgPerPlayDuration": 100000,
"AvgPerCompletionVv": 2,
"CompletionVv": 500,
"CompletionRate": 0.8,
"AvgPlayDuration": 100000,
"JumpRate5s": 0.1,
"TotalPlayDuration": 100000,
"StuckCount100s": "2"
}
],
"Extend": {
"ActualStartTime": "2025-06-24T00:55:06Z",
"ActualEndTime": "2025-06-05T15:59:59Z",
"IntervalSeconds": 3600
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | One or more parameters are invalid. |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | An internal error occurred. |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | An internal data source error occurred. |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | You do not have permissions to perform this operation. |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. | The data is not prepared. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.