Get your account statistics and summary

Get an overview of your account, including paid and unpaid invoices, and the number of active services like domains and servers. It also returns an ID for subsequent API calls.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/account/stats
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/account/stats" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "stats": {
      "invoice_paid": 0,
      "paid": 0,
      "invoice_cancelled": 0,
      "cancelled": 0,
      "invoice_unpaid": 0,
      "unpaid": 0,
      "shared": 0,
      "reseller": 0,
      "dedicated": 0,
      "other": 0,
      "domain": "string",
      "ticket": "string",
      "credit": 0,
      "affiliate": true,
      "currency_id": "string",
      "accounts": {
        "dedicated": "string"
      },
      "income": 0
    }
  }
}