Question

How to determine SSD or NVMe from API

I am using some plans that are no longer shown in the UI. I add them via the API. How can I tell if they are using SSD or NVMe?

I returned all the sizes via the API but there is nothing in there that shows storage type as far as I can tell.

This is one plan, as returned by the API, that I am trying to figure out whether it uses SSD or NVMe

{
            "available": true,
            "description": "Basic Intel",
            "disk": 80,
            "memory": 4096,
            "price_hourly": 0.04167,
            "price_monthly": 28.0,
            "regions": [
                "ams3",
                "blr1",
                "fra1",
                "lon1",
                "nyc1",
                "nyc3",
                "sfo3",
                "sgp1",
                "syd1",
                "tor1"
            ],
            "slug": "s-2vcpu-4gb-intel",
            "transfer": 4.0,
            "vcpus": 2
        },

Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
January 17, 2024

Hey @samiam,

I believe that the DigitalOcean API does not provide direct information about whether a specific plan uses SSD or NVMe storage in the response data. The details you’ve provided from the API response, such as disk, memory, price_hourly, etc., typically don’t include the storage type.

But looking at the description Basic Intel you mentioned, I would say that it sounds like that the Droplet is using an SSD. The Premium Intel Droplets come with NVMe:

You can use this website here for a reference:

https://slugs.do-api.dev/

Or you can use the doctl compute size list command to get that information as well.

If you wish, you can also try reaching out to the DigitalOcean support team who might be able to confirm this for you:

https://www.digitalocean.com/support/

Hope that helps!

- Bobby.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

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

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.