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

Zostań częścią społeczności

Regfish DNS API to świetne rozwiązanie dla programistów, którzy chcą zautomatyzować domeny i strefy DNS. Zostań częścią społeczności i skorzystaj z automatyzacji DNS. API DNS jest dostępne bezpłatnie dla każdego klienta Regfish.