Report this

What is the reason for this report?

How to determine SSD or NVMe from API

Posted on January 15, 2024

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
        },


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.

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.

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.