Core APIReferenceVaults

/vaults/apy-history

Get APY history for all vaults for the given date range. `compositionApy` is the composition-weighted yield APY (liquid assets and off-chain value are excluded from the APY denominator). `apy` is a legacy alias for `compositionApy`. `navApy` is the price-delta (NAV-based) APY computed from vault token price changes.

GET
/vaults/apy-history

Get APY history for all vaults for the given date range. compositionApy is the composition-weighted yield APY (liquid assets and off-chain value are excluded from the APY denominator). apy is a legacy alias for compositionApy. navApy is the price-delta (NAV-based) APY computed from vault token price changes.

Query Parameters

startDate?|

Unix timestamp in seconds

endDate?|

Unix timestamp in seconds

Default1787556963
order?string

Ordering for history arrays. desc returns newest first. asc returns oldest first.

Default"desc"

Value in

  • "asc"
  • "desc"
chainId?|

Optional chain ID. Defaults to Plume: 98866

Default98866
live?string
Deprecated

DEPRECATED: Use status instead. Legacy status filter. true returns active vaults; false returns non-active vaults. Ignored when status is provided.

Defaulttrue
status?string

Filter vaults by CMS status. Defaults to active. Use all to include every vault regardless of CMS status.

Value in

  • "active"
  • "disabled"
  • "coming_soon"
  • "hidden"
  • "all"

Response Body

application/json

curl -X GET "https://example.com/vaults/apy-history"
{  "data": [    {      "vaultAddress": "string",      "history": [        {          "day": 0,          "apy": {            "rolling7d": 0,            "rolling30d": 0,            "sec30d": 0          },          "compositionApy": {            "rolling7d": 0,            "rolling30d": 0,            "sec30d": 0          },          "navApy": {            "rolling7d": 0,            "rolling30d": 0,            "sec30d": 0          }        }      ],      "errors": [        {          "source": "superstate",          "operation": "getPendingTransactions",          "message": "superstate getPendingTransactions timed out after 10000ms",          "code": "TIMEOUT",          "timestamp": 1704067200        }      ]    }  ]}