> ## 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 /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:
  /account/summary:
    get:
      summary: Get Account Summary
      description: Returns the account-wide balance, margin usage, and PnL for options.
      operationId: getOptionsAccountSummary
      responses:
        '200':
          description: Account summary
          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.
                  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.
              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'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````