Benchmarks
Benchmarks give users a simple, consistent way to compare yield performance across networks.
For each network, we publish a USD and ETH benchmark based on the top 5 vaults by TVL (minimum $1M) at each timestamp that match relevant token sets:
USD-benchmark token set: USDC, USDT, DAI, USDS, USDe
ETH-benchmark token set: ETH, WETH
The benchmark APY is a TVL-weighted average, calculated daily and stored with 1/7/30-day performance history. Benchmarks are not retroactively revised when new vaults are added.
Retrieves benchmark APY data for the specified network and benchmark code.
Network name or CAIP-2 identifier
Benchmark code identifier. Available codes: usd, eth
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
GET /v2/benchmarks/{network}?code=usd HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
{
"apy": {
"1day": {
"base": 1,
"reward": 1,
"total": 1
},
"7day": {
"base": 1,
"reward": 1,
"total": 1
},
"30day": {
"base": 1,
"reward": 1,
"total": 1
}
},
"timestamp": 1
}Retrieves historical benchmark APY data for the specified network and benchmark code with pagination.
Network name or CAIP-2 identifier
Page number (starting from 0)
0Number of items per page
50Benchmark code identifier. Available codes: usd, eth
Timestamp for the start of the time period for which data will be fetched
0Timestamp for the end of the time period for which data will be fetched
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
GET /v2/historical-benchmarks/{network}?code=usd HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
{
"itemsOnPage": 1,
"nextPage": 1,
"data": [
{
"apy": {
"1day": {
"base": 1,
"reward": 1,
"total": 1
},
"7day": {
"base": 1,
"reward": 1,
"total": 1
},
"30day": {
"base": 1,
"reward": 1,
"total": 1
}
},
"timestamp": 1
}
]
}Last updated