API Documentation

API Documentation | KazeCloud - REST API Reference for VPS Automation
API v2 is live — see what changed and grab your bearer token from the dashboard.
Developers

Automate Everything With the KazeCloud API

A clean, predictable REST API over HTTPS. Provision instances, manage snapshots, run actions and pull usage metrics — the same interface our own control panel is built on.

REST · JSON · Bearer Auth · TLS 1.3
API endpoints
msMedian response
.99%API uptime SLA
vCurrent version
Authentication

One Header, Every Request

Generate a personal access token or an OAuth-scoped key in the dashboard, then send it as a bearer token. Keys are shown once, hashed at rest, and revocable at any time.

authenticate.shCopy
curl https://api.kazecloud.store/v2/account \
  -H "Authorization: Bearer kaze_live_a1b2c3d4e5f6" \
  -H "Content-Type: application/json"

Base URL for every call: https://api.kazecloud.store/v2. Requests over plain HTTP are rejected. Never expose a secret key in client-side code.

200 OK · account.jsonCopy
{
  "account": {
    "uuid": "acc_8f2c41d9",
    "email": "[email protected]",
    "balance": "$142.80 USD",
    "active_instances": 7
  },
  "ratelimit_remaining": 498
}
Quick Start

Deploy Your First Instance in Three Calls

List a region, pick an image, create the droplet. The whole flow fits in a terminal session.

1

Choose a Region & Image

Pull available datacenter regions and OS images to get the slugs you need for a create request.

2

Create the Instance

POST to /instances with a plan slug, region and image. Provisioning is asynchronous and returns an action ID.

3

Poll & Connect

Watch the action status, read the assigned IP from the instance object, then SSH in with your key.

create-instance.shCopy
curl -X POST https://api.kazecloud.store/v2/instances \
  -H "Authorization: Bearer kaze_live_a1b2c3d4e5f6" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "web-01",
    "plan": "kaze-2gb",
    "region": "sgp1",
    "image": "ubuntu-24-04",
    "ssh_keys": ["key_77aa21"]
  }'
Reference

Core Endpoints

Resource-oriented paths, standard verbs, cursor pagination on every list. The full reference covers all 64 routes.

Instances

GET/v2/instancesList all instances with usage
POST/v2/instancesCreate and provision a new VPS
GET/v2/instances/{id}Fetch one instance by ID
PUT/v2/instances/{id}Rename or update tags
DELETE/v2/instances/{id}Destroy an instance and release resources
POST/v2/instances/{id}/actionsPower on, off, reboot or rebuild

Snapshots & Backups

GET/v2/snapshotsList snapshots across instances
POST/v2/instances/{id}/snapshotsCapture an on-demand snapshot
POST/v2/snapshots/{id}/restoreRestore an instance from a snapshot

Regions, Images & Plans

GET/v2/regionsList datacenter regions and status
GET/v2/imagesAvailable OS and app images
GET/v2/plansPlans with vCPU, RAM, NVMe and pricing

Networking & Metrics

GET/v2/floating-ipsList reserved IPv4 addresses
POST/v2/floating-ips/assignAttach an IP to an instance
GET/v2/instances/{id}/metricsCPU, bandwidth and disk time-series
Limits & Errors

Predictable by Design

Generous rate limits with clear headers, and conventional HTTP status codes so your retry logic stays simple.

Rate Limits
ScopeLimitWindow
Read (GET)600 reqper minute
Write (POST/PUT)120 reqper minute
Destroy (DELETE)30 reqper minute
Burst ceiling50 reqper second

Every response returns X-RateLimit-Remaining and X-RateLimit-Reset. Exceed a limit and you get 429 with a Retry-After header.

Error Codes
StatusMeaning
200Success, body contains the resource
202Accepted, async action started
400Malformed request or invalid field
401Missing or revoked bearer token
404Resource not found in your account
429Rate limited, see Retry-After
500Server error, safe to retry with backoff
Official Libraries

SDKs for Your Stack

Typed, tested clients that wrap auth, pagination and retries. All open source under the permissive MIT licence.

Changelog

Version History

Additive changes ship without breaking your integration. Anything breaking lands behind a new version with a 12-month deprecation window.

v2.4Metric time-series endpoint

Granular CPU, bandwidth and disk metrics with configurable resolution and CSV export.

Oct 2026
v2.3Private networking actions

Attach, detach and list private-network interfaces on multi-server setups.

Aug 2026
v2.2Scoped OAuth tokens

Issue keys limited to read-only or a single project for safer automation.

Jun 2026
v2.0REST v2 general availability

Resource-oriented paths, cursor pagination and consistent action objects across the API.

Jan 2026
Good to Know

API FAQ

The questions our support engineers answer most about the API.

Is the API included in every plan?

Yes. Full API access is included on all KazeCloud plans at no extra cost — the same interface our control panel uses. There is no per-request charge and no premium tier for higher limits.

How do I keep my token secure?

Store keys in environment variables or a secrets manager, never in source control. Use scoped, read-only tokens where you can, rotate them periodically, and revoke instantly from the dashboard. KazeCloud staff will never ask for your API key, password, full card number or CVV.

What happens to a request that exceeds the rate limit?

You receive a 429 Too Many Requests response with a Retry-After header in seconds. Our SDKs honor it automatically with exponential backoff, so well-behaved clients recover without you writing retry logic.

Are there webhooks for async actions?

Yes. Subscribe to instance, snapshot and action events via signed webhooks delivered over HTTPS. Each payload carries an HMAC signature you verify before processing, and deliveries retry with backoff on non-2xx responses.

How is billing handled through the API?

All charges are billed in USD to your account's payment method on file — PayPal or a card processed by our PCI-compliant providers. The API exposes invoices and usage for reporting only; it never accepts or returns card data, and refund eligibility follows our Refund Policy.

Ship Your First API Call Today

Grab a key, point curl at the sandbox and provision a real VPS in seconds. Rate limits are generous and the whole surface is free to explore.

Deploy Your First VPS Free API access on every plan · MIT-licensed SDKs · 99.99% uptime