Get KLend reserve borrow APY and staking APY history
curl --request GET \
--url https://api.kamino.finance/kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/history"
response = requests.get(url)
print(response.text)false[
{
"createdOn": "2023-10-17T15:00:06.009Z",
"borrowInterestApy": "0.027610992938039702",
"stakingApy": "0.066527842899023711405366628964490454572"
}
]{
"metadata": "Account could not be found"
}{
"error": "An internal error occurred"
}Kamino Lend Yield
Get KLend reserve borrow APY and staking APY history
Get historical borrow interest APY and staking APY data for reserves that contain LST tokens with staking yield. Used for Multiply underlying APY calculations. Hourly and daily borrow APYs are means of raw snapshots in each UTC bucket.
GET
/
kamino-market
/
{marketPubkey}
/
reserves
/
{reservePubkey}
/
borrow-and-staking-apys
/
history
Get KLend reserve borrow APY and staking APY history
curl --request GET \
--url https://api.kamino.finance/kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/history"
response = requests.get(url)
print(response.text)false[
{
"createdOn": "2023-10-17T15:00:06.009Z",
"borrowInterestApy": "0.027610992938039702",
"stakingApy": "0.066527842899023711405366628964490454572"
}
]{
"metadata": "Account could not be found"
}{
"error": "An internal error occurred"
}Path Parameters
Kamino Lend market public key
Example:
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
Kamino Lend reserve public key
Example:
"FBSyPnxtHKLBZ4UeeUyAnbtFuAmTHLtso9YtsqRDRWpM"
Query Parameters
Solana cluster environment
Available options:
mainnet-beta, devnet, localnet Example:
"mainnet-beta"
Date input (ISO 8601 string or epoch in ms)
Example:
"2024-01-01T00:00:00.000Z"
Date input (ISO 8601 string or epoch in ms)
Example:
"2024-01-01T00:00:00.000Z"