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
| Operation | Request |
|---|---|
| List clouds | GET / |
| List a cloud's regions | GET / |
| List a cloud's plans | GET / |
| Get what's in stock on a cloud | GET / |
The Cloud object
A cloud you can create servers on, or custom for connecting servers you already have.
| Field | Type and description |
|---|---|
id | string The cloud's id. Use it to list its regions and plans, and to create a server. Known values: |
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 |
Example
{
"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.
| Field | Type and description |
|---|---|
id | string The region's id. Pass it as |
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: |
cloud | string The cloud the region belongs to. Known values: |
Example
{
"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.
| Field | Type and description |
|---|---|
id | string The plan's id. Pass it as |
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: |
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: Known values: |
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 Always |
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
{
"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.
| Field | Type and description |
|---|---|
cloud | string The cloud this is for. Known values: |
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
{
"cloud": "digitalocean",
"regions": {
"fra1": [
"starter",
"standard",
"business"
],
"nyc3": [
"standard",
"business"
],
"lon1": []
}
}