1. Virtual Private Servers
mijn.host API
  • Getting started
    • Introduction
    • Base url
    • Authentication
    • Response codes
  • Domains
    • Domains
      • List domains
      • Get domain
      • Update domain
      • Cancel domain
      • Cancel domain deletion
      • Get DNS records
      • Update DNS records
      • Update single DNS record
      • 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
    • 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
  • Orders
    • List orders
      GET
    • Get order
      GET
    • Update order
      PUT
  • 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
  1. Virtual Private Servers

VPS details

GET
/vps/{id}
Get details of a single VPS (overview as in the control panel) including specifications, network, and status (details.tasks, details.vps_locked).

Request

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

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 --request GET 'https://mijn.host/api/v2/vps/12345' \
--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
VPS details
Body

Example
{
    "status": 200,
    "status_description": "Request successful.",
    "data": {
        "id": 12345,
        "name": "my-vps",
        "end_date": "2026-03-13",
        "status": "Active",
        "status_id": 1,
        "specifications": {
            "network": {
                "v4": {
                    "ip": [
                        "1.2.3.4"
                    ]
                },
                "v6": {
                    "ip": [
                        "2001:db8::1"
                    ]
                }
            },
            "os": "Ubuntu 22.04",
            "power_status": "Running",
            "cpu": {
                "total": 2
            },
            "memory": {
                "total": 4
            },
            "diskspace": {
                "total": 80
            },
            "bandwidth": 1000,
            "used_bandwidth": 10.5
        },
        "task": null
    }
}
🟠400Wrong request method
🟠401SSL connection is required
🔴500No valid VPS ID provided
🟠400No access to this VPS
🟠401No valid API key set
🟠401API key has expired
🟠401Remote IP address is not found in the API key whitelist
🔴500Error
Modified at 2026-04-09 12:33:38
Previous
List VPS instances
Next
Update VPS
Built with