CrownPanel API Overview
CrownPanel's API allows you to manage your VPS programmatically - including actions like power control, hostname changes, snapshot management, billing details, 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.
đŗ Billing Information
Use this API to retrieve billing details for a specific VMID (Virtual Machine ID).
This includes:
- Signup Date
- Next Due Date
- Recurring Amount
- Billing Cycle
đ Key(s) and variable(s) required for this call,
Example Responses
â Success Output
{ "query_status": "Success", "query": "billing_information", "vmid": "12345", "signup_date": "2026-03-24", "next_due_date": "2026-04-25", "recurring_amount": "5.00", "billing_cycle": "Monthly", "query_result": "" }
â Error Output (Invalid VMID or No Billing Data)
{ "query_status": "Error", "query": "billing_information", "vmid": "12345", "signup_date": "0", "next_due_date": "0", "recurring_amount": "0", "billing_cycle": "0", "query_result": "" }
â Error Output (Invalid API Key)
{ "query_status": "Error", "query": "billing_information", "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.

