Query bandwidth package details
Updated at:2025-10-16
Description
- Retrieve bandwidth package details using its ID.
Request structure
Plain Text
1GET /v{version}/eipbp/{id} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Type | Required or not | Parameter position | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| clientToken | String | No | Query | Idempotency Token |
| id | String | Yes | URL parameter | Bandwidth package ID |
Response Status Code
Respond with 200 after successful operation, and respond with error codes after failed operation, as shown in [Error Codes](EIP/API Reference/Error code.md).
Response headers
No special headers beyond common headers.
Response parameters
| Parameter name | Type | Description |
|---|---|---|
| name | String | Name of the bandwidth package |
| id | String | Bandwidth package ID |
| bindType | String | Type of resources bound to the bandwidth package: "eip" (elastic public EIP) or "eipgroup" (EIPGROUP) |
| bandwidthInMbps | int | Total bandwidth of bandwidth package |
| instanceId | String | ID of the resource bound to the bandwidth package |
| eips | List |
If the bindType is "eip", it includes only a single EIP address; if "eipgroup", all EIPs under EIPGROUP are included |
| instanceBandwidthInMbps | int | If bindType is "eip", it indicates that the bandwidth of the EIP bound to the bandwidth package; if bindType is "eipgroup", it indicates that the bandwidth of the EIPGROUP bound to the bandwidth package |
| createTime | String | Creation time of the bandwidth package |
| autoReleaseTime | String | Automatic release time of the bandwidth package, same as the expiration time of bound resources |
| type | String | Bandwidth package type: BandwidthPackage or AccelerationPackage (cross-border acceleration package) |
| region | String | Region to which the bandwidth package belongs |
Request example
Plain Text
1GET /v1/eipbp/bw-IyWRnII7 HTTP/1.1
2Host: eip.bj.baidubce.com
3ContentType: application/json
4Authorization: bce-auth-v1/5e5a8adf11ae475ba95f1bd38228b44f/2016-04-10T08:26:52Z/1800/host;x-bce-
5date/ec3c0069f9abb1e247773a62707224124b2b31b4c171133677f9042969791f02
Response example
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
3Date: Thu, 16 Mar 2017 06:29:48 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
6{
7 "name":"bp_1",
8 "id":"bw-IyWRnII7",
9 "bindType":"eip",
10 "bandwidthInMbps":"5",
11 "instanceId":"ip-xefrn257",
12 "eips":[
13 "10.23.54.23"
14 ],
15 "instanceBandwidthInMbps":5,
16 "createTime":"2019-08-03T20:38:43Z",
17 "autoReleaseTime":"2019-09-23T12:38:43Z",
18 "type": "BandwidthPackage",
19 "region": "bj"
20}
