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 databases of a hosting package
Lists the databases of the package. Credentials are never returned — database passwords are available only in the regfish dash.
GET
/hosting/packages/{id}/databases
HostingDatabasesByID

Authentication

x-api-key

Parameters

Name
Type
Format
Required
Description
id
path
string
-
Required
-

Request example

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

Responses

200
Databases (without credentials)
application/json
Response example 200
{
  "success": true,
  "code": 0,
  "response": {
    "databases": [
      {
        "name": "example",
        "user": "example"
      }
    ]
  }
}
401
Unauthorized
application/jsonError
Response example 401
{
  "success": false,
  "message": "Unauthorized",
  "error": "Unauthorized"
}
404
Package not found
application/jsonError
Response example 404
{
  "success": false,
  "message": "Package not found",
  "error": "Package not found"
}
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.