Skip to main content
GET
/
kamino-market
/
{marketPubkey}
/
reserves
/
{reservePubkey}
/
borrow-and-staking-apys
/
history
/
median
Get KLend reserve borrow APY and median staking APY history
curl --request GET \
  --url https://api.kamino.finance/kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/history/median
[
  {
    "createdOn": "2023-10-17T15:00:06.009Z",
    "borrowInterestApy": "0.027610992938039702",
    "stakingApy": "0.066527842899023711405366628964490454572"
  }
]

Documentation Index

Fetch the complete documentation index at: https://kamino.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

marketPubkey
string
required

Kamino Lend market public key

Example:

"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"

reservePubkey
string
required

Kamino Lend reserve public key

Example:

"FBSyPnxtHKLBZ4UeeUyAnbtFuAmTHLtso9YtsqRDRWpM"

Query Parameters

env
enum<string>
default:mainnet-beta

Solana cluster environment

Available options:
mainnet-beta,
devnet,
localnet
Example:

"mainnet-beta"

start
default:1970-01-01T00:00:00.000Z

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

end

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

Response

OK

createdOn
string<date-time>
required

Timestamp of the snapshot

Example:

"2023-10-17T15:00:06.009Z"

borrowInterestApy
string
required

Borrow interest APY

Examples:

"0.123"

"0"

"1"

"1.23"

"-0.5"

"999999.999999"

stakingApy
string
required

Staking APY

Example:

"0.066527842899023711405366628964490454572"