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

# Get Account Summary

> Retrieve account balance, margin usage, and PnL.



## OpenAPI

````yaml GET /v1/account/summary
openapi: 3.1.0
info:
  title: Options API
  version: 1.0.0
  description: >-
    REST endpoints for Rails Options. Base URLs vary by environment — see the
    Environments page. Authorize with the access token obtained from the Auth
    API.
servers:
  - url: https://api-options.sandbox.rails.xyz
security:
  - bearerAuth: []
paths:
  /v1/account/summary:
    get:
      summary: Get Account Summary
      description: >-
        Returns the account-wide balance, equity, margin usage, and PnL for
        options.
      operationId: getOptionsAccountSummary
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  availableBalance:
                    type: string
                    description: Balance available for new orders.
                  withdrawableBalance:
                    type: string
                    description: Balance available to withdraw.
                  accountBalance:
                    type: string
                    description: Total account balance.
                  marginUsed:
                    type: string
                    description: >-
                      Margin currently in use — the initial margin locked by
                      open positions and resting orders.
                  pnl:
                    type: string
                    description: Cumulative realized PnL.
                  fees:
                    type: string
                    description: Cumulative fees.
                  volume:
                    type: string
                    description: Cumulative traded volume.
                  unrealizedPnl:
                    type: string
                    description: >-
                      Unrealized PnL across open positions. Reporting only — not
                      a term in `totalEquity`.
                  totalEquity:
                    type: string
                    description: >-
                      Account equity — account balance plus the signed mark
                      value of open positions.
                  maintenanceMargin:
                    type: string
                    description: Maintenance margin across open positions.
                  initialMarginRatio:
                    type: string
                    description: >-
                      `marginUsed` as a fraction of total equity; `1` when
                      equity is not positive.
                  maintenanceMarginRatio:
                    type: string
                    description: >-
                      Maintenance margin as a fraction of total equity; `1` when
                      equity is not positive.
              example:
                availableBalance: '9806.75'
                withdrawableBalance: '9612.50'
                accountBalance: '12500.00'
                marginUsed: '2693.25'
                pnl: '1362.80'
                fees: '142.60'
                volume: '486000.00'
                unrealizedPnl: '312.40'
                totalEquity: '12761.75'
                maintenanceMargin: '1204.18'
                initialMarginRatio: '0.2110'
                maintenanceMarginRatio: '0.0943'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````