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

Become part of the community

The Regfish DNS API is a great solution for developers who want to automate domains and DNS zones. Become part of the community and benefit from DNS automation. The DNS API is available free of charge to every Regfish customer.