How to check usage traffic of the sub-user?

To check statistics of your sub-users, firstly you would need to log into GoProxies API and receive auth token. You can use the same token in the place of {YOUR_TOKEN}, as you got from this login step .

Below you will find an example of how the request should look like:

curl -X GET "https://api.goproxies.com/api/v1/stats/traffic?country=US&start_at=2025-01-27T23:59:59Z&end_at=2025-02-27T23:59:59Z&username=MY_USER" \
     -H "Authorization: Bearer {YOUR_TOKEN}"

You can edit country=US to a country that you require or completely remove it, if you want to include all countries for the statistics.

start_at= and end_at= they need a value of the start and end date, example as shown: 2025-01-27T23:59:59Z (if nothing is specified in both fields, it will show traffic for the current month)

username= you need to enter your sub-user username in place of "MY_USER", if you want to see traffic of all the subusers combined, don't specify this header.

Link to GoProxies API TrafficStats: https://api.goproxies.com/swagger/resellers/ui/#/Statistics/getTrafficStats

Last updated

Was this helpful?