The whole panel, in a REST API.
Create, start, resize and delete your servers from your code. Everything you do in the panel can also be done through the API.
A server in three requests.
Create an API key in your project, choose a system, send the configuration. The server starts on its own.
- Create an API keyIn your project, open "API keys". The key is shown only once.
- Choose an image
GET /imagesreturns the available systems and their ID. - Create the server
POST /serverswith the image, the resources and your SSH key, plus an install script if needed. - Wait until it is readyPoll
GET /servers/{id}until the status isrunning.
# 1. Available systems
curl -s https://cloud.antaxium.com/api/v1/images \
-H "Authorization: Bearer $TOKEN"
# 2. Create a server
curl -s -X POST https://cloud.antaxium.com/api/v1/servers \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"imageId": "cmw9a2x0k0001",
"ramGb": 2, "cores": 1, "diskGb": 20,
"auth": { "type": "ssh", "sshKeyIds": ["cmwb1k2l30004"] }
}'
# 3. Track its status
curl -s https://cloud.antaxium.com/api/v1/servers/488626887 \
-H "Authorization: Bearer $TOKEN"131 routes, your whole infrastructure.
The API covers all of AntaCloud, from Ryzen servers to DNS zones.
Servers
Create, list, start, stop, resize, reinstall.
Game servers
Catalog, power, console, ports, files, backups.
Backups
Create, restore, delete, manage slots.
IPv4 addresses
Buy IPs, attach them and move them between servers.
Transit and gateways
WireGuard or VXLAN gateways, bandwidth of your choice.
Tunnels
Publish a machine's service with a fixed public address.
Domains
Availability, purchase, attachment, cancellation.
DNS zones
Zones, records, verification and statistics.
SSH keys
Add and remove the keys of your servers.
Team
Project members, invitations and permissions.
Monitoring
Metrics and events reported by the hypervisor.
Project and catalog
Balance, limits, quotes, log, images and scripts.
Simple and predictable.
One key per project
Each key is tied to a single project and only sees its resources. You can restrict it to certain IP addresses.
JSON everywhere
Requests and responses in JSON, dates in ISO 8601 (UTC), amounts in euros.
Asynchronous actions
Creation, power and reinstall answer 202 right away; the status shows the progress.
Stable errors
A clear HTTP code and a fixed error code, with the offending field when a parameter is invalid.
OAuth sign-in
Your applications can request access to a customer account via OAuth, with limited permissions.
Costs under control
Ask for the price of a configuration before creating it. If the credit is not enough, the API answers 402.
Responses that are easy to read.
A successful response always contains a data object. On failure, the error object gives a stable code and a readable message.
creatingstartingrunningstoppingstoppedrescalingreinstallingdeletingerrorDuring a transitional status, other actions on the server answer 409 busy. Wait for running or stopped before moving on.
401Missing or invalid key402Insufficient credit404Resource not found in this project409Server busy422Invalid parameter or limit reached{
"data": {
"id": "488626887",
"status": "running"
}
}{
"error": {
"code": "invalidInput",
"message": "Invalid value (ramGb).",
"details": { "field": "ramGb" }
}
}Frequently asked questions.
Is the API paid?
No. The API comes with your account. Only the resources you create are billed, by the hour, just like in the panel.
Where is the documentation?
The full documentation, with examples in curl, JavaScript, Python, PHP and Go, is available from the "Read the documentation" button on this page.
Can I restrict a key?
Yes. A key only gives access to its project, and you can limit the IP addresses allowed to use it. Delete a compromised key from "API keys".
Can game servers be controlled?
Yes: creation, power, sending commands, ports, live resources and backups are all available in the API.
Create your first API key.
Create your account in seconds, with no commitment.