> ## Documentation Index
> Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt
> Use this file to discover all available pages before exploring further.

# Get account vault performance for all vaults where account has deposits

> Retrieve performance metrics for all vaults where the account has deposits, including net deposits, current value, returns, and PnL.
Results are ordered by net deposits (descending) and support pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/account_vault_performance
openapi: 3.1.0
info:
  title: Decibel Trading API
  description: >-
    RESTful API for Decibel. Provides read-only endpoints for market data,
    trading operations, positions, and analytics.
  contact:
    name: Decibel Team
    url: https://decibel.trade/
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.mainnet.aptoslabs.com/decibel
    description: Mainnet
  - url: https://api.testnet.aptoslabs.com/decibel
    description: Testnet
security:
  - bearerAuth: []
tags:
  - name: Market Data
    description: Market information and real-time data endpoints
  - name: User
    description: User information and account management
  - name: Trades
    description: Trading operations and history
  - name: Positions
    description: User position management
  - name: Orders
    description: Order management and history
  - name: TWAP
    description: Time-weighted average price orders
  - name: Bulk Orders
    description: Bulk order management
  - name: Vaults
    description: Vault operations and management
  - name: Analytics
    description: Analytics and performance metrics
  - name: Predeposit Rewards
    description: Season 0 predeposit USDC rewards
  - name: Referrals
    description: Referral code management and tracking
paths:
  /api/v1/account_vault_performance:
    get:
      tags:
        - Vaults
      summary: Get account vault performance for all vaults where account has deposits
      description: >-
        Retrieve performance metrics for all vaults where the account has
        deposits, including net deposits, current value, returns, and PnL.

        Results are ordered by net deposits (descending) and support pagination.
      operationId: handle_account_vault_performance
      parameters:
        - name: account
          in: query
          description: Account address
          required: true
          schema:
            type: string
          example: 0xaccount123...
        - name: offset
          in: query
          description: Number of results to skip (for pagination)
          required: false
          schema:
            type: integer
            format: int64
            default: 0
            maximum: 10000
            minimum: 0
        - name: limit
          in: query
          description: Maximum number of results to return
          required: false
          schema:
            type: integer
            format: int64
            default: 20
            maximum: 1000
            minimum: 0
      responses:
        '200':
          description: Account vault performance retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AccountVaultPerformanceDto'
        '500':
          description: Database error
components:
  schemas:
    AccountVaultPerformanceDto:
      type: object
      required:
        - vault
        - account_address
      properties:
        account_address:
          type: string
        all_time_earned:
          type:
            - number
            - 'null'
          format: double
          description: All-time profit/loss in USDC (includes both realized and unrealized)
        all_time_return:
          type:
            - number
            - 'null'
          format: double
          description: All-time return percentage (includes both realized and unrealized)
        current_num_shares:
          type:
            - integer
            - 'null'
          format: int64
          description: Number of shares owned (in base units with 6 decimals)
          minimum: 0
        current_value_of_shares:
          type:
            - number
            - 'null'
          format: double
          description: Current value of user's shares in USDC
        deposits:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/VaultDeposit'
        locked_amount:
          type:
            - number
            - 'null'
          format: double
          description: >-
            Amount currently locked (cannot withdraw). Frontend: withdrawable =
            current_value_of_shares - locked_amount
        share_price:
          type:
            - number
            - 'null'
          format: double
          description: Current share price (NAV per share)
        total_deposited:
          type:
            - number
            - 'null'
          format: double
          description: Total amount deposited in USDC (sum of all contributions)
        total_withdrawn:
          type:
            - number
            - 'null'
          format: double
          description: Total amount withdrawn in USDC (sum of all settled redemptions)
        unrealized_pnl:
          type:
            - number
            - 'null'
          format: double
          description: Unrealized profit/loss in USDC (only on current holdings)
        vault:
          $ref: '#/components/schemas/PublicVaultDto'
          description: Vault object with metadata + metrics
        volume:
          type:
            - number
            - 'null'
          format: double
          description: Trading volume in USDC
        weekly_win_rate_12w:
          type:
            - number
            - 'null'
          format: double
        withdrawals:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/VaultWithdrawal'
    VaultDeposit:
      type: object
      required:
        - amount_usdc
        - shares_received
        - timestamp_ms
      properties:
        amount_usdc:
          type: number
          format: double
        shares_received:
          type: integer
          format: int64
          minimum: 0
        timestamp_ms:
          type: integer
          format: int64
        unlock_timestamp_ms:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            Exact unlock time in milliseconds. None = no lockup (never returns
            Some(0)).

            Frontend derives: is_locked = unlock_timestamp_ms.is_some() &&
            unlock_timestamp_ms > now()
    PublicVaultDto:
      type: object
      required:
        - address
        - name
        - manager
        - status
        - created_at
      properties:
        address:
          type: string
        all_time_pnl:
          type:
            - number
            - 'null'
          format: double
        all_time_return:
          type:
            - number
            - 'null'
          format: double
        apr:
          type:
            - number
            - 'null'
          format: double
          description: |-
            Annualized percentage return (avg daily share-price yield × 365).
            NULL if vault has < 14 days of snapshot data.
        average_leverage:
          type:
            - number
            - 'null'
          format: double
        created_at:
          type: integer
          format: int64
        depositors:
          type:
            - integer
            - 'null'
          format: int32
        description:
          type:
            - string
            - 'null'
        lockdown_period_s:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            Lockdown period in seconds. Contributors cannot redeem until this
            period elapses after deposit.

            Can be 0 (no lockdown) up to 7 days (604800 seconds).
          example: 259200
          minimum: 0
        manager:
          type: string
        manager_cash_pct:
          type:
            - number
            - 'null'
          format: double
          description: >-
            Manager's current cash position as percentage of total account value
            (point-in-time, not average)
        max_drawdown:
          type:
            - number
            - 'null'
          format: double
        name:
          type: string
        net_deposits:
          type:
            - number
            - 'null'
          format: double
          description: >-
            Net deposits (total contributions - total settled redemptions) in
            USDC.

            Used to verify all_time_return and display context (e.g., "X% return
            on $Y invested").
          example: 30277044.96
        past_month_return:
          type:
            - number
            - 'null'
          format: double
        perp_equity:
          type:
            - number
            - 'null'
          format: double
        pnl_90d:
          type:
            - number
            - 'null'
          format: double
        profit_share:
          type:
            - number
            - 'null'
          format: double
        sharpe_ratio:
          type:
            - number
            - 'null'
          format: double
        social_links:
          type:
            - array
            - 'null'
          items:
            type: string
        status:
          type: string
        tvl:
          type:
            - number
            - 'null'
          format: double
        vault_type:
          type:
            - string
            - 'null'
        volume:
          type:
            - number
            - 'null'
          format: double
        volume_30d:
          type:
            - number
            - 'null'
          format: double
        weekly_win_rate_12w:
          type:
            - number
            - 'null'
          format: double
    VaultWithdrawal:
      type: object
      required:
        - shares_redeemed
        - timestamp_ms
        - status
      properties:
        amount_usdc:
          type:
            - number
            - 'null'
          format: double
        shares_redeemed:
          type: integer
          format: int64
          minimum: 0
        status:
          type: string
        timestamp_ms:
          type: integer
          format: int64
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from Geomi. See
        [Authentication](/api-reference/rest/authentication) for setup
        instructions.

````