API

HOSTOFF.NET API

Updated November 15, 2026

On this page

The HOSTOFF.NET API lets you do with your virtual servers everything you can do in the control panel: order and renew servers, power them on and off, change passwords and SSH keys, manage addresses, backups and the console, reinstall and delete servers. It is meant for automation and for reselling our servers under your own brand.

Base URL

https://panel.hostoff.net/api/v1

Every path in this documentation is relative to this address. Paths follow the addresses of the panel, prefixed with /api/v1: the server list is /api/v1/services/virtual-servers, the server with id 219 is /api/v1/services/virtual-servers/219.

Getting access

  1. API access is enabled per account. If Settings → API Tokens is missing in your panel, ask our support to enable it.
  2. On Settings → API Tokens, create a token. Choose only the abilities your integration needs, and limit the token to the IP addresses of your servers.
  3. Copy the token right away: it is shown only once.

Your first request

Shell
curl https://panel.hostoff.net/api/v1/account \
  -H "Authorization: Bearer hostoff_your_token" \
  -H "Accept: application/json"
JSON
{
  "data": {
    "id": 1042,
    "name": "Example Ltd",
    "email": "ops@example.com",
    "default_currency": "EUR",
    "balances": [{"currency": "EUR", "amount": "25.00000000"}],
    "billing_limits": [{"period": "monthly", "name": "1 month", "limit": 10, "used": 3, "available": 7}]
  }
}

Then list your servers:

Shell
curl https://panel.hostoff.net/api/v1/services/virtual-servers \
  -H "Authorization: Bearer hostoff_your_token" \
  -H "Accept: application/json"

Conventions

  • JSON in, JSON out. Send request bodies as JSON with Content-Type: application/json. Every answer is JSON, errors included.
  • Methods. Only GET, POST and PATCH are used. Where the panel deletes or cancels something, the API has a POST with the action at the end of the path: .../delete, .../cancel, .../terminate.
  • A change answers with what it changed, usually the full server object, so you do not need to read it again.
  • Your servers only. An id that is not one of your servers, or a deleted server, is 404 not_found, never 403.
  • Money is an exact decimal string with its currency code next to it: "price": "5.00000000", "currency": "EUR". Do not parse it as a float. Amounts are never sent in requests: the price is always taken from our side and charged from your account balance.
  • Dates are ISO 8601 in UTC, to the second: 2026-11-12T16:52:06Z. Traffic ranges use Unix timestamps.
  • Errors have one format, with a stable machine-readable code. See Responses and errors.

Long operations

Ordering, reinstalling, restoring a backup and deleting a server take time. The API accepts the request and answers at once; the work goes on in the background. Follow it by the status field of GET /services/virtual-servers/{id}, for example from ordered through pending to active. Backup operations have tasks of their own, see Backups.

What is not in the API

Contents

Questions about the API?

Our support team will help with integration and access.

Contact support