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 Information
Use this API call to retrieve detailed information about a specific VPS instance on your account.
This can be helpful to confirm VPS specs, location, IP, status, and more.
đ Key(s) and variable(s) required for this call
Response examples
â
If your API_KEY is valid, you would get the following output,
[{"vmid":"XX","status":"Offline","hostname":"vps.server.com","ipaddress":"XX","location":"Los Angeles, CA","virtualization":"KVM","ram":"1024","hdd":"50","cpu":"2","bandwidth":"1024"}]
â If your API_KEY is invalid, you would get the following output,
'{"query_status":"Error","query":"verify","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
- đ Change VPS Hostname
- đ§Š VPS Network Information
- đ VPS Bandwidth Usage
- đ VPS Bandwidth Usage Percentage
- đĨī¸ VPS VNC Information
- đ VPS Task Log
Need help? Visit our Support Portal or use our live chat.

