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