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

# Get Order Analytics

> Retrieve aggregate statistics about swap orders



## OpenAPI

````yaml /openapi.json get /api/v1/swaps/orders/analytics
openapi: 3.1.0
info:
  title: Kaleidoswap RGB-LSP API
  description: API for managing swaps and channels
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/swaps/orders/analytics:
    get:
      tags:
        - swap-orders
      summary: Get Order Stats
      description: Get order statistics including counts by status and volume information
      operationId: get_order_stats_api_v1_swaps_orders_analytics_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderStatsResponse'
components:
  schemas:
    OrderStatsResponse:
      properties:
        status_counts:
          additionalProperties:
            type: integer
          type: object
          title: Status Counts
          description: Count of orders by status
        filled_orders_volume:
          type: integer
          title: Filled Orders Volume
          description: Total volume of filled orders
        filled_orders_count:
          type: integer
          title: Filled Orders Count
          description: Total count of filled orders
      type: object
      required:
        - status_counts
        - filled_orders_volume
        - filled_orders_count
      title: OrderStatsResponse

````