List sub-user

List users

This endpoint retrieves all users in the system.

import requests
 
response = requests.get("https://proxy.webshare.io/api/v2/subuser/", headers={"Authorization": "Token APIKEY"})
response.json()
curl "https://proxy.webshare.io/api/v2/subuser/" \
  -H "Authorization: Token APIKEY"

The above command returns JSON structured like this:

{  
   "count":1,
   "next":null,
   "previous":null,
   "results":[  
        {  
           "id":7,
           "label":"Test User",
           "proxy_countries": {
              "ZZ":1000
            },
           "proxy_limit":10.0,
           "max_thread_count": 500,
           "aggregate_stats": {
              "bandwidth_projected": 100000,
              "bandwidth_total": 5000,
              "bandwidth_average": 1000,
              "requests_total": 5,
              "requests_successful": 4,
              "requests_failed": 1,
              "error_reasons": [
                {
                  "reason": "client_connect_forbidden_host",
                  "type": "configuration",
                  "how_to_fix": "The target website you are connecting cannot be accessed via Webshare Proxy.",
                  "http_status": 403,
                  "count": 1
                }
              ],
              "countries_used": {
                "GB": 1,
                "FR": 4
              },
              "number_of_proxies_used": 2,
              "protocols_used": {
                "http": 5
              },
              "average_concurrency": 0.0001388888888888889,
              "average_rps": 0.0002777777777777778,
              "last_request_sent_at": "2022-08-11T17:12:32.589667-07:00"
           },
           "created_at":"2019-06-09T23:34:00.095501-07:00",
           "updated_at":"2019-06-09T23:34:00.095517-07:00",
           "bandwidth_use_start_date":"2019-06-09T23:34:00.095517-07:00",
           "bandwidth_use_end_date":"2019-07-09T23:34:00.095517-07:00"
        }
   ]
}

HTTP request

GET https://proxy.webshare.io/api/v2/subuser/

URL parameters

ParameterDefaultDescription
page1Change the current page