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/v1Every 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
- API access is enabled per account. If Settings → API Tokens is missing in your panel, ask our support to enable it.
- 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.
- Copy the token right away: it is shown only once.
Your first request
curl https://panel.hostoff.net/api/v1/account \
-H "Authorization: Bearer hostoff_your_token" \
-H "Accept: application/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:
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,POSTandPATCHare used. Where the panel deletes or cancels something, the API has aPOSTwith 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, never403. - 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
- Topping up the balance is done in the panel only. Check the balance with
GET /accountbefore you order or renew. - Favorites and other preferences of the panel's interface.
- The order page. Its data is
GET /services/virtual-servers/catalog.
Contents
- Authentication: tokens, abilities, IP restrictions.
- Responses and errors: the answer format and every error code.
- Rate limits.
- Account: balance and free server slots.
- Virtual servers: reading, power, settings, network, console, backups, renewal, reinstall and deletion.
- Catalog and orders.