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

# Get aggregate account volume over a date range

> Returns the account's total, maker, and taker volume (in whole USD) for the requested
inclusive date range. When `start_date` and `end_date` are omitted the range defaults
to the past 30 days (today() - 29 .. today(), UTC).

Both `start_date` and `end_date` must be supplied together (YYYY-MM-DD format).
Volume data has up to 5-minute delay (MV refresh interval).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/account_volume
openapi: 3.1.0
info:
  title: Decibel Trading API
  description: >-
    RESTful API for Decibel. Provides read-only endpoints for market data,
    trading operations, positions, and analytics.
  contact:
    name: Decibel Team
    url: https://decibel.trade/
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.mainnet.aptoslabs.com/decibel
    description: Mainnet
  - url: https://api.testnet.aptoslabs.com/decibel
    description: Testnet
security:
  - bearerAuth: []
tags:
  - name: Market Data
    description: Market information and real-time data endpoints
  - name: User
    description: User information and account management
  - name: Account
    description: Account-specific endpoints and data
  - name: Trades
    description: Trading operations and history
  - name: Positions
    description: User position management
  - name: Orders
    description: Order management and history
  - name: TWAP
    description: Time-weighted average price orders
  - name: Bulk Orders
    description: Bulk order management
  - name: Vaults
    description: Vault operations and management
  - name: Analytics
    description: Analytics and performance metrics
  - name: Points
    description: Points-related account metrics
  - name: Trading Points
    description: Trading points endpoints
  - name: Trading Hz
    description: Trading Hz endpoints
  - name: Tier
    description: Tier information endpoints
  - name: Streaks
    description: User streak tracking endpoints
  - name: Predeposit Rewards
    description: Season 0 predeposit USDC rewards
  - name: Referrals
    description: Referral code management and tracking
  - name: Affiliates
    description: Affiliate code and earnings endpoints
paths:
  /api/v1/account_volume:
    get:
      tags:
        - Account
      summary: Get aggregate account volume over a date range
      description: >-
        Returns the account's total, maker, and taker volume (in whole USD) for
        the requested

        inclusive date range. When `start_date` and `end_date` are omitted the
        range defaults

        to the past 30 days (today() - 29 .. today(), UTC).


        Both `start_date` and `end_date` must be supplied together (YYYY-MM-DD
        format).

        Volume data has up to 5-minute delay (MV refresh interval).
      operationId: handle_account_volume
      parameters:
        - name: account
          in: query
          description: User account address
          required: true
          schema:
            type: string
        - name: start_date
          in: query
          description: |-
            Optional inclusive start date (YYYY-MM-DD, UTC).
            Must be provided together with `end_date`.
            Defaults to today() - 29 (UTC) when both are omitted.
          required: false
          schema:
            type: string
        - name: end_date
          in: query
          description: |-
            Optional inclusive end date (YYYY-MM-DD, UTC).
            Must be provided together with `start_date`.
            Defaults to today (UTC) when both are omitted.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Account volume retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountVolumeDto'
        '400':
          description: Invalid account address or date parameters
        '500':
          description: Database error
components:
  schemas:
    AccountVolumeDto:
      type: object
      description: >-
        Response for `GET
        /api/v1/account_volume?account=<address>&start_date=<YYYY-MM-DD>&end_date=<YYYY-MM-DD>`.


        Returns the account's aggregate trading volume (total, maker, taker) in
        whole USD

        for the requested inclusive date range.

        When `start_date`/`end_date` are omitted the range defaults to the past
        30 days

        (today() - 29 .. today() inclusive, UTC).


        Volume data has up to 5-minute delay (MV refresh interval).
      required:
        - account
        - start_date
        - end_date
        - volume
        - maker_volume
        - taker_volume
      properties:
        account:
          type: string
          description: The queried account address
        end_date:
          type: string
          description: Inclusive end date of the range used (YYYY-MM-DD, UTC)
        maker_volume:
          type: string
          description: >-
            Maker-side volume across the range (USD, whole-dollar integer
            string)
        start_date:
          type: string
          description: Inclusive start date of the range used (YYYY-MM-DD, UTC)
        taker_volume:
          type: string
          description: >-
            Taker-side volume across the range (USD, whole-dollar integer
            string)
        volume:
          type: string
          description: Total volume across the range (USD, whole-dollar integer string)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from Geomi. See
        [Authentication](/api-reference/rest/authentication) for setup
        instructions.

````