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

# Get User Balance and Totals

> Returns the balance and totals for the given user



## OpenAPI

````yaml /swagger.json get /user/balance
openapi: 3.0.1
info:
  contact: {}
  title: VoxFi API
  version: 0.0.1
servers:
  - url: https://data-api-dev.voxfi.com.br/v1
security: []
paths:
  /user/balance:
    get:
      tags:
        - user
      summary: Get User Balance and Totals
      description: Returns the balance and totals for the given user
      parameters:
        - name: x-api-key
          in: header
          description: API Key
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.UserBalanceAndTotals'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                type: object
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
components:
  schemas:
    models.UserBalanceAndTotals:
      type: object
      properties:
        available:
          type: integer
        eligible_for_withdraw:
          type: integer
        locked_audit:
          type: integer
        locked_waiting_orders:
          type: integer
        locked_waiting_withdraw:
          type: integer
        qty_contracts:
          type: integer
        remaining_rollover:
          type: integer
        total_balance:
          type: integer
        total_contracts:
          type: integer
        total_deposits:
          type: integer
        total_realized_pnl:
          type: integer
        total_unrealized_pnl:
          type: integer
        total_withdrawals:
          type: integer

````