LogoLogo
  • Welcome!
  • Proxies
    • Dedicated DataCenter Proxies
      • Intro
      • Session stickiness
    • Rotating Residential Proxies
      • Intro
      • Proxy parameters
        • Country
        • State
        • City
        • Session Stickiness
    • ISP Residential Proxies
      • Intro
      • Proxy parameters
        • Session Stickiness
        • Country
        • State
        • City
    • Shared DataCenter Proxies
      • Intro
      • Proxy parameters
        • Country
        • State
        • City
        • Session Stickiness
    • Integrations
      • How to rotate proxies in Python?
      • How to use GoProxies in Ruby?
      • How to connect to GoProxies proxy via SmartProxy?
      • How to connect to GoProxies proxy via SwitchyOmega?
      • How to connect to GoProxies proxy via Selenium?
      • How to connect to GoProxies via IP Burger extension?
      • How to connect to GoProxies via Puppeteer?
      • How to connect to GoProxies proxy via FoxyProxy?
    • Resellers API
      • How to login into GoProxies API and list your current sub-users?
      • How to create a sub-user via GoProxies API?
      • How to check usage traffic of the sub-user?
    • HTTP Error Response codes
    • FAQ
      • General Questions
        • What solutions do GoProxies offer?
        • Is there an option to purchase a custom proxy package?
        • Can you transfer my unused traffic to next month?
        • Does GoProxies have customer support?
        • Do you charge additional fees for the setup?
        • Can I cancel my subscription at any time?
      • Billing and Pricing
        • What are the GoProxies pricing plans?
        • What payment methods do you accept?
      • Static Residential Proxies
        • Which locations GoProxies covers with Static Residential Proxies?
        • Do you offer a free trial for Static Residential Proxies?
      • Rotating Residential Proxies
        • What locations GoProxies covers with Rotating Residential Proxies?
        • What HTTP(s) ports do you allow access to?
        • Is it possible to rotate the Residential IP every request?
        • How many concurrent sessions can I make?
    • Contact Support
Powered by GitBook
On this page

Was this helpful?

  1. Proxies
  2. Resellers API

How to check usage traffic of the sub-user?

PreviousHow to create a sub-user via GoProxies API?NextHTTP Error Response codes

Last updated 2 months ago

Was this helpful?

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 .

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
login step