Usage stats: Check on Dashboard ( +API )
Accessing usage statistics through the API allows you to monitor and analyze your proxy usage, providing valuable insights into your resource consumption and performance. This guide outlines the process of obtaining usage statistics via the API, enabling you to optimize your proxy usage effectively.
Method 1: Dashboard
Step 1: Log In to Geonode Dashboard
Access the Geonode Dashboard using your registered account credentials.
Step 2: Access the Geonode Dashboard using your registered account credentials. Select the desired service/product for which you want to view the statistics. Locate and click on the "Statistics" tab within the service/product dashboard. For example, let's use the "Premium Residential" service here.
Step 3: Statistics
While using the dashboard, you'll see useful information on the right side:
- Shows the total bandwidth you have.
- Displays how much bandwidth you have left.
On the left side:
- Gives detailed statistics of your bandwidth usage per hour, day, and more. This helps you manage your resources better.
Method 2: API
Use the API to request monitor stats data.
Request
GET
curl -X GET "https://monitor.geonode.com/monitor-light/?timePeriod=day" -u geonode_:
Parameters
service-name
e.g., residential-premium
The name of the service that you purchase.
username
string
Your API username (Required)
password
string
Your API password (Required)
Implementation
Expected Response
{
"data": {
"bandwidth": {
"data": {
"default": 542329384928,
"currentFastBandwidth": 0,
"totalBandwidthInGB": 550
}
}
}
}
Note:
"currentFastBandwidth": 0, (Applicable only to unlimited services.)
Conclusion
Obtaining usage statistics through the API empowers you to monitor your proxy usage effectively, enabling you to make informed decisions and optimize your proxy resources for better performance. By leveraging these insights, you can enhance your proxy management and streamline your online activities.