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.
đ Unpaid Invoice
Use this API to retrieve all unpaid invoices for the VMID (Virtual Machine ID).
đ Key(s) and variable(s) required for this call,
Example Responses
â
If your API_KEY is valid, you would get output consisting of the information VPSes under your account.
{ "query_status": "Success", "query": "unpaid_invoice", "invoice_id": "123456", "invoice_date": "2026-02-11", "duedate": "2026-02-25", "due_amount": "5", "invoice_status": "Unpaid", "query_result": "Invoice Unpaid" }
{ "query_status": "Success", "query": "unpaid_invoice", "invoice_id": "0", "invoice_date": "0", "duedate": "0", "due_amount": "0", "invoice_status": "0", "query_result": "No Invoice Unpaid" }
â If your API_KEY is invalid, you would get the following output,
{"query_status":"invalid","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
- đ§Š VPS Network Information
- đĨī¸ VPS VNC Information
Need help? Visit our Support Portal or reach out via our live chat.

