> ## 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 per-day Amps for an owner

> Returns one row per season day, newest first, split into trading / streak /
referral / vault. Excludes `bonus_amps` — there is no per-day source for it.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/points/amps/daily
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
  - name: Campaigns
    description: On-chain reward campaign endpoints
paths:
  /api/v1/points/amps/daily:
    get:
      tags:
        - Points
      summary: Get per-day Amps for an owner
      description: >-
        Returns one row per season day, newest first, split into trading /
        streak /

        referral / vault. Excludes `bonus_amps` — there is no per-day source for
        it.
      operationId: handle_owner_amps_daily
      parameters:
        - name: owner
          in: query
          description: Owner wallet address (not a subaccount)
          required: true
          schema:
            type: string
        - name: days
          in: query
          description: Most recent season days to return. Defaults to 14, clamped to 90.
          required: false
          schema:
            type: integer
            format: int64
            minimum: 0
        - name: season
          in: query
          description: Season name. Defaults to the season containing today.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Per-day amps for an owner
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OwnerAmpsDailyDto'
        '400':
          description: Invalid address, unknown season, or no season configured
        '500':
          description: Database error
components:
  schemas:
    OwnerAmpsDailyDto:
      type: object
      description: >-
        Per-day Amps for one owner over a bounded window.


        Scoped to a single season on purpose: `day_index` is season-relative, so

        aggregating two seasons would collide day 5 of each into one bucket.


        Note the total excludes `bonus_amps`: there is no `bonus_amps_daily`
        table, so

        no per-day source exists for it. Program-wide that is ~1.6% of all Amps,
        but for

        an owner who received a bonus this series will not sum to the
        `total_amps` shown

        by `/points/amps` or the leaderboard.
      required:
        - owner
        - season
        - days
      properties:
        days:
          type: array
          items:
            $ref: '#/components/schemas/DailyAmpsDto'
          description: Newest day first
        owner:
          type: string
          description: Owner address
        season:
          type: string
          description: Season these day indexes belong to
    DailyAmpsDto:
      type: object
      description: One season-day of Amps, split by bucket.
      required:
        - day_index
        - day_start_unix_ms
        - total_amps
        - trading_amps
        - streak_amps
        - referral_amps
        - vault_amps
      properties:
        day_index:
          type: integer
          format: int64
          description: Season-relative day number (0 = season start)
          minimum: 0
        day_start_unix_ms:
          type: integer
          format: int64
          description: UTC start of this day, so clients never recompute season math
        referral_amps:
          type: number
          format: double
        streak_amps:
          type: number
          format: double
        total_amps:
          type: number
          format: double
          description: >-
            trading + streak + referral + vault (no bonus — see the parent doc
            comment)
        trading_amps:
          type: number
          format: double
        vault_amps:
          type: number
          format: double
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token from Geomi. See
        [Authentication](/api-reference/rest/authentication) for setup
        instructions.

````