cURL
curl --request GET \ --url https://api.goproxy.com/go-api/v1/subAccount/planUsage \ --header 'apiKey: <apikey>'
{ "authAccount": "testUser", "useTraffic": "0.0", "useLimit": "5.0" }
Get the usage of the sub-account.
Your API key for authentication.
The proxy type you want to query. Use: 1 for Rotating Residential, 2 for Rotating Mobile, 3 for Rotating Datacenter.
The username of the sub-account you want to query.
Successful Response
The username of the sub-account.
"testUser"
Traffic that has been used, in GB.
"0.0"
Traffic limit for the sub-account, in GB. -1 indicates no limit.
"5.0"