API Tutorials

The DigitalOcean API lets you programmatically manage your Droplets and other resources using conventional HTTP requests. Any action that you can perform through the DigitalOcean Control Panel (except for creating personal access tokens) can also be performed with the API.

Find the full DigitalOcean APIv2 reference documentation on developers.digitalocean.com.

Getting Started

Get started with the DigitalOcean API using these examples.
Create a personal access token for use with the DigitalOcean API.


Official API Clients

  • godo: DigitalOcean API client for Go
  • DropletKit: DigitalOcean API client for Ruby

Discover open-source, community-supported clients in even more languages on our developer's site.


Keep up-to-date with changes to our API with our API changelog or subscribe to its RSS feed.