Domain name for API request: live.tencentcloudapi.com.
This API is used to query the data of billable LVB bandwidth and traffic.
A maximum of 100 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: DescribeBillBandwidthAndFluxList. |
Version | Yes | String | Common parameter. The value used for this API: 2018-08-01. |
Region | No | String | Common parameter. This parameter is not required for this API. |
StartTime | Yes | String | Start time point in the format of yyyy-mm-dd HH:MM:SS . |
EndTime | Yes | String | End time point in the format of yyyy-mm-dd HH:MM:SS. The difference between the start time and end time cannot be greater than 31 days. Data in the last 3 years can be queried. |
PlayDomains.N | No | Array of String | LVB playback domain name. If this parameter is left empty, full data will be queried. |
MainlandOrOversea | No | String | Valid values: Mainland: query data for Mainland China, Oversea: query data for regions outside Mainland China, Default: query data for all regions. Note: LEB only supports querying data for all regions. |
Granularity | No | Integer | Data granularity. Valid values: 5: 5-minute granularity (the query time span should be within 1 day), 60: 1-hour granularity (the query time span should be within one month), 1440: 1-day granularity (the query time span should be within one month). Default value: 5. |
ServiceName | No | String | Service name. Valid values: LVB, LEB. The sum of LVB and LEB usage will be returned if this parameter is left empty. |
Parameter Name | Type | Description |
---|---|---|
PeakBandwidthTime | String | Time point of peak bandwidth value in the format of yyyy-mm-dd HH:MM:SS . |
PeakBandwidth | Float | Peak bandwidth in Mbps. |
P95PeakBandwidthTime | String | Time point of 95th percentile bandwidth value in the format of yyyy-mm-dd HH:MM:SS . |
P95PeakBandwidth | Float | 95th percentile bandwidth in Mbps. |
SumFlux | Float | Total traffic in MB. |
DataInfoList | Array of BillDataInfo | Detailed data information. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://live.tencentcloudapi.com/?Action=DescribeBillBandwidthAndFluxList
&PlayDomains.0=5000.playdomain.com
&StartTime=2019-02-0100:00:00
&EndTime=2019-02-0100:10:00
&<Common request parameters>
{
"Response": {
"95PeakBandwidth": 117042.495,
"95PeakBandwidthTime": "2019-02-01 00:00:00",
"DataInfoList": [
{
"Bandwidth": 117042.495,
"Flux": 4389093.551,
"Time": "2019-02-01 00:00:00",
"PeakTime": "2019-02-01 00:00:00"
},
{
"Bandwidth": 110364.995,
"Flux": 4138687.32,
"Time": "2019-02-01 00:05:00",
"PeakTime": "2019-02-01 00:05:00"
},
{
"Bandwidth": 99380.978,
"Flux": 3726786.679,
"Time": "2019-02-01 00:10:00",
"PeakTime": "2019-02-01 00:10:00"
}
],
"PeakBandwidth": 117042.495,
"PeakBandwidthTime": "2019-02-01 00:00:00",
"RequestId": "f54e3deb-f318-4148-8a68-3c959642f9ec",
"SumFlux": 12254567.55
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
InvalidParameterValue | Invalid parameter value. |
MissingParameter | Parameter missing. |
Was this page helpful?