Protocol

Protocol revenue

get/v1/protocol/fees

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

No recorded changes to this endpoint across all 1 revision of this API.