---
title: "List database remote connections"
method: GET
path: "/api/hosting/v1/accounts/{username}/databases/remote-connections"
tags: ["Hosting: Databases"]
---

# List database remote connections

`GET /api/hosting/v1/accounts/{username}/databases/remote-connections`

Returns the remote-access rules for the specified account: the remote hosts
(IPv4/IPv6 addresses, or "%" for any host) allowed to connect to the account databases.

Use the domain filter to only return rules for databases assigned to a specific domain.

## Path parameters

- `username` string, required

## Query parameters

- `domain` string, nullable

## Response `200`

Success response

- HostingV1DatabasesRemoteConnectionsRemoteConnectionResource[] — Array of [`Hosting.V1.Databases.RemoteConnections.RemoteConnectionResource`](#model/hostingv1databasesremoteconnectionsremoteconnectionresource)
  - `database_name` string — Full name of the database the rule applies to.
  - `database_user` string — Database user the rule applies to.
  - `ip` string — Allowed remote host: an IPv4/IPv6 address, or "%" for any host.

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

## Changes

- **2026-07-27** `6622a88a5a1b` — 1 info
  - api operation id `hosting_listAccountDatabaseRemoteConnectionsV1` removed and replaced with `hosting_listDatabaseRemoteConnectionsV1`
- **2026-06-30** `f02cb56cf688` — 1 info
  - endpoint added
- **2026-06-09** `d05574986eb1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/hostinger/apis/hostinger-api/changes/api/hosting/v1/accounts/:username/databases/remote-connections/get.md)

---

[API](https://skmtc.dev/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.dev/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/53ccee45e5eb/schema)
