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

# Get treasury summary KPIs

> Pre-computed workspace treasury KPIs: total funds, 30d in/out/net flows, coverage months, and period-over-period comparison. Category breakdowns are not included (deferred). See data_availability for missing provider/sync data.



## OpenAPI

````yaml /api-reference/platform-api.json get /v2/treasury/summary
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.16
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
paths:
  /v2/treasury/summary:
    get:
      tags:
        - Treasury
      summary: Get treasury summary KPIs
      description: >-
        Pre-computed workspace treasury KPIs: total funds, 30d in/out/net flows,
        coverage months, and period-over-period comparison. Category breakdowns
        are not included (deferred). See data_availability for missing
        provider/sync data.
      operationId: getSummary
      parameters:
        - name: group
          required: false
          in: query
          description: Filter accounts by group name (exact match, case-sensitive).
          schema:
            type: string
            example: Treasury
        - name: type
          required: false
          in: query
          schema:
            example: bank
            type: string
            enum:
              - eoa
              - multisig
              - contract
              - custodian
              - exchange
              - bank
              - defi
        - name: provider
          required: false
          in: query
          schema:
            example: utila
            type: string
            enum:
              - utila
              - kraken
              - binance
              - okx
              - bybit
              - bitget
              - gate
              - kucoin
              - plaid
              - squads
              - altitude
              - coinbase
              - realms
              - wise
              - safe
              - hyperliquid
              - cubist
              - privy
              - dfns
              - anchorage
              - revolut_business
              - turnkey
              - octav
              - fordefi
              - coins_ph
              - fireblocks
              - pave_bank
        - name: network
          required: false
          in: query
          description: Filter by account network/chain.
          schema:
            type: string
            example: ethereum
        - name: denom
          required: false
          in: query
          description: Filter balances and transfer legs by asset symbol.
          schema:
            type: string
            example: USDC
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TreasurySummaryResponseDto'
components:
  schemas:
    TreasurySummaryResponseDto:
      type: object
      properties:
        total_funds_usd:
          type: number
          example: 724819.43
        inflow_30d_usd:
          type: number
          example: 95000
        outflow_30d_usd:
          type: number
          example: 71200
        net_30d_usd:
          type: number
          example: 23800
        net_flow_rate_usd:
          type: number
          example: -29200
          description: 90-day rolling average net flow per month. Negative = depleting.
        coverage_months:
          type: number
          nullable: true
          example: 24.8
          description: Null when net_flow_rate_usd >= 0 (not depleting).
        account_count:
          type: number
          example: 12
        comparison:
          $ref: '#/components/schemas/TreasurySummaryComparisonDto'
        data_availability:
          description: >-
            Explicit availability of balances/flows so zeros are not mistaken
            for missing provider data.
          allOf:
            - $ref: '#/components/schemas/TreasuryDataAvailabilityDto'
      required:
        - total_funds_usd
        - inflow_30d_usd
        - outflow_30d_usd
        - net_30d_usd
        - net_flow_rate_usd
        - account_count
        - comparison
        - data_availability
    TreasurySummaryComparisonDto:
      type: object
      properties:
        period:
          type: string
          example: previous_30d
        total_funds_usd:
          type: number
          example: 701019.43
        total_funds_delta_usd:
          type: number
          example: 23800
        total_funds_delta_pct:
          type: number
          nullable: true
          example: 0.034
        inflow_30d_usd:
          type: number
          example: 83000
        inflow_delta_usd:
          type: number
          example: 12000
        inflow_delta_pct:
          type: number
          nullable: true
          example: 0.145
        outflow_30d_usd:
          type: number
          example: 76200
        outflow_delta_usd:
          type: number
          example: -5000
        outflow_delta_pct:
          type: number
          nullable: true
          example: -0.066
        net_30d_usd:
          type: number
          example: 6800
        net_delta_usd:
          type: number
          example: 17000
        net_delta_pct:
          type: number
          nullable: true
          example: 2.5
        coverage_months:
          type: number
          nullable: true
          example: 22.1
        coverage_months_delta:
          type: number
          nullable: true
          example: 2.7
      required:
        - period
        - total_funds_usd
        - total_funds_delta_usd
        - inflow_30d_usd
        - inflow_delta_usd
        - outflow_30d_usd
        - outflow_delta_usd
        - net_30d_usd
        - net_delta_usd
    TreasuryDataAvailabilityDto:
      type: object
      properties:
        balances:
          type: string
          enum:
            - available
            - unavailable
            - partial
            - truncated
          example: available
          description: >-
            Whether current account balances could be summed. `partial` when
            some accounts lack priced balances.
        flows:
          type: string
          enum:
            - available
            - unavailable
            - partial
            - truncated
          example: available
          description: >-
            Whether connection-transaction flows could be aggregated.
            `unavailable` when no synced history exists; `truncated` when the
            lookback exceeded the page cap.
        historical_balances:
          type: string
          enum:
            - available
            - unavailable
          example: available
          description: >-
            Whether a point-in-time balance snapshot ~30d ago was found for
            comparison.total_funds_usd.
        unpriced_asset_count:
          type: number
          example: 0
          description: >-
            Count of asset lines with usd=null that were excluded from totals
            (not silently dropped from account_count).
        notes:
          example: []
          description: Human-readable notes about missing or incomplete data.
          type: array
          items:
            type: string
      required:
        - balances
        - flows
        - historical_balances
        - unpriced_asset_count
        - notes
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````