Skip to content

List server plans

GET/servers/catalog

Overview

Lists available plans and prices. groups contains plans grouped by product and location. billing_cycles lists the available payment periods and their lengths in months. default_billing_cycle is used when an order does not specify a cycle. currency applies to all prices. payment_window_minutes is the time allowed to pay for an order.

New servers are created in default_team, which is the team the request works in. The SSH keys and script an order names are taken from the same team. is_active is always true.

When ordering is unavailable, enabled is false, message explains why, and no plans are returned.

Permissions

Requires the server.read (View servers) permission for the selected team. Resources outside that team return 404.

curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/servers/catalog' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
{
  "enabled": true,
  "currency": "USD",
  "payment_window_minutes": 30,
  "billing_cycles": [
    {
      "value": "monthly",
      "label": "Monthly",
      "months": 1
    },
    {
      "value": "quarterly",
      "label": "Quarterly",
      "months": 3
    },
    {
      "value": "semiannually",
      "label": "Semi-annually",
      "months": 6
    },
    {
      "value": "annually",
      "label": "Yearly",
      "months": 12
    }
  ],
  "default_billing_cycle": "monthly",
  "default_team": {
    "id": "fbb31f5f-bd6f-4019-a3ed-1062a28f56f7",
    "name": "Anomalous Materials",
    "is_active": true
  },
  "message": null,
  "groups": [
    {
      "id": "2",
      "name": "Standard VPS",
      "description": "NVMe storage, DDR5 memory and a 10 Gbps port on every plan.",
      "subtext": null,
      "speed": "10 Gbps",
      "ddr5": true,
      "locations": [
        {
          "id": "2-3",
          "display_name": "Kansas City, MO",
          "name": "Kansas City, MO",
          "flag_url": null,
          "cid": 3,
          "group_name": "Standard VPS",
          "location_id": 3,
          "product_group_id": 2,
          "plans": [
            {
              "key": "032f97c3b0f718ae9a2edfba83d5adf321025b5d9af1e90d397e79b8667bb3a4",
              "id": "standard-4gb",
              "name": "Standard 4 GB",
              "vcpu_cores": 4,
              "memory": 4000,
              "disk": 80,
              "bandwidth": 5000,
              "hdd": false,
              "primary_disk": 80,
              "hdd_disk": 0,
              "price": "12.00",
              "deployment_time": "Instant",
              "whmcs_id": "48",
              "available": true,
              "stock": 14
            }
          ]
        }
      ]
    }
  ]
}

Authorization

Authorizationstringheaderrequired

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Send it as Bearer <token>.

Response 200

application/json

The record, as a JSON object. There is no envelope.

enabledbooleanrequired

The value of enabled.

currencystringrequired

The three-letter currency code used for monetary amounts.

payment_window_minutesintegerrequired

How many minutes the original payment window allowed.

billing_cyclesobject[]required

The value of billing_cycles.

Show child attributes
valuestringrequired

The value of value.

labelstringrequired

A short label shown to customers.

monthsintegerrequired

The value of months.

default_billing_cyclestringrequired

The value of default_billing_cycle.

default_teamobjectrequired

The value of default_team.

Show child attributes
idstring<uuid> | nullrequired

The id ID.

namestring | nullrequired

The name shown to customers.

is_activebooleanrequired

Whether the resource is active.

messagestring | nullrequired

The message text.

groupsobject[]required

The value of groups.

Show child attributes
idstringrequired

The id ID.

namestringrequired

The name shown to customers.

descriptionstring | nullrequired

An optional description shown to customers.

subtextstring | nullrequired

The value of subtext.

speedstring | nullrequired

The value of speed.

ddr5booleanrequired

The value of ddr5.

locationsobject[]required

The value of locations.

Show child attributes
idstringrequired

The id ID.

display_namestringrequired

The value of display_name.

namestringrequired

The name shown to customers.

flag_urlstring | nullrequired

The value of flag_url.

cidintegerrequired

The value of cid.

group_namestringrequired

The value of group_name.

location_idintegerrequired

The location id ID.

product_group_idintegerrequired

The product group id ID.

plansobject[]required

The value of plans.

Show child attributes
keystringrequired

The value of key.

idstringrequired

The id ID.

namestringrequired

The name shown to customers.

vcpu_coresintegerrequired

The value of vcpu_cores.

memoryintegerrequired

Memory in advertised units; 1000 represents 1 GiB.

diskintegerrequired

Advertised disk capacity in GiB.

bandwidthintegerrequired

Transfer allowance in advertised units; 1000 represents 1 TiB and zero means unlimited.

hddbooleanrequired

The value of hdd.

primary_diskintegerrequired

Primary disk capacity in GiB.

hdd_diskintegerrequired

Secondary hard disk capacity in GiB.

pricestringrequired

The value of price.

deployment_timestring | nullrequired

The value of deployment_time.

whmcs_idstringrequired

The billing product identifier.

availablebooleanrequired

The value of available.

stockinteger | nullrequired

The value of stock.

Errors

401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.