Do you have a Pricing API

December 12, 2016 2k views
Arch Linux API

A couple of years ago i asked about a pricing API similar to what Amazon offers for their services. Is such an API available or could I get access to the file(s) containing this information. I suspect the information is available somewhere other than scrapping the web pages.

cheers
</jima>

2 Answers

You can look at API endpoints. As you can see there is no pricing endpoint.

You have invoice available in Control Panel (Settings -> Billing). Invoice is updated daily. You also have invoices for past month.

Beside scraping Web pages, you can utilize API and make script that will calculate usage for you.
Something like: take all Droplets and creation time, same for Snapshots and Block Storage, calculate hours (from 1st of month to 672 hours) and multiple by price.

You can leave your feedback/idea on DigitalOcean UserVoice.

Hi guys!

Also have a same issue: do you have an API with pricing info currently?
I don’t mean only for those droplets that I’m using, but also for all instances that are available on Digital Ocean (so I cannot use the option with parsing invoices).

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!