Docs

Get V1 vault APY history

Historical APY for a Morpho Vault V1. The APY averaging window is derived automatically from lookback: one_day and seven_days use one_day; thirty_days uses seven_days; ninety_days, one_year, and inception use thirty_days. six_hours selects a six-hour result range with hourly samples and a trailing six-hour APY averaging window; the range starts at the later of creation or six hours ago, with samples starting at the next top of hour. A point closer to the vault's first hourly snapshot than its window averages from that snapshot instead; points less than one day after it are omitted, except six_hours requires at least six hours after that snapshot.


GET
/v0/vaults-v1/{vault-selector}/apy/history

Vault selector example: 1:0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB (format: <chain_id>:<vault_address>; replace with the target vault).

Path Parameters

vault-selector*string

Selector formatted as <chain_id>:<vault_address>. Example: 1:0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB.

Format<chain_id>:<vault_address>

Query Parameters

lookback?string

Lookback period. Defaults to thirty_days. Historical sampling is selected automatically. The APY averaging window is derived automatically from lookback: one_day and seven_days use one_day; thirty_days uses seven_days; ninety_days, one_year, and inception use thirty_days. six_hours selects a six-hour result range with hourly samples and a trailing six-hour APY averaging window; the range starts at the later of creation or six hours ago, with samples starting at the next top of hour. A point closer to the vault's first hourly snapshot than its window averages from that snapshot instead; points less than one day after it are omitted, except six_hours requires at least six hours after that snapshot.

Value in

  • "one_day"
  • "seven_days"
  • "thirty_days"
  • "ninety_days"
  • "one_year"
  • "inception"
  • "six_hours"

Response Body

application/json

curl -X GET "https://example.com/v0/vaults-v1/1:0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB/apy/history"
{  "data": [    {      "apy": 0.0317,      "timestamp": 1729900800    },    {      "apy": 0.0321,      "timestamp": 1729987200    }  ],  "last_indexed_block": "19847234",  "params": {    "chain_id": "1",    "vault_address": "0xBEEF01735c132Ada46AA9aA4c54623cAA92A64CB"  }}