CrownPanel API Overview
CrownPanel's API allows you to manage your VPS programmatically - including actions like power control, hostname changes, snapshot management, and more.
- 🔑 API Key: Retrieve your key from Account Settings
- 🌐 Endpoint: All API requests must be made via the
POSTmethod to https://api.crownpanel.com
You can use the API with:
- PHP scripts
- CLI tools like
curl - Monitoring systems
- Custom control panels or dashboards
Ideal for automation, integration into management panels, or performing bulk operations across multiple VPS instances.
🖼️ VPS Snapshot List
Use this API call to retrieve a list of snapshots for your VPS.
🔐 Key(s) and variable(s) required for this call
Response examples
✅ If YOUR_API_KEY, QUERY & YOUR_VMID parameters are valid, you would get the following output,
{"vmid":"12345","uuid":"9b8f8896-f45d-11ee-9608-a8a159941205","created_on":"1712439337","snapshot_size":"0"}
The snapshot_size is in bytes. If the value is 0, it means the snapshot may still be in progress or incomplete.
❌ If YOUR_API_KEY or QUERY or YOUR_VMID are invalid, you would get the following output,
{"query_status":"Error","query":"","query_result":""}
CURL Example
🌐 Other Language Examples
If you prefer to use another language or environment, here are examples for PHP, Python and Node.js:
PHP Example
Python Example
⚙️ Install (only once): Required to install necessary libraries before running the code.
Node.js Example
⚙️ Install (only once): Required to install necessary libraries before running the code.
🔗 Related API Calls
Need help? Visit our Support Portal or use our live chat.

