Users need to have the available traffic of the residential proxies to call this function.
1、Query data usage (by time range)
This API is used to query detailed traffic consumption records within a specified time range; “st” and “et” represent UTC seconds.
API URL
/wapi/consume/chart/
Request Method
GET
Content-Type
none
Request Header Parameter
Parameter Name
Example Value
Parameter Type
Is this field required
Parametric Description
Authorization
Bearer {{token}}
string
Yes
JWT authentication – Format: Bearer {token}
Request Query Parameter
Parameter Name
Example Value
Parameter Type
Is this field required
Parametric Description
suname
-
string
No
Sub-user username (optional)
st
0
integer
No
Start timestamp (UTC seconds), optional
et
0
integer
No
End timestamp (UTC seconds), optional
Authentication Method
Bearer TokenAdd an Authorization parameter to the header; its value is the access token concatenated with a space after the “Bearer” prefix.Authorization: Bearer your_access_token