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

# Get per-interval (day or hour) trade volume broken down by exchange across a list of users, with gaps filled



## OpenAPI

````yaml https://vooi-api-app.fly.dev/swagger/json post /broker-statistics/users-volume/chart
openapi: 3.1.0
info:
  title: VOOI API
  description: Unified perps API
  version: '1.0'
  contact: {}
servers:
  - url: https://perps-api.vooi.io
security: []
tags: []
paths:
  /broker-statistics/users-volume/chart:
    post:
      tags:
        - Broker Statistics
      summary: >-
        Get per-interval (day or hour) trade volume broken down by exchange
        across a list of users, with gaps filled
      operationId: BrokerStatisticsController_getUsersListVolumeChart
      parameters:
        - name: X-Broker-Key
          in: header
          description: Broker API key
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetBrokerUsersVolumeBodyDTO'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerUsersVolumeChartDto'
components:
  schemas:
    GetBrokerUsersVolumeBodyDTO:
      type: object
      properties:
        exchanges:
          description: >-
            Count trades only on these exchanges. When omitted, all supported
            exchanges are counted. Excluded exchanges are still present in the
            response with zero amounts.
          minItems: 1
          type: array
          items:
            type: string
            enum:
              - aster
              - binance
              - bybit
              - extended
              - gate
              - hyperliquid
              - lighter
              - mexc
              - ondo
              - robinhood
            description: Supported perpetual exchange
        from:
          description: >-
            Start of the period as unix timestamp in milliseconds (inclusive).
            Defaults to now - 30 days (1 day for hour resolution).
          example: 1767225600000
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        resolution:
          default: day
          description: >-
            Aggregation interval: day (UTC calendar day) or hour (UTC clock
            hour). from/to snap to interval boundaries. On series endpoints,
            items span one interval and hour limits the range to 7 days.
            Defaults to day.
          type: string
          enum:
            - day
            - hour
        to:
          description: >-
            End of the period as unix timestamp in milliseconds (inclusive).
            Defaults to now.
          example: 1769903999000
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        usersList:
          minItems: 1
          maxItems: 100
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
                pattern: >-
                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                description: User id.
              startedFrom:
                description: >-
                  Earliest date to count this user's trades from (timestamp ms).
                  The effective start is max(from, startedFrom).
                type: integer
                exclusiveMinimum: 0
                maximum: 9007199254740991
            required:
              - id
            title: BrokerUserVolumeInput
          description: Users to compute stats for (1-100).
      required:
        - usersList
      title: GetBrokerUsersVolumeBody
    BrokerUsersVolumeChartDto:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/BrokerUsersVolumeChartItemDto'
      required:
        - items
      title: BrokerUsersVolumeChart
    BrokerUsersVolumeChartItemDto:
      type: object
      properties:
        date:
          description: Start of the interval as ISO 8601 datetime (UTC).
          type: string
          format: date-time
          pattern: >-
            ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
        exchangesVolume:
          $ref: '#/components/schemas/BrokerUsersVolumeChartExchangeVolume'
          description: >-
            Executed notional per exchange in this interval from orders created
            through this API, summed across all users in the list.
        totalVolume:
          type: string
          description: Total executed notional across all exchanges in this interval.
          example: '600'
      required:
        - date
        - exchangesVolume
        - totalVolume
      title: BrokerUsersVolumeChartItem
    BrokerUsersVolumeChartExchangeVolume:
      type: object
      properties:
        aster:
          type: string
          description: Executed notional on Aster in quote currency.
        binance:
          type: string
          description: Executed notional on Binance in quote currency.
        bybit:
          type: string
          description: Executed notional on Bybit in quote currency.
        extended:
          type: string
          description: Executed notional on Extended in quote currency.
        gate:
          type: string
          description: Executed notional on Gate in quote currency.
        hyperliquid:
          type: string
          description: Executed notional on Hyperliquid in quote currency.
        lighter:
          type: string
          description: Executed notional on Lighter in quote currency.
        mexc:
          type: string
          description: Executed notional on Mexc in quote currency.
        ondo:
          type: string
          description: Executed notional on Ondo in quote currency.
        robinhood:
          type: string
          description: Executed notional on Robinhood in quote currency.
      required:
        - aster
        - binance
        - bybit
        - extended
        - gate
        - hyperliquid
        - lighter
        - mexc
        - ondo
        - robinhood
      title: BrokerUsersVolumeChartExchangeVolume

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.