Skip to content

Catalogue

Clouds, locations and plans you can create servers with, and what's in stock. For the same in the control panel, see Choose a cloud, location and plan.

Operations

OperationRequest
List clouds GET /v1/clouds
List a cloud's regions GET /v1/clouds/{cloud}/regions
List a cloud's plans GET /v1/clouds/{cloud}/plans
Get what's in stock on a cloud GET /v1/clouds/{cloud}/availability

The Cloud object

A cloud you can create servers on, or custom for connecting servers you already have.

FieldType and description
id

string

The cloud's id. Use it to list its regions and plans, and to create a server.

Known values: digitaloceanvultrhetznerlinodegcpedgecustom More can appear.

name

string

The cloud's name, as the panel shows it.

storage

string

The kind of disk its servers have, as the panel shows it next to the disk size (for example SSD or NVMe SSD).

metered

boolean

Whether data transfer beyond what the plan includes is billed by use, to your card.

ownServer

boolean

Whether this is custom: servers you already have at any provider, connected with one command. Their size and location are your provider's.

Example

The Cloud object
{
  "id": "digitalocean",
  "name": "DigitalOcean",
  "storage": "SSD",
  "metered": false,
  "ownServer": false
}

The Region object

A location (data center) of a cloud where servers can be created.

FieldType and description
id

string

The region's id. Pass it as region when you create a server.

name

string

The region's name, as the panel shows it.

city

string

The city the data center is in, or near.

country

string

The country, in English.

countryCode

string

The country's two-letter ISO 3166-1 code.

continent

string

The part of the world, as the panel groups regions.

Known values: North AmericaSouth AmericaEuropeAsia PacificMiddle East & Africa More can appear.

cloud

string

The cloud the region belongs to.

Known values: digitaloceanvultrhetznerlinodegcpedgecustom More can appear.

Example

The Region object
{
  "id": "nyc3",
  "name": "New York 3",
  "city": "New York",
  "country": "United States",
  "countryCode": "US",
  "continent": "North America",
  "cloud": "digitalocean"
}

The Plan object

A plan (a server size) you can choose on a cloud, with its price a month.

FieldType and description
id

string

The plan's id. Pass it as planId when you create or resize a server.

name

string

The plan's name, as the panel shows it.

description

string

What the plan suits, or what its type of server is, in a sentence.

cloud

string

The cloud these values are for: a plan offered on two clouds can have more disk or data transfer on one.

Known values: digitaloceanvultrhetznerlinodegcpedgecustom More can appear.

line

string or null

The type of server, as the panel's headings show it (for example General Purpose). Null for the Own servers plan.

option

string or null

The choice within the type, where there is one (for example Premium Intel); otherwise null.

architecture

string or null

The kind of processor: x86_64 (Intel or AMD) or arm64. Null for the Own servers plan: its servers can have either.

Known values: x86_64arm64 More can appear.

vcpus

number

Virtual CPUs. 0 for the Own servers plan: each of your servers has its own.

memoryGb

number

Memory, in GB. 0 for the Own servers plan.

diskGb

number

Disk, in GB, on this cloud. 0 for the Own servers plan.

transferTb

number

Data transfer included each month, in TB, on this cloud. 0 for the Own servers plan.

priceMonthlyCents

integer

The price a month for a new server, in US cents, before any offer (during a sale the first invoices can be lower). For the Own servers plan, one price covers all of the account's own servers.

currency

string Always "usd"

Always usd: amounts are in US cents.

regions

array of strings or null

The only regions the plan is offered in, or null when it's offered in every region of the cloud.

popular

boolean

Whether the panel suggests it as a popular choice.

Example

The Plan object
{
  "id": "starter",
  "name": "Starter",
  "description": "Personal sites, portfolios and small blogs.",
  "cloud": "digitalocean",
  "line": "Basic",
  "option": "Regular",
  "architecture": "x86_64",
  "vcpus": 1,
  "memoryGb": 1,
  "diskGb": 25,
  "transferTb": 1,
  "priceMonthlyCents": 1200,
  "currency": "usd",
  "regions": null,
  "popular": false
}

The Availability object

Which plans can be created in each region of a cloud right now.

FieldType and description
cloud

string

The cloud this is for.

Known values: digitaloceanvultrhetznerlinodegcpedgecustom More can appear.

regions

object or null

Each region's id, with the ids of the plans that can be created there now (an empty list: none). Null when the cloud doesn't report its stock: then any plan it lists can be ordered, and the order is still checked when it's placed.

Example

The Availability object
{
  "cloud": "digitalocean",
  "regions": {
    "fra1": [
      "starter",
      "standard",
      "business"
    ],
    "nyc3": [
      "standard",
      "business"
    ],
    "lon1": []
  }
}

Popular

API docs