Dynamic traffic
Dynamic traffic
Get dynamic traffic balance
GET /open-api/v1/dynamic/traffic/balance endpoint reference.
Get dynamic traffic balance
GET /open-api/v1/dynamic/traffic/balance
Base URL: https://api.ipbunker.online/gin.
Authentication
Send your key in the X-API-Key request header.
Request example
curl --request GET \
--url 'https://api.ipbunker.online/gin/open-api/v1/dynamic/traffic/balance' \
--header 'Accept: application/json' \
--header 'X-API-Key: <YOUR_API_KEY>'
Success response data
Responses use code, msg, data, and next. HTTP 200 can also contain a nonzero business error code; check code first.
| Field | Type | Required | Constraints | Meaning |
|---|---|---|---|---|
data.purchased_traffic_gb |
string |
No | — | Purchased traffic gb. |
data.consumed_traffic_gb |
string |
No | — | Consumed traffic gb. |
data.expired_traffic_gb |
string |
No | — | Expired traffic gb. |
data.adjusted_traffic_gb |
string |
No | — | Adjusted traffic gb. |
data.available_traffic_gb |
string |
No | — | Available traffic gb. |
data.balance_state |
string |
No | — | Balance state. |
data.last_calc_time |
string |
No | format: date-time | Last calc time. |
data.update_time |
string |
No | format: date-time | Update time. |
Related conventions
Request conventions · Response structure · Error codes · API reference index