GET/v0/vaults-v1/{vault_selector}/apy-averages

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/morpho/v0/vaults-v1/{vault_selector}/apy-averagesCache cached 20s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Realized average APY of a MetaMorpho Vault V1 over a chosen lookback window.

Try this endpoint

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/morpho/v0/vaults-v1/1:0xbEef047a543E45807105E51A8BBEFCc5950fcfBa/apy-averages?lookback=seven_days"

Parameters

nameintypedescription
vault_selectorpathstrrequiredMetaMorpho Vault V1 selector in '<chain_id>:<vault_address>' format.
example: 1:0xbEef047a543E45807105E51A8BBEFCc5950fcfBa
lookbackquerystrrequiredHistorical lookback window ('one_day', 'seven_days', 'thirty_days', 'ninety_days', 'one_year', 'inception', or shorthands '1d', '7d', '30d').
default: seven_days
example: seven_days

Response

type: object
pagination: none
sample: {
  "data": "object"
}