Get historical APY on single vault at single timestamp
get
Get historical APY data for a vault for block with closest timestamp to the given one
Authorizations
Path parameters
vaultAddressstringRequiredPattern:
Address of a vault
^0x[a-fA-F0-9]{40}$
networkstring · enumRequiredPossible values:
Network name or caip
timestampintegerRequired
Timestamp of the historical data
Query parameters
intervalstring · enumRequiredPossible values:
Resolution of the APY data
Responses
200
Object describing the APY of the vault in given time
application/json
get
GET //v1/vaults/{network}/{vaultAddress}/historical-apy/{timestamp} HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
200
Object describing the APY of the vault in given time
{
"timestamp": 1,
"blockNumber": 1,
"apy": {
"base": 1,
"rewards": 1,
"total": 1
}
}
Last updated