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 VNC Information
Use this API call to retrieve the VNC access details of your VPS, including the VNC port, password, and IP address. This is useful for browser-based console access or troubleshooting.
๐ 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,
{"query_status":"Error","query":"","query_result":""}
โ 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
- โน๏ธ VPS Information
- ๐งจ Hard Reboot VPS
- ๐ VPS Task Log
- ๐ Change VPS Network Card
- ๐งฉ VPS Network Information
Need help? Visit our Support Portal or use our live chat.

