Skip to main content
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

Request Query Parameter

Authentication Method

Bearer Token Add 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

Response Example

• Sucess(200)
• Not logged in or authentication failed(403)

2、Obtain an API token

Exchange user account credentials for a WAPI token. This API does not perform Bearer token validation.

API URL

/wapi/token/

Request Method

POST

Content-Type

json

 Request Header Parameter

Request Body Parameter

Response Example

• Sucess(200)
• Incorrect username or password(41003)