---
title: "public/get_vault"
method: POST
path: "/public/get_vault"
tags: ["Vault Shareholders"]
---

# public/get_vault

`POST /public/get_vault`

## Request

- Base URL: `https://api.derive.xyz/v3`
- URL: `https://api.derive.xyz/v3/public/get_vault`
- Auth: none declared

Returns the full vault record — on-chain state plus curator metadata — for one vault subaccount id. Unauthenticated and read-only.

## Request body

- GetVaultRequest
  - `subaccount_id` integer, required

## Response `200`

Success

- Vault
  - `benchmark_price` string, decimal, nullable: USD spot price of the HWM benchmark asset (`1.0` for feed-less USD vaults). null when a configured benchmark has no resolvable price.
  - `curator` string, required: The vault's curator — the owner wallet of the vault subaccount.
  - `curator_shares` string, decimal, required: Shares held by the curator (the vault subaccount's owner) — their skin-in-the-game. Same units as `protocol.total_shares`.
  - `description` string, required
  - `mtm_cap` string, decimal, nullable: Optional non-negative decimal string of the human value (e.g. `"1.5"`), up to 12 fractional digits, or null; a string or JSON number is accepted
  - `name` string, required
  - `nav_benchmark` string, decimal, nullable: Live NAV expressed in the HWM benchmark asset's units. null when the vault couldn't be priced or its configured benchmark has no spot price.
  - `nav_usd` string, decimal, nullable: Live mark-to-market NAV (USD) — signed, so an insolvent vault surfaces as a negative value. null only when the vault couldn't be priced (e.g. missing data). Divide by `protocol.total_shares` for the pre-fee share price.
  - `protocol` ProtocolVault, required
    - `closed` boolean, required
    - `config` VaultConfig, required: Configuration for a vault subaccount's deposit/withdrawal controls. Every field is immutable after vault creation. Mutable, informational settings (descriptions, an advisory TVL cap) live in off-chain vault state, not here.
      - `benchmark_asset` string, nullable: 20-byte Ethereum address as a 0x-prefixed lowercase hex string.
      - `cooldown_sec` integer, required: Min seconds between a holder's last deposit and their withdrawal.
      - `deposit_spot_asset` string, required: 20-byte Ethereum address as a 0x-prefixed lowercase hex string.
      - `management_fee_bps` integer, required
      - `max_slippage_bps` integer, required: Max deviation of the curator's quoted share price from the mtm-derived price, both sides. Bounded at creation by the protocol-wide maximum slippage limit.
      - `performance_fee_bps` integer, required
    - `global_hwm` string, decimal, required: Non-negative decimal string of the human value (e.g. `"1.5"`), up to 12 fractional digits; a string or JSON number is accepted
    - `last_fee_settled_at_sec` integer, required
    - `protocol_fee_share_bps` integer, required
    - `subaccount_id` integer, required
    - `total_shares` string, decimal, required: Non-negative decimal string of the human value (e.g. `"1.5"`), up to 12 fractional digits; a string or JSON number is accepted
  - `simulated_share_price_usd` string, decimal, nullable: Live share price (USD/share) as if curator fees were settled now — the price a depositor/withdrawer faces. null when unpriceable or the vault is insolvent (a fee settlement on negative NAV is meaningless).
  - `whitelist_only` boolean, required

## Other responses

- `default`: JSON-RPC error (see Error Codes)

## Changes

- **2026-10-20** `0c500202be49`: 1 info
  - added the media type `application/json` for the response with the status `default`

[Operation history](https://skmtc.dev/lyra/apis/derive-v3-api/changes/public/get_vault/post.md)

---

[API](https://skmtc.dev/lyra/apis/derive-v3-api.md) - [All operations](https://skmtc.dev/lyra/apis/derive-v3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lyra/apis/derive-v3-api/revisions/415f8a73b10c?raw)
