Historical
Retrieves historical APY and TVL for a specific vault, based on the provided query parameters.
Include only vaults with provided network(name or CAIP)
Address of the vault for which the data will be returned
^0x[a-fA-F0-9]{40}$Page number (starting from 0)
0Number of items per page
50Interval for APY data. Possible values: 1day, 7day, 30day
7dayPossible values: Granularity for historical data (even intervals starting from epoch 0). Possible values: 1hour, 1day, 1week
1hourPossible values: 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
Historical TVL and APY data for a vault, paginated by timestamp
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
GET /v2/historical/{network}/{vaultAddress} HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
{
"itemsOnPage": 1,
"nextPage": 1,
"data": [
{
"timestamp": 1,
"blockNumber": "text",
"apy": {
"base": 1,
"reward": 1,
"total": 1
},
"tvl": {
"usd": "text",
"native": "text"
},
"sharePrice": 1
}
]
}Retrieves time-series historical APY data for a specific vault, including base yield and rewards components over a customizable time range
Include only vaults with provided network(name or CAIP)
Address of the vault for which the data will be returned
^0x[a-fA-F0-9]{40}$Page number (starting from 0)
0Number of items per page
50Interval for APY data. Possible values: 1day, 7day, 30day
7dayPossible values: Granularity for historical data (even intervals starting from epoch 0). Possible values: 1hour, 1day, 1week
1hourPossible values: 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
Historical APY data for a vault, paginated by timestamp
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
GET /v2/historical/{network}/{vaultAddress}/apy HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
{
"itemsOnPage": 1,
"nextPage": 1,
"data": [
{
"timestamp": 1,
"blockNumber": "text",
"apy": {
"base": 1,
"reward": 1,
"total": 1
}
}
]
}Retrieves time-series historical TVL data for a specific vault, including base yield and rewards components over a customizable time range
Include only vaults with provided network(name or CAIP)
Address of the vault for which the data will be returned
^0x[a-fA-F0-9]{40}$Page number (starting from 0)
0Number of items per page
50Interval for APY data. Possible values: 1day, 7day, 30day
7dayPossible values: Granularity for historical data (even intervals starting from epoch 0). Possible values: 1hour, 1day, 1week
1hourPossible values: 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
Historical TVL data for a vault, paginated by timestamp
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
GET /v2/historical/{network}/{vaultAddress}/tvl HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
{
"itemsOnPage": 1,
"nextPage": 1,
"data": [
{
"timestamp": 1,
"blockNumber": "text",
"tvl": {
"usd": "text",
"native": "text"
}
}
]
}Retrieves time-series historical TVL data for a specific vault, including base yield and rewards components over a customizable time range
Include only vaults with provided network(name or CAIP)
Address of the vault for which the data will be returned
^0x[a-fA-F0-9]{40}$Page number (starting from 0)
0Number of items per page
50Interval for APY data. Possible values: 1day, 7day, 30day
7dayPossible values: Granularity for historical data (even intervals starting from epoch 0). Possible values: 1hour, 1day, 1week
1hourPossible values: 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
Historical SharePrice data for a vault, paginated by timestamp
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
GET /v2/historical/{network}/{vaultAddress}/sharePrice HTTP/1.1
Host: api.vaults.fyi
x-api-key: YOUR_API_KEY
Accept: */*
{
"itemsOnPage": 1,
"nextPage": 1,
"data": [
{
"timestamp": 1,
"blockNumber": "text",
"sharePrice": 1
}
]
}Last updated