> ## 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) count of unique traders from API-created orders, with gaps filled



## OpenAPI

````yaml https://vooi-api-app.fly.dev/swagger/json get /broker-statistics/daily-traders
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/daily-traders:
    get:
      tags:
        - Broker Statistics
      summary: >-
        Get per-interval (day or hour) count of unique traders from API-created
        orders, with gaps filled
      operationId: BrokerStatisticsController_getDailyTraders
      parameters:
        - name: X-Broker-Key
          in: header
          description: Broker API key
          required: true
          schema:
            type: string
        - name: baseSymbolNotPrefix
          required: false
          in: query
          schema:
            example: 'xyz:'
            type: string
            minLength: 1
            maxLength: 20
          description: >-
            Exclude trades whose base symbol starts with this prefix
            (case-insensitive).
        - name: baseSymbolPrefix
          required: false
          in: query
          schema:
            example: 'xyz:'
            type: string
            minLength: 1
            maxLength: 20
          description: Filter trades by base symbol prefix (case-insensitive).
        - name: exchange
          required: false
          in: query
          schema:
            type: string
            enum:
              - aster
              - binance
              - bybit
              - extended
              - gate
              - hyperliquid
              - lighter
              - mexc
              - ondo
              - robinhood
          description: >-
            Filter by exchange. When omitted, data is returned for all supported
            exchanges.
        - name: from
          required: false
          in: query
          schema:
            example: 1767225600000
            type: integer
            exclusiveMinimum: 0
            maximum: 9007199254740991
          description: >-
            Start of the period as unix timestamp in milliseconds (inclusive).
            Defaults to 30 days before now (1 day for hour resolution).
        - name: resolution
          required: false
          in: query
          schema:
            default: day
            type: string
            enum:
              - day
              - hour
          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.
        - name: to
          required: false
          in: query
          schema:
            example: 1769903999000
            type: integer
            exclusiveMinimum: 0
            maximum: 9007199254740991
          description: >-
            End of the period as unix timestamp in milliseconds (inclusive).
            Defaults to now.
        - name: usersStoplist
          required: false
          in: query
          schema:
            anyOf:
              - 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)$
              - minItems: 1
                maxItems: 100
                type: array
                items:
                  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: List of user IDs to exclude from the results.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrokerDailyDataDto'
components:
  schemas:
    BrokerDailyDataDto:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/BrokerDailyDataItemDto'
        totalValue:
          type: number
          minimum: 0
          description: >-
            Total value across all intervals and exchanges/exchange in the
            range.
      required:
        - items
        - totalValue
      title: BrokerDailyData
    BrokerDailyDataItemDto:
      type: object
      properties:
        amount:
          type: number
          minimum: 0
          description: Metric value on this exchange in this interval.
        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))$
      required:
        - amount
        - date
      title: BrokerDailyDataItem

````

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