VPSBG's dev hub
HomePricingKnowledge BaseContact us
HomePricingKnowledge BaseContact us
  1. Scale
  • 👋 Hello
  • API Introduction
    • API Introduction
    • How to generate API key?
  • API Reference
    • User
      • 2FA
        • Get 2FA secret key
        • Enable 2FA
        • Disable 2FA
      • Update user
      • Get account information
    • Balance
      • Balance
      • Deposit funds
      • List balance transactions
    • Affiliate
      • Get affiliate information
      • List conversions
      • List payouts
      • Activate affiliate program
      • Update referral code
    • Invoices
      • List invoices
      • Download an invoice
      • Download invoices
    • Support
      • Tickets
        • List tickets
        • List departments
        • List related services
        • Get a ticket
        • Create new ticket
        • Reply to ticket
        • Mark ticket as resolved
        • Download attachment
      • List plans
      • Purchase support plan
      • Renew support plan
      • Cancel support plan
      • Undo cancel request
    • SSH Keys
      • Get an SSH Key
      • Update SSH Key
      • Delete SSH Key
      • List SSH keys
      • Add SSH Key
    • Servers
      • Scale
        • List plans
          GET
        • Calculate scale cost
          POST
        • Scale a server
          POST
      • Addons
        • List available addons
        • Scale addons
        • Calculate scale cost
        • Purchase new addons
        • Cancel addon
        • Undo cancel request
      • Rescue
        • Enable rescue mode
        • Disable rescue mode
      • List plans
        GET
      • List servers
        GET
      • Server status
        GET
      • Get a server
        GET
      • Server metrics
        GET
      • Bandwidth
        GET
      • Deploy new server
        POST
      • Start a server
        POST
      • Restart a server
        POST
      • Stop a server
        POST
      • Power off
        POST
      • Cancel server
        POST
      • Undo cancel request
        DELETE
      • Change password
        PUT
      • Update hostname
        PUT
      • Update SSH Keys
        PATCH
      • Modify ISOs
        POST
      • Restore
        POST
      • Renew server
        POST
      • Reinstall Server
        POST
      • Change Primary IP
        POST
      • Calculate renew amount
        POST
    • Plans
      • Plan addon
      • Plan promo-codes
    • Snapshots
      • List snapshots
      • Delete snapshot
    • Backups
      • List backups
      • Delete backup
    • Server Images
      • List server images
    • Floating IPs
      • List Floating IPs
      • Plans
      • Purchase Floating IPs
      • Attach Floating IP
      • Detach Floating IP
      • Cancel Floating IP
      • Delete Floating IP Cancellation
    • IP Addresses
      • Update IP address
    • Network Protection
      • Geo filter
        • Get current geo filter
        • Set geo filter
        • Update geo filter
        • Delete geo filter
      • Whitelist
        • Get status and list of IPs
        • Whitelist IP addresses
        • Update IP addresses list
        • Delete all rules
      • Blacklist
        • Get status and list of IPs
        • Blacklist IP addresses
        • Update IP addresses list
        • Delete all rules
      • General information
      • Bandwidth
      • List blocked IPs
      • List attacks
      • Get an attack
      • Attack bandwidth
    • Orders
      • List orders
      • Get an order
      • Delete order
      • Pay orders
      • Update order
      • Change renewal period
    • ISOs
      • Get an ISO
      • Delete an ISO
      • List ISOs
      • Add ISO
  1. Scale

List plans

GET
/servers/{id}/scale
Servers
This endpoint will return information about available server plans to which you can scale to. It filters all server plans that are with less disk space than your current server's disk space.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
integer 
required
Your VPSBG server's ID.
Header Params
Accept
string 
required
Default:
application/json

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.vpsbg.eu/v1/servers//scale' \
--header 'Accept;'

Responses

🟢200List of plans
application/json
Body
data
object (Plan) 
required
This model represents a deployment plan used when starting new servers. It defines your server resources and pricing.
id
integer 
optional
Example:
104
type
string 
optional
The VDS servers have dedicated CPU cores. Cloud VPS is using shared CPU power.
Example:
cloud-vps
key
string 
optional
name
string 
optional
Example:
cloud-vps-2gb
vcpus
integer 
optional
CPU cores limit. Dedicated, if it is a VDS product.
Example:
2
memory
integer 
optional
RAM of the server.
Example:
2
disk
integer 
optional
NVMe disk size limit in gigabytes.
Example:
50
bandwidth
integer 
optional
Traffic limit in terabytes.
Example:
5
minimum_billing_cycle
integer 
optional
The minimum billing period for which this plan can be purchased.
Example:
1
plan_with_more_disk
integer  | null 
optional
The same plan but with more disk (usually 2x).
plan_with_more_memory
integer  | null 
optional
The same plan but with more RAM (usually 2x).
available
boolean 
optional
Whether in stock or not.
price
number 
optional
Monthly price without VAT adjustments.
Example:
100
price_with_vat
number 
optional
Monthly prices adjusted for your VAT when applicable; use a promo code when ordering servers for discounts, or one may be automatically applied during promotional periods for your billing cycle.
Example:
120
Example
{
  "data": [
    {
      "id": 117,
      "type": "vds",
      "name": "vds-8gb-s",
      "vcpus": 2,
      "memory": 8,
      "disk": 100,
      "bandwidth": 10,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 100,
      "price_with_vat": 120
    },
    {
      "id": 116,
      "type": "vds",
      "name": "vds-8gb",
      "vcpus": 2,
      "memory": 8,
      "disk": 50,
      "bandwidth": 10,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 110,
      "price_with_vat": 132
    },
    {
      "id": 118,
      "type": "vds",
      "name": "vds-16gb",
      "vcpus": 4,
      "memory": 16,
      "disk": 100,
      "bandwidth": 20,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 150,
      "price_with_vat": 180
    },
    {
      "id": 119,
      "type": "vds",
      "name": "vds-16gb-s",
      "vcpus": 4,
      "memory": 16,
      "disk": 200,
      "bandwidth": 20,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 180,
      "price_with_vat": 216
    },
    {
      "id": 120,
      "type": "vds",
      "name": "vds-32gb",
      "vcpus": 8,
      "memory": 32,
      "disk": 200,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 300,
      "price_with_vat": 360
    },
    {
      "id": 121,
      "type": "vds",
      "name": "vds-32gb-s",
      "vcpus": 8,
      "memory": 32,
      "disk": 400,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 360,
      "price_with_vat": 432
    },
    {
      "id": 122,
      "type": "vds",
      "name": "vds-64gb",
      "vcpus": 16,
      "memory": 64,
      "disk": 400,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 600,
      "price_with_vat": 720
    },
    {
      "id": 123,
      "type": "vds",
      "name": "vds-64gb-s",
      "vcpus": 16,
      "memory": 64,
      "disk": 600,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 660,
      "price_with_vat": 792
    },
    {
      "id": 124,
      "type": "vds",
      "name": "vds-96gb",
      "vcpus": 24,
      "memory": 96,
      "disk": 600,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 900,
      "price_with_vat": 1080
    },
    {
      "id": 125,
      "type": "vds",
      "name": "vds-96gb-s",
      "vcpus": 24,
      "memory": 96,
      "disk": 800,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 960,
      "price_with_vat": 1152
    },
    {
      "id": 103,
      "type": "cloud-vps",
      "name": "cloud-vps-2gb",
      "vcpus": 2,
      "memory": 2,
      "disk": 50,
      "bandwidth": 5,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 25,
      "price_with_vat": 30
    },
    {
      "id": 104,
      "type": "cloud-vps",
      "name": "cloud-vps-4gb",
      "vcpus": 2,
      "memory": 4,
      "disk": 60,
      "bandwidth": 5,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 39,
      "price_with_vat": 46.8
    },
    {
      "id": 105,
      "type": "cloud-vps",
      "name": "cloud-vps-8gb",
      "vcpus": 4,
      "memory": 8,
      "disk": 80,
      "bandwidth": 10,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 78,
      "price_with_vat": 93.6
    },
    {
      "id": 106,
      "type": "cloud-vps",
      "name": "cloud-vps-16gb",
      "vcpus": 4,
      "memory": 16,
      "disk": 100,
      "bandwidth": 20,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 120,
      "price_with_vat": 144
    },
    {
      "id": 140,
      "type": "cloud-vps",
      "name": "cloud-vps-2gb-s",
      "vcpus": 2,
      "memory": 2,
      "disk": 100,
      "bandwidth": 5,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 127,
      "price_with_vat": 152.4
    },
    {
      "id": 107,
      "type": "cloud-vps",
      "name": "cloud-vps-16gb-s",
      "vcpus": 4,
      "memory": 16,
      "disk": 200,
      "bandwidth": 20,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 150,
      "price_with_vat": 180
    },
    {
      "id": 108,
      "type": "cloud-vps",
      "name": "cloud-vps-32gb",
      "vcpus": 8,
      "memory": 32,
      "disk": 200,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 240,
      "price_with_vat": 288
    },
    {
      "id": 109,
      "type": "cloud-vps",
      "name": "cloud-vps-32gb-s",
      "vcpus": 8,
      "memory": 32,
      "disk": 400,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 300,
      "price_with_vat": 360
    },
    {
      "id": 110,
      "type": "cloud-vps",
      "name": "cloud-vps-64gb",
      "vcpus": 16,
      "memory": 64,
      "disk": 400,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 480,
      "price_with_vat": 576
    },
    {
      "id": 111,
      "type": "cloud-vps",
      "name": "cloud-vps-64gb-s",
      "vcpus": 16,
      "memory": 64,
      "disk": 600,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 540,
      "price_with_vat": 648
    },
    {
      "id": 112,
      "type": "cloud-vps",
      "name": "cloud-vps-96gb",
      "vcpus": 24,
      "memory": 96,
      "disk": 600,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 720,
      "price_with_vat": 864
    },
    {
      "id": 113,
      "type": "cloud-vps",
      "name": "cloud-vps-96gb-s",
      "vcpus": 24,
      "memory": 96,
      "disk": 800,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 780,
      "price_with_vat": 936
    },
    {
      "id": 114,
      "type": "cloud-vps",
      "name": "cloud-vps-128gb",
      "vcpus": 24,
      "memory": 128,
      "disk": 800,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 960,
      "price_with_vat": 1152
    },
    {
      "id": 115,
      "type": "cloud-vps",
      "name": "cloud-vps-128gb-s",
      "vcpus": 24,
      "memory": 128,
      "disk": 1600,
      "bandwidth": 30,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 1200,
      "price_with_vat": 1440
    },
    {
      "id": 136,
      "type": "ram-optimized",
      "name": "ram-optimized-16gb",
      "vcpus": 2,
      "memory": 16,
      "disk": 50,
      "bandwidth": 10,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 75,
      "price_with_vat": 90
    },
    {
      "id": 142,
      "type": "ram-optimized",
      "name": "ram-optimized-16gb-s",
      "vcpus": 2,
      "memory": 16,
      "disk": 100,
      "bandwidth": 10,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 75,
      "price_with_vat": 90
    },
    {
      "id": 141,
      "type": "storage-optimized",
      "name": "vds-8gb-s",
      "vcpus": 2,
      "memory": 8,
      "disk": 300,
      "bandwidth": 10,
      "minimum_billing_cycle": 1,
      "available": true,
      "price": 75,
      "price_with_vat": 90
    }
  ]
}
🔴500Server Error
Modified at 2024-11-08 12:34:43
Previous
Add SSH Key
Next
Calculate scale cost
Built with