29tools
New · MCP SuiteYour infrastructure now talks to AI agents.

Claude, Codex & co. manage DNS, domains and certificates directly, including DNS Doctor diagnostics.

Explore the MCP Suite
DNS automation
v1.6.2
Download OpenAPI
List web hosting packages
Lists the customer's web hosting packages with plan, status, PHP version and counts of aliases and databases.
GET
/hosting/packages
Hosting

Authentication

x-api-key

Request example

GET
curl --request GET \
  --url 'https://api.regfish.com/hosting/packages' \
  --header 'x-api-key: YOUR_API_KEY'

Responses

200
Hosting packages
application/json
Response example 200
{
  "success": true,
  "code": 0,
  "response": {
    "packages": [
      {
        "id": "example",
        "webhost_id": 1,
        "plan": "example",
        "status": "example",
        "active": true
      }
    ]
  }
}
401
Unauthorized
application/jsonError
Response example 401
{
  "success": false,
  "message": "Unauthorized",
  "error": "Unauthorized"
}
500
Unexpected error
application/jsonError
Response example 500
{
  "success": false,
  "message": "Unexpected error",
  "error": "Unexpected error"
}
Community

Diventa parte della comunità

L'API DNS Regfish è un'ottima soluzione per gli sviluppatori che desiderano automatizzare domini e zone DNS. Entra a far parte della community e beneficia dell'automazione DNS. L'API DNS è disponibile gratuitamente per ogni cliente Regfish.