API

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.

Getting Started

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

API Reference Documentation

Programmatically manage Droplets and other DigitalOcean resources using conventional HTTP requests. All of the functionality in the DigitalOcean Control Panel is also available through the API.
Programmatically manage your data with Spaces’ AWS S3-compatible object storage API.
Metadata allows a Droplet to access information about itself including user data, Droplet ID, datacenter region, and IP addresses.
OAuth is a secure method for authenticating users and allowing third-party applications limited access to your servers or DigitalOcean user accounts.

API Clients

The official DigitalOcean API client for Go.
The official DigitalOcean API client for Ruby.
Official and community-created client libraries that let you use the DigitalOcean API in a variety of programming languages.

More Information

Keep up to date with changes to our APIs with the changelog.

You can also subscribe to the changelog RSS feed.