By Tim Mills
I am able to get the bandwidth metrics from the API for any of my droplets. The returned data contains several pairs. The first seems to be the bandwidth usage and the second appears to be a Unix Timestamp. According to the Timestamp the usage is reported in two minute increments. If I ask for the bandwidth metrics for a 10 minute timespan, I will get 5 pairs of data. Does anyone know the units for the usage. I tried to figure it out but can’t make much sense of it and I don’t see it mentioned in the API documentation. Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello @timmills,
The bandwidth response from API displays bandwidth usage in megabits per second. Any data transfer sent by a Droplet using a public network interface will count against the transfer pool for that Droplet’s account.
Hope this helps!
Cheers, Lalitha
To check the current follow these steps:
In case this is helpful, here is how the usage works:
Outbound data transfer is shared between your Droplets each billing cycle. If the outbound transfer exceeds the amount included with your Droplets at end of the cycle, you will be charged $0.01 per excess gigabyte.
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.