digitalocean.com

Introduction The DigitalOcean API allows you to manage Droplets and resources within the DigitalOcean cloud in a simple, programmatic way using conventional HTTP requests. All of the functionality that you are familiar with in the DigitalOcean control panel is also available through the API, all

🔑 bearer 290 endpoints hosting
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (8 total)

gradient-python ✓ Official
pip install gradient-python
webhook-sdk-javascript ✓ Official
npm install webhook-sdk-javascript
gradient-typescript ✓ Official
npm install gradient-typescript
npm install digitalocean-droplet-sdk
go get github.com/thenomemac/digitalocean_spaces_golang_aws_sdk_example
composer require digitalocean
gradient-starter-kit ✓ Official
# See https://github.com/digitalocean-labs/gradient-starter-kit
# See https://github.com/152percent/DigitalOcean-SDK
curl examples
List All Apps
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://api.digitalocean.com/v2/apps
List All Tags
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://api.digitalocean.com/v2/tags
List All VPCs
curl \
  -H "Authorization: Bearer $API_KEY" \
  https://api.digitalocean.com/v2/vpcs
Endpoints (290 total)
GET
/v2/apps
List All Apps
GET
/v2/tags
List All Tags
GET
/v2/vpcs
List All VPCs
GET
/v2/sizes
List All Droplet Sizes
GET
/v2/images
List All Images
GET
/v2/account
Get User Information
GET
/v2/actions
List All Actions
GET
/v2/domains
List All Domains
GET
/v2/regions
List All Data Center Regions
GET
/v2/volumes
List All Block Storage Volumes
GET
/v2/1-clicks
List 1-Click Applications
GET
/v2/droplets
List All Droplets
At a glance
Total SDKs8
Languages7
Endpoints290
Authbearer
Categories1
https://api.digitalocean.com