---
title: API Overview
description: The DigitalOcean API lets you programmatically manage Droplets, Kubernetes clusters, databases, and other DigitalOcean resources with conventional …
product: Reference
url: https://docs.digitalocean.com/reference/api/
last_updated: "2026-11-11"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](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

DigitalOcean has five 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, Kubernetes clusters, databases, and other DigitalOcean resources with conventional HTTP requests. Official client libraries wrap it for Python ([PyDo](https://docs.digitalocean.com/reference/pydo/index.html.md)), Go ([Godo](https://docs.digitalocean.com/reference/godo/index.html.md)), and TypeScript ([DoTs](https://docs.digitalocean.com/reference/dots/index.html.md)).

[DigitalOcean API Reference](https://docs.digitalocean.com/reference/api/reference/index.html.md): Complete reference documentation for the DigitalOcean API, including request samples in cURL, Python, Go, and Ruby.

[How to Create a Personal Access Token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md): 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](https://docs.digitalocean.com/reference/api/spaces/index.html.md): Complete reference documentation for the Spaces RESTful XML API, interoperable with Amazon S3.

[How to Manage Access to DigitalOcean Spaces](https://docs.digitalocean.com/products/spaces/how-to/manage-access/index.html.md): Control access to Spaces buckets using access keys or DigitalOcean teams.

[Use DigitalOcean Spaces with AWS S3 SDKs](https://docs.digitalocean.com/products/spaces/reference/aws-sdks/index.html.md): 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](https://docs.digitalocean.com/reference/api/oauth/index.html.md): 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](https://docs.digitalocean.com/reference/api/metadata/index.html.md): Complete reference documentation for the Metadata API for Droplets.

[How to Access Information about a Droplet using the Metadata API](https://docs.digitalocean.com/products/droplets/how-to/access-metadata/index.html.md): Use the Droplet metadata service to programmatically query a Droplet for information about itself.

## Documentation Search API

The Documentation Search API returns ranked DigitalOcean documentation pages for a keyword query as JSON, with no authentication. It is in public preview and uses the same index as the Documentation MCP server.

[Documentation Search API](https://docs.digitalocean.com/reference/mcp/documentation-search-api/index.html.md): Search DigitalOcean documentation over HTTPS without MCP or authentication, using the same index as the Documentation MCP server.

## Latest Updates

### 19 November 2026

- Released [v2.7.0 of doctl](https://github.com/digitalocean/doctl/releases/tag/v2.7.0), the official DigitalOcean CLI. This release adds an `--enable-insights-logs` flag to [`doctl registries create`](https://docs.digitalocean.com/reference/doctl/reference/registries/create/index.html.md) and [`doctl kubernetes cluster create`](https://docs.digitalocean.com/reference/doctl/reference/kubernetes/cluster/create/index.html.md) for sending a new registry’s or cluster’s logs to [Insights](https://docs.digitalocean.com/products/insights/index.html.md), and a `--turn-type` flag to `doctl evaluation metric list` and `doctl evaluation custom-metric create` for single-turn and multi-turn metrics.

### 17 November 2026

- Released [v2.6.0 of doctl](https://github.com/digitalocean/doctl/releases/tag/v2.6.0), the official DigitalOcean CLI. This release adds a [`doctl compute microvm update`](https://docs.digitalocean.com/reference/doctl/reference/compute/microvm/update/index.html.md) command for [changing a running or paused MicroVM’s name, tags, and auto-pause idle timeout](https://docs.digitalocean.com/products/microvms/how-to/update/index.html.md).

### 13 November 2026

- Released [v2.5.0 of doctl](https://github.com/digitalocean/doctl/releases/tag/v2.5.0), the official DigitalOcean CLI. This release adds a [`doctl harness-runtime regions list`](https://docs.digitalocean.com/reference/doctl/reference/harness-runtime/regions/list/index.html.md) command, support for the MiniMax Code harness, and a `--spec` flag for [`doctl harness-runtime update`](https://docs.digitalocean.com/reference/doctl/reference/harness-runtime/update/index.html.md) that changes an existing session’s tools, environment variables, and secrets.

For more information, see [the full release notes](https://docs.digitalocean.com/release-notes/index.html.md).