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.
π Reboot VPS
Use this API call to gracefully reboot your VPS instance.
This is equivalent to a restart from within the operating system and is ideal for applying configuration changes or updates without data loss.
π 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":"Success","query":"reboot","query_result":"Success, Task Added. Please wait for 1-2 minutes for it to complete."}
β 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 Task Log
- βΉοΈ VPS Information
- π» Shutdown VPS
- πΌ Boot VPS
- 𧨠Hard Reboot VPS
Need help? Visit our Support Portal or chat with us live.

