DeluxHostAPI Reference
Web hosting

Get web hosting details

GET
/v1/services/{id}/hosting

Domains and quotas — hosting's equivalent of a VPS's CPU and memory. total: null on a quota means unlimited.

Only for services whose platform is enhance; anything else is a 400. An empty response (no plan, no domains, no quotas) means the service is not provisioned yet or the panel could not be reached — both are states to retry, not faults.

There is deliberately no link into the panel here: the dashboard's version returns a one-time SSO session, and no read scope hands out a way in.

Authorization

apiToken services:read
headerAuthorizationBearer <token>

A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.

Scope: services:read

Path Parameters

id*integer

The service id, as returned by GET /v1/services.

Response Body

The hosting service.

application/json
  1. response
planName*|

The plan as the panel knows it, which can differ from the product name.

suspended*boolean

Whether the panel has it suspended.

domains*array<string>
quotas*array<>
curl -X GET 'https://api.deluxhost.net/v1/services/0/hosting' \  -H "Authorization: Bearer $DELUXHOST_TOKEN"
Example Response
{  "planName": "string",  "suspended": true,  "domains": [    "string"  ],  "quotas": [    {      "name": "string",      "usage": 0,      "total": 0    }  ]}