> ## 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 aggregated trading Hz for an owner across all their subaccounts



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/points/trading/amps
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/points/trading/amps:
    get:
      tags:
        - Trading Hz
      summary: Get aggregated trading Hz for an owner across all their subaccounts
      operationId: handle_owner_trading_hz
      parameters:
        - name: owner
          in: query
          description: Owner wallet address
          required: true
          schema:
            type: string
          example: '0xb8a5788314451ce4d2fbbad32e1bad88d4184b73943b7fe5166eab93cf1a5a95'
        - name: season
          in: query
          description: >-
            Optional season name to filter by (e.g. "season1"). Omit to
            aggregate across all seasons.
          required: false
          schema:
            type: string
          example: season1
        - name: days
          in: query
          description: >-
            Number of days to look back. 1 = today only, 7 = last week, etc.
            Omit for lifetime totals.
          required: false
          schema:
            type: integer
            format: int64
            minimum: 0
          example: '1'
      responses:
        '200':
          description: Owner trading Hz with breakdown
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnerTradingHz'
        '400':
          description: Invalid address format or season not configured
        '500':
          description: Database error
components:
  schemas:
    OwnerTradingHz:
      type: object
      description: Trading Hz aggregated by owner response DTO
      required:
        - owner
        - total_amps
      properties:
        breakdown:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/SubaccountHz'
          description: Per-subaccount breakdown (null if owner has no subaccounts)
        owner:
          type: string
          description: Owner address
        total_amps:
          type: number
          format: double
          description: Total Hz earned across all subaccounts
    SubaccountHz:
      type: object
      description: Per-subaccount Hz breakdown
      required:
        - account
        - total_amps
      properties:
        account:
          type: string
          description: Subaccount address
        total_amps:
          type: number
          format: double
          description: Total Hz earned by this subaccount
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from Geomi. See
        [Authentication](/api-reference/rest/authentication) for setup
        instructions.

````