1. Virtual Private Servers
my.host API
  • Getting started
    • Introduction
    • Base url
    • Authentication
    • Response codes
  • Domains
    • Domains
      • DNS
        • Zone
          • Get DNS zonefile
          • Import DNS zonefile
        • Get DNS records
        • Update DNS records
        • Update single DNS record
        • Delete single DNS record
      • List domains
      • Get domain
      • Update domain
      • Cancel domain
      • Cancel domain deletion
      • Get auth code
    • Contacts
      • List profiles
      • Get profile
      • Create profile
      • Update profile
      • Delete profile
      • Get profile
      • Update profile
    • Nameservers
      • List profiles
      • Get profile
      • Create profile
      • Update profile
      • Delete profile
    • DNS templates
      • List templates
      • Get template
      • Create template
      • Update template
      • Delete template
    • Availability
      • Check domain availability
    • Order
      • Order domain
    • Extensions
      • List domain extensions
      • Get domain extension
  • Virtual Private Servers
    • Backups
      • List backups
      • Create backup
      • Restore backup
    • SSH keys
      • List SSH keys
      • Add SSH key
      • Delete SSH key
    • List VPS products
      GET
    • Order VPS
      POST
    • List VPS instances
      GET
    • VPS details
      GET
    • Update VPS
      PUT
    • Restart VPS
      POST
    • Enable or disable rescue mode
      PUT
    • Cancel VPS
      DELETE
    • Cancel VPS deletion
      PUT
    • List available OS images
      GET
    • Reinstall VPS
      POST
    • Start VPS
      POST
    • Stop VPS
      POST
    • Power off VPS
      POST
    • Reset VPS root password
      POST
    • Change VPS hostname
      PUT
  • Certificates
    • List certificates
    • Get certificate
    • List certificate products
    • Order certificate
    • Generate CSR
    • Request certificate
  • Orders
    • List orders
    • Get order
    • Update order
  • Affiliate
    • Commissions
      • List affiliate commissions
      • Get affiliate commission
    • Payments
      • List affiliate payments
      • Get affiliate payment
  • Account
    • Profile
      • Get account profile
      • Update account profile
    • Payment methods
      • List payment methods
      • Update default payment method
    • Invoices
      • List invoices
      • Get invoice
      • Download invoice PDF
    • Users
      • List account users
      • Get account user
      • Create account user
      • Update account user
    • Tickets
      • List support tickets
      • Get support ticket
      • Create support ticket
      • Reply to support ticket
  • Tools
    • Get your IP and customer number
  1. Virtual Private Servers

List VPS products

GET
/vps/products
List the VPS products that can be ordered, plus the extras the website configure page offers. Use product_id, customization totals, extra_software ids, uplink_speed and ddos_protection on POST /vps/order. Customizations are desired totals (a plan with 2 cores ordered as 3 is 3 cores). Extra software is only valid when compatible_images includes the image slug and compatible_product_ids is null or contains the VPS product_id. Prices are per month and exclude VAT. CloudLinux and Imunify on an unmanaged product use unmanaged_price instead of price.

Request

Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Header Params

Request Code 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 'https://mijn.host/api/v2/vps/products' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "status": 200,
    "status_description": "Request successful",
    "data": {
        "products": [
            {
                "product_id": 107,
                "name": "VPS XS",
                "managed": false,
                "cores": 1,
                "ram": 2,
                "disk": 40,
                "ipv4": 1,
                "snapshots": 1,
                "traffic": 2,
                "price": 5,
                "offer_price": null
            }
        ],
        "customizations": [
            {
                "key": "disk",
                "product_id": 75,
                "unit": "GB",
                "step": 10,
                "max_total": 2000,
                "price": 0.1
            }
        ],
        "extra_software": [
            {
                "id": 100,
                "name": "JetBackup",
                "subcategory": "backup",
                "price": 2,
                "unmanaged_price": null,
                "compatible_images": ["almalinux"],
                "compatible_product_ids": null,
                "storage_product_id": 101,
                "storage_quantities": [1, 2, 5],
                "storage_price": 1
            }
        ],
        "uplink_speed": [
            {
                "id": 0,
                "name": "1 Gbit",
                "price": 0
            }
        ],
        "ddos_protection": [
            {
                "id": 0,
                "name": "None",
                "price": 0
            }
        ]
    }
}
🟠400Wrong request method
🟠400SSL connection is required
🟠401No valid API key set
🟠401API key has expired
🟠401Remote IP address is not found in the API key whitelist
🔴500Error
Modified at 2026-09-01 15:50:59
Previous
Delete SSH key
Next
Order VPS
Built with