Skip to main content
QByte
English
Client area
QByte API Docsv1.0
⌘K

QByte Host API

REST API to manage your VPS, RDP and game servers, pricing and C-Coins balance. Paste a personal token above, pick an endpoint, and press Send to run the request live. Without a token, requests use your signed-in panel session.

1. Create a token

Open the API tab and create a personal token. It is scoped to your account only.

2. Choose a base URL

Public host is https://api.qbyte.host. You can switch it to https://qbyte.host/api in the request builder.

3. Send & inspect

Every response shows status, latency, size, headers and pretty-printed JSON. Copy any request as cURL.

Account scoped

Tokens can manage your servers and spend your C-Coins, but never touch other customers or staff/admin resources.

Authentication

Send the token as a bearer header. Requests without a token fall back to your panel session when used from the same browser. Use GET /v1/whoami to verify a token.

Authorization: Bearer qb_...

Buying with your balance

POST /v1/servers with "payWith": "balance" pays from your C-Coins and provisions instantly. If the balance is short you get HTTP 402 with balance, needed and shortfall.

curl -X POST "https://api.qbyte.host/v1/servers" \
  -H "Authorization: Bearer $QBYTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plan":"vps-nano-xeon","product":"vps","serverName":"demo","payWith":"balance"}'