Protocol

Protocol revenue

Changed on
get/v1/protocol/fees

Request

Query parameters

daysinteger

Trailing window ending today (inclusive). Ignored when from is given.

fromstring date

Inclusive range start (YYYY-MM-DD). Overrides days.

tostring date

Inclusive range end; default today. Range capped at 1000 days; from > to → 400.

Response

period aggregates cover exactly since..until; allTime spans the whole history. Raw fee is in the fee token's units; usd are historically priced (a lower bound on early days with no price data). Cache-Control: public, max-age=300.

sincestring date required
untilstring date required

Example response

{
  "since": "2026-08-19",
  "until": "2026-08-19",
  "daily": [
    {
      "date": "2026-08-19"
    }
  ]
}

Changes

    • info

      removed the HYPE enum value from the // response property for the response status

    • info

      removed the HYPE enum value from the //// response property for the response status

    • info

      removed the SOL enum value from the // response property for the response status

    • info

      removed the SOL enum value from the //// response property for the response status

    • info

      removed the cbBTC enum value from the // response property for the response status

    • info

      removed the cbBTC enum value from the //// response property for the response status