Report this

What is the reason for this report?

Get Droplet Bandwidth Metrics API units

Posted on April 4, 2022

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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:

  • Log in to your DigitalOcean Control Panel
  • Then click on ‘Billing’
  • Scroll a bit down until you get to the ‘Droplet transfer’ section
  • There you will be able to see the Estimated Droplet Transfer Pool and the current status

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!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.