← Blog

Deploy a VPS via API — One curl, No Dashboard

July 25, 2026 · 5 min read

If you'd rather script your infrastructure than click around a dashboard, Kvantis exposes a REST API. Authenticate with a personal API key and create, manage and destroy servers programmatically — a single curl command is enough to get a running VPS.

Get an API key

In the panel, open API keys and create one. You'll get a token that you send as an Authorization: Bearer header. Keep it secret — it has full access to your account's servers.

Create a server

One request spins up a VPS:

curl -X POST https://api.kvantis.org/api/v1/servers \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"planId":"vc2-1c-2gb","regionId":"ams","osId":2136}'
  • planId — the plan, e.g. vc2-1c-2gb.
  • regionId — location code, e.g. ams for Amsterdam.
  • osId — the OS image (or use appId / imageId for one-click apps and marketplace images).
  • Optional: label, hostname, rootPassword.

The server provisions in about 60 seconds and gets a dedicated IPv4 plus a free IPv6.

List your servers

curl https://api.kvantis.org/api/v1/servers \
  -H "Authorization: Bearer $API_KEY"

Fetch a single server with GET /api/v1/servers/{id}.

Power actions

curl -X POST https://api.kvantis.org/api/v1/servers/{id}/reboot \
  -H "Authorization: Bearer $API_KEY"

The same pattern works for /stop and /start.

Destroy a server (and stop billing)

curl -X DELETE https://api.kvantis.org/api/v1/servers/{id} \
  -H "Authorization: Bearer $API_KEY"

Because billing is hourly and prepaid, destroying a server stops the charges instantly.

Check your balance

curl https://api.kvantis.org/api/v1/billing \
  -H "Authorization: Bearer $API_KEY"

Why use the API?

  • Ephemeral workloads — spin a box up for a job, tear it down after, pay only for the hours used.
  • CI/CD — provision a runner on demand.
  • Bots and scrapers — rotate servers programmatically.
  • Infrastructure as code — script your whole setup, no clicking.

Get started

Create your first server with one command — sign up and grab an API key.

Ready to deploy?

Fund a balance in crypto and get a server in ~60 seconds.

Get started →