Retrieve detailed information about a specific web hosting account, such as domain name, status, product, and next due date. Use the `accountId` obtained from `POST /api/transfers/details` to identify the account.
/ accountId from POST /api/transfers/details Accept Example Content-Type Example accountId string required
· Example: 20000 data object required data.details object required Optional validation details (field-level errors).
data.details.billingcycle string · enum required
· Example: Annually Annually Free Monthly data.details.currency object required data.details.currency.code string required
· Example: kr Machine-readable error code.
data.details.currency.decimal string required
· Example: 2 data.details.currency.format string required
· Example: 1 234,56 data.details.currency.id integer required
· Example: 0 data.details.currency.iso string required
· Example: SEK data.details.currency.rate integer required
· Example: 1 data.details.currency.rounding string required
· Example: 2 data.details.currency.rounding_mode string required
· Example: HALF_UP data.details.currency.sign string required
· Example: data.details.domain string required
· Example: example.com data.details.id string required
· Example: 18448 data.details.ip string · nullable required
· Example: 192.0.0.1 Nullable: may be null when not applicable.
data.details.next_due string required
· Example: 2026-03-20 data.details.product_name string required
· Example: Start (cpanel) data.details.product_stats object required data.details.product_stats.addon_domains integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.bandwidth_limit integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.databases integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.disk_limit number · nullable required
· Example: 50 Nullable: may be null when not applicable.
data.details.product_stats.email_accounts integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.ftp_accounts integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.mailing_lists integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.memory_limit integer · nullable required
· Example: 2048 Nullable: may be null when not applicable.
data.details.product_stats.parked_domains integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.subdomains integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.server_id string required
· Example: 77 data.details.status string required
· Example: Active data.details.total string · enum required
· Example: 708.00 0.00 108.00 1188.00 199.00 2388.00 468.00 708.00 79.00 data.details.username string required
· Example: rhrot data.details.vpsip string · nullable required
· Example: 192.0.0.1 Nullable: may be null when not applicable.
requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
code string required
· Example: NOT_FOUND Machine-readable error code.
error string required
· Example: Not Found HTTP status title (e.g. 'Bad Request').
message string required
· Example: Service not found not found Human-readable message.
requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/get-account-details curl -X POST "https://cloud.hostup.se/api/get-account-details" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountId": "20000"
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"details": {
"id": "18448",
"domain": "example.com",
"username": "rhrot",
"server_id": "77",
"status": "Active",
"product_name": "Start (cpanel)",
"billingcycle": "Annually",
"next_due": "2026-03-20",
"ip": "192.0.0.1",
"vpsip": "192.0.0.1",
"product_stats": {
"disk_limit": 50,
"memory_limit": 2048,
"bandwidth_limit": -1,
"addon_domains": -1,
"subdomains": -1,
"email_accounts": -1,
"databases": -1,
"ftp_accounts": -1,
"mailing_lists": -1,
"parked_domains": -1
},
"total": "708.00",
"currency": {
"code": "kr",
"iso": "SEK",
"sign": "",
"format": "1 234,56",
"decimal": "2",
"rounding": "2",
"rounding_mode": "HALF_UP",
"id": 0,
"rate": 1
}
}
}
} {
"accountId": "20000"
}