Complete reference documentation for the Spaces RESTful XML API, which is interoperable with Amazon’s AWS S3 API.
Spaces Reference
Validated on 17 Jul 2025 • Last edited on 18 Aug 2025
Spaces Object Storage is an S3-compatible service for storing and serving large amounts of data. The built-in Spaces CDN minimizes page load times, improves performance, and reduces bandwidth and infrastructure costs.
The DigitalOcean API
The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.
Third-Party Clients
In addition to the DigitalOcean Control Panel and Spaces API, you can use any S3-compatible third-party client to connect to and manage Spaces.
Graphical Clients
Like the control panel, graphical clients provide a graphical interface for managing Spaces buckets. Unlike the control panel, they avoid browser limitations and they require configuration to connect.
Transmit 4 is a macOS-only file transfer utility that is fully compatible with Spaces.
Transmit 5 is the latest version of the macOS-only file transfer utility. It’s largely compatible with Spaces, but Transmit 4 is fully compatible.
Cyberduck is an open-source file transfer client for Windows and macOS that supports S3.
Command-Line Tools
Command-line tools work in a terminal and let you interact with Spaces buckets in scripts and automation.
s3cmd is a cross-platform command-line tool for managing S3 and S3-compatible object stores.
Examples of s3cmd commands for common actions with Spaces, like uploading and managing files, setting permissions, and encryption.
API Client Libraries
SDKs and API client libraries let you manage Spaces buckets programmatically. Spaces supports the AWS S3 SDKs and other S3-compatible libraries.
The Spaces API is inter-operable with the AWS S3 API, meaning you can use existing S3 tools and libraries with it. These examples demonstrate how to perform a number of common Spaces operations in JavaScript, Go, PHP, Python 3, and Ruby.