# View account details

To view account details:

1. If you don't know the account ID, retrieve a list of accounts in the domain using a [List accounts](/products/custody/v1.19/api/reference/openapi/accounts/getaccounts) operation. You can optionally filter accounts by criteria such as the ledger ID.
2. To retrieve details of the account, such as the ledgers the account is associated with, call the [Get account details](/products/custody/v1.19/api/reference/openapi/accounts/getaccount) operation, using the account ID retrieved in step 1. Depending on the account type, details returned are as follows:
  - If this is a single-ledger account, the ledger address is returned in the `ledgerId` field. In the `providerDetails` block, `keyInformation` contains the public key data and derivation path for the ledger.
  - If this is a multi-ledger account, the list of ledgers that the account can interact with is in the `ledgers` field of the `additionalDetails` block, along with the status of each ledger:
    - `Activated`: The ledger is active for the account.
    - `Activating`: The ledger is currently being activated for the account.
    - `Available`: The ledger is available to be activated for the account.
    - `Unavailable`: The ledger is not supported by the account (not compatible with the vault or key strategy).
The `keys` array contains the public key data and derivation path for the curves used by the Ripple Custody supported ledgers.
3. To retrieve the account address, call the [Retrieve account address](/products/custody/v1.19/api/reference/openapi/accounts/getaccountaddress) operation, using the account ID retrieved in step 1.