[metadata]
color-scheme: light dark
description: Programmatically manage your Droplets, Spaces, and other DigitalOcean resources using conventional HTTP requests. Use RESTful APIs to programmatically …
generator: Hugo 0.161.1
google-site-verification: CAYPZwe7daX8KlYYZfB4VMjfT4g8Tqrrc4Q3g_wMvI8
keywords: DigitalOcean, cloud computing
og:site_name: DigitalOcean
og:type: article
twitter:card: summary_large_image
twitter:creator: @DigitalOcean
twitter:site: DigitalOcean
twitter:url: https://docs.digitalocean.com/reference/api/
viewport: width=device-width, initial-scale=1

[canonical-links]
https://docs.digitalocean.com/reference/api/

[document-links]
/products/droplets/how-to/access-metadata/
/products/spaces/how-to/manage-access/
/products/spaces/reference/aws-sdks/
/reference/api/create-personal-access-token/
/reference/api/metadata/
/reference/api/oauth/
/reference/api/reference/
/reference/api/spaces/
API Reference: https://docs.digitalocean.com/reference/api
APIs: /reference/api/
About: https://www.digitalocean.com/about
Access Metadata: /products/droplets/how-to/access-metadata/
Advanced Edition: /products/databases/postgresql/how-to/use-advanced-edition-clusters/
Ansible: /reference/ansible/
Blog: https://www.digitalocean.com/blog
CLI Reference: https://docs.digitalocean.com/reference/doctl
Careers: https://www.digitalocean.com/careers
Code of Conduct: https://www.digitalocean.com/community/pages/code-of-conduct
Create an Access Token: /reference/api/create-personal-access-token/
Currents Research: https://www.digitalocean.com/currents
DigitalOcean API: /reference/api/#digitalocean
Docs Home: https://docs.digitalocean.com
Docs: https://docs.digitalocean.com/
Give Feedback: https://ideas.digitalocean.com/documentation
Legal: https://www.digitalocean.com/legal
Libraries: /reference/libraries/
MCP Server: /reference/mcp/
Manage Model Access Keys: /products/inference/how-to/manage-model-access-keys/
Metadata API: /reference/api/#metadata
Network File Storage: /products/nfs/
OAuth API: /reference/api/oauth/
Open Source: /reference/opensource/
Paperspace: /reference/paperspace/
Platform: https://docs.digitalocean.com/platform/
Products: https://docs.digitalocean.com/products/
PyDo: /reference/pydo/
Q&A: https://www.digitalocean.com/community/questions
Reference: /reference/api/digitalocean/
Reference: /reference/api/metadata/
Reference: /reference/api/reference/
Reference: /reference/api/spaces/
Reference: https://docs.digitalocean.com/reference/
Release Notes: https://docs.digitalocean.com/release-notes
Report Abuse: https://www.digitalocean.com/company/contact/abuse
Sign Up: https://cloud.digitalocean.com/registrations/new
Spaces API: /reference/api/#spaces
Support Center: /support
Support: https://docs.digitalocean.com/support/
Terraform: /reference/terraform/
Token Scopes: /reference/api/scopes/
Trust Platform: https://www.digitalocean.com/trust
Tutorials: https://www.digitalocean.com/community/tutorials
View page as Markdown: /reference/api/index.html.md
Write for DOnations: https://www.digitalocean.com/community/pages/write-for-digitalocean
doctl CLI: /reference/doctl/
https://discord.gg/digitalocean
https://docs.digitalocean.com/llms.txt: https://docs.digitalocean.com/llms.txt
https://github.com/digitalocean
https://www.facebook.com/DigitalOceanCloudHosting
https://www.instagram.com/thedigitalocean
https://www.linkedin.com/company/digitalocean
https://www.youtube.com/DigitalOcean
https://x.com/digitalocean
llms.txt: https://docs.digitalocean.com/llms.txt
the full release notes: https://docs.digitalocean.com/release-notes/
v1.162.0 of doctl: https://github.com/digitalocean/doctl/releases/tag/v1.162.0
v1.163.0 of doctl: https://github.com/digitalocean/doctl/releases/tag/v1.163.0
v1.164.0 of doctl: https://github.com/digitalocean/doctl/releases/tag/v1.164.0
vector databases: /products/vector-databases/
vector-databases: /reference/doctl/reference/vector-databases/

[structured-data]
{"@context":"https://schema.org","@type":"TechArticle","author":{"@type":"Organization","name":"DigitalOcean","url":"https://www.digitalocean.com"},"dateModified":"2026-07-13","datePublished":"2018-06-19","description":"Programmatically manage your Droplets, Spaces, and other DigitalOcean resources using conventional HTTP requests. Use RESTful APIs to programmatically …","headline":"API Overview","image":"https://www.digitalocean.com/_next/static/media/intro-to-cloud.d49bc5f7.jpeg","inLanguage":"en","keywords":"DigitalOcean, cloud computing","mainEntityOfPage":{"@id":"https://docs.digitalocean.com/reference/api/","@type":"WebPage"},"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"https://www.digitalocean.com/_next/static/media/logo.b31e883e.svg"},"name":"DigitalOcean"}}

[content]
API Overview | DigitalOcean Documentation
Docs
Platform
Products
Reference
Support
Sign Up
doctl CLI
APIs
DigitalOcean API
Reference
Create an Access Token
Manage Model Access Keys
Spaces API
Reference
OAuth API
Metadata API
Reference
Access Metadata
Token Scopes
Reference
MCP Server
Paperspace
Ansible
Terraform
PyDo
Libraries
Open Source
APIs
Give Feedback
For AI agents:
The documentation index is at
https://docs.digitalocean.com/llms.txt
. Markdown versions of pages use the same URL with
index.html.md
in place of the HTML page (for example, append
index.html.md
to the directory path instead of opening the HTML document).
API Overview
Last verified 13 Jul 2026
Copy page as Markdown
View page as Markdown
DigitalOcean has four APIs that let you programmatically manage and interact with various products and parts of the platform.
DigitalOcean API
The DigitalOcean API lets you programmatically manage Droplets and other DigitalOcean resources using conventional HTTP requests.
DigitalOcean API Reference
Complete reference documentation for the DigitalOcean API, including request samples in cURL, Python, Go, and Ruby.
How to Create a Personal Access Token
Create a personal access token for use with the DigitalOcean API.
Spaces API
Spaces provides a RESTful XML API for programmatically managing the data you store through standard HTTP requests. The API is interoperable with Amazon’s AWS S3 API, allowing you to interact with the service with any S3-compatible tools.
Spaces API Reference Documentation
Complete reference documentation for the Spaces RESTful XML API, interoperable with Amazon S3.
How to Manage Access to DigitalOcean Spaces
Control access to Spaces buckets using access keys or DigitalOcean teams.
Use DigitalOcean Spaces with AWS S3 SDKs
Configure AWS S3 SDKs to work with DigitalOcean Spaces and run compatible S3 API operations.
OAuth API
The OAuth API is a secure method for authenticating users and allowing third-party applications limited access to your servers or DigitalOcean user accounts.
DigitalOcean OAuth API
Complete reference documentation for the OAuth API, including application registration.
Metadata API
The metadata API allows a Droplet to access information about itself including user data, Droplet ID, datacenter region, and IP addresses. Droplets can access the metadata service using the static, link-local IP address
169.254.169.254
.
DigitalOcean Metadata API Reference
Complete reference documentation for the Metadata API for Droplets.
How to Access Information about a Droplet using the Metadata API
Use the Droplet metadata service to programmatically query a Droplet for information about itself.
Latest Updates
23 July 2026
Released
v1.164.0 of doctl
, the official DigitalOcean CLI. This release adds commands for managing Secrets Manager secrets and
Network File Storage
access points.
25 June 2026
Released
v1.163.0 of doctl
, the official DigitalOcean CLI. This release adds a
vector-databases
command group for managing
vector databases
.
16 June 2026
Released
v1.162.0 of doctl
, the official DigitalOcean CLI. This release adds support for the PostgreSQL and MySQL
Advanced Edition
engines,
advanced_pg
and
advanced_mysql
, in the
databases
commands.
For more information, see
the full release notes
.
In this article...
DigitalOcean API
Spaces API
OAuth API
Metadata API
Company
About
Careers
Blog
Docs
Docs Home
API Reference
CLI Reference
Release Notes
llms.txt
Trust Platform
Community
Tutorials
Q&A
Write for DOnations
Currents Research
Legal
Code of Conduct
Support
Support Center
Report Abuse
© 2026 DigitalOcean, LLC. All rights reserved
We can't find any results for your search.
Try using different keywords or simplifying your search terms.
