Where are the images list?

June 28, 2013 8.6k views
I was looking for the ID's of the different distros... I couldn't find it for using the API to rebuild my servers... Any help?
12 Answers
Hello Kamal,
We are looking for an easy way to find the image id value for each image in each region.

If anyone is interested in the Precise x64 image in San Francisco 1 (region 4), the image id is 3101045.

I found the value i needed by using Chrome inspect element similar to the Firebug approach for Firefox that mczylok used.

There needs to be an easier way to get this information for folks who want to use APIs.

Thank you.

If you have Tugboat installed:

tugboat images -g

The images aren't in alphabetical order, however. So if you want to find all CentOS images, you can combine this command with grep like so:

tugboat images -g | grep -i centos

The above command gives (as of March 7 2015) the following output:

5.10 x64 (id: 6372321, distro: CentOS)
5.10 x32 (id: 6372425, distro: CentOS)
7 x64 (id: 10322623, distro: CentOS)
6.5 x64 (id: 10325922, distro: CentOS)
6.5 x32 (id: 10325992, distro: CentOS)

Use /v2/images except that this only shows 20 per page by default, so use per_page= to get the list on one page. Here is the full URL:


So with curl, use something like:

curl -X GET --silent "https://api.digitalocean.com/v2/images?per_page=999" -H "Authorization: Bearer $TOKEN" |jq '.'
The images list can be accessed via the API: https://api.digitalocean.com/#images-list
This is no longer the case? It redirects me to: https://developers.digitalocean.com/#images-list which is just the main page for development.
Here you have (to get it i use firebug on rebuild section)
361740 Arch Linux 2013.05 x32
350424 Arch Linux 2013.05 x64
1602 CentOS 5.8 x32
1601 CentOS 5.8 x64
376568 CentOS 6.4 x32
562354 CentOS 6.4 x64
3102733 CentOS 6.5 x32
3102789 CentOS 6.5 x64
12575 Debian 6.0 x32
12573 Debian 6.0 x64
3102384 Debian 7.0 x32
3102387 Debian 7.0 x64
3104894 Docker 0.10 on Ubuntu 13.10 x64
3140202 Dokku-v0.2.1 on Ubuntu 13.04
32387 Fedora 17 x32
32399 Fedora 17 x32 Desktop
32428 Fedora 17 x64
32419 Fedora 17 x64 Desktop
3102721 Fedora 19 x32
3102879 Fedora 19 x64
3121555 Ghost 0.4.2 on Ubuntu 12.04
3118238 GitLab 6.6.5 CE
3120115 LAMP on Ubuntu 12.04
3118235 MEAN on Ubuntu 12.04.4
3137903 Redmine on Ubuntu 12.04
3137635 Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn)
14098 Ubuntu 10.04 x32
14097 Ubuntu 10.04 x64
3100616 Ubuntu 12.04.4 x32
3101045 Ubuntu 12.04.4 x64
3101888 Ubuntu 12.10 x32
3101891 Ubuntu 12.10 x64
3104282 Ubuntu 12.10 x64 Desktop
3101580 Ubuntu 13.10 x32
3101918 Ubuntu 13.10 x64
3135725 Wordpress on Ubuntu 13.10
The full image list is available via the API:


See: https://developers.digitalocean.com/images/

First, get a Personal Access Token (click on Apps & API button on the main DO console), then use the following curl command.

curl -X GET "https://api.digitalocean.com/v2/images" -H "Authorization: Bearer $TOKEN"

Thanks for that malist.

After a little playing around I found out how to prettify it:
curl -X GET "https://api.digitalocean.com/v2/images" -H "Authorization: Bearer $TOKEN" | python -mjson.tool | less

and then - when I still couldn't find the Debian7 x64 image name I was looking for, that I needed to call two more pages in sequence. So:

curl -X GET "https://api.digitalocean.com/v2/images?page=2" -H "Authorization: Bearer $TOKEN" | python -mjson.tool | less


curl -X GET "https://api.digitalocean.com/v2/images?page=3" -H "Authorization: Bearer $TOKEN" | python -mjson.tool | less

Hope that helps someone.


Install doctl


$ doctl compute image list
Have another answer? Share your knowledge.