Skip to main content
GET
/
v2
/
kamino-market
/
{marketPubkey}
/
obligations
/
{obligationPubkey}
/
interest-fees
Get interest fees earned per obligation
curl --request GET \
  --url https://api.kamino.finance/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/interest-fees
{
  "totalFeesEarnedObligation": {
    "uy9LQEjELMp8r3qpb7fJhu2Y32ydAxTEo74VAEZ6EHQs": {
      "ts": 1762128000000,
      "solFees": "0.00001610553929183891699891935039215032176993",
      "usdFees": "0.003058858072628656437082436052718601394968"
    }
  },
  "historicalFeesObligation": {}
}

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"

obligationPubkey
string
required

Kamino Lend obligation public key

Example:

"63QrAB1okxCc4FpsgcKYHjYTp1ua8ch6mLReyKRdc22o"

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"

programId
string
default:KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD

KLend program ID

Example:

"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"

Response

OK

totalFeesEarnedObligation
object
required

Total interest fees earned per obligation

Example:
{
  "uy9LQEjELMp8r3qpb7fJhu2Y32ydAxTEo74VAEZ6EHQs": {
    "ts": 1762128000000,
    "solFees": "0.00001610553929183891699891935039215032176993",
    "usdFees": "0.003058858072628656437082436052718601394968"
  }
}
historicalFeesObligation
object
required

Historical breakdown of interest fees earned over time