Get KLend obligation history
curl --request GET \
--url https://api.kamino.finance/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/history"
response = requests.get(url)
print(response.text)false{
"obligation": "3HdrCvoJ91bwgVTejdDXfguo6S2A9jjUkBR5fasq4WhB",
"history": [
{
"timestamp": "2025-10-17T00:00:00.000Z",
"refreshedStats": {
"leverage": "1.0580080950430842892",
"borrowLimit": "1.3496969599567630906",
"loanToValue": "0.054827647647367082766",
"liquidationLtv": "0.75000000000000000001",
"netAccountValue": "1.7239138521696367095",
"userTotalBorrow": "0.10000095858274584538",
"userTotalDeposit": "1.8239148107523825549",
"borrowUtilization": "0.074091415739685246983",
"borrowLiquidationLimit": "1.3679361080642869162",
"userTotalCollateralDeposit": "1.8239148107523825549",
"userTotalLiquidatableDeposit": "1.8239148107523825549",
"potentialElevationGroupUpdate": 0,
"userTotalBorrowBorrowFactorAdjusted": "0.10000095858274584538"
},
"deposits": [
{
"amount": "10000708.005624756258",
"mintAddress": "So11111111111111111111111111111111111111112",
"marketValueRefreshed": "1.8239148107523825549",
"reserve": "D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59"
}
],
"borrows": [
{
"amount": "10000708.005624756258",
"mintAddress": "So11111111111111111111111111111111111111112",
"marketValueRefreshed": "1.8239148107523825549",
"reserve": "D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59"
}
],
"tag": 0,
"obligationSolValues": {
"netValueSol": "0.009469142566566941841900274495955292427975",
"collateralValueSol": "0.01001842948854487210536205388880118310325",
"debtValueSol": "0.0005492869219779302633519230615141419874818",
"solPrice": "182.05596125",
"timestampSolPrice": "2025-10-17T00:00:00.000Z",
"timestampObligation": "2025-10-17T00:00:00.000Z"
}
}
]
}{
"error": "An internal error occurred"
}User and Loans Data
Get KLend obligation history
Get historical metrics for a specific obligation in a Kamino Lending market. This V2 endpoint supports using stake rate for obligation value calculation when useStakeRateForObligation is true.
GET
/
v2
/
kamino-market
/
{marketPubkey}
/
obligations
/
{obligationPubkey}
/
metrics
/
history
Get KLend obligation history
curl --request GET \
--url https://api.kamino.finance/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/historyconst options = {method: 'GET'};
fetch('https://api.kamino.finance/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/history"
response = requests.get(url)
print(response.text)false{
"obligation": "3HdrCvoJ91bwgVTejdDXfguo6S2A9jjUkBR5fasq4WhB",
"history": [
{
"timestamp": "2025-10-17T00:00:00.000Z",
"refreshedStats": {
"leverage": "1.0580080950430842892",
"borrowLimit": "1.3496969599567630906",
"loanToValue": "0.054827647647367082766",
"liquidationLtv": "0.75000000000000000001",
"netAccountValue": "1.7239138521696367095",
"userTotalBorrow": "0.10000095858274584538",
"userTotalDeposit": "1.8239148107523825549",
"borrowUtilization": "0.074091415739685246983",
"borrowLiquidationLimit": "1.3679361080642869162",
"userTotalCollateralDeposit": "1.8239148107523825549",
"userTotalLiquidatableDeposit": "1.8239148107523825549",
"potentialElevationGroupUpdate": 0,
"userTotalBorrowBorrowFactorAdjusted": "0.10000095858274584538"
},
"deposits": [
{
"amount": "10000708.005624756258",
"mintAddress": "So11111111111111111111111111111111111111112",
"marketValueRefreshed": "1.8239148107523825549",
"reserve": "D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59"
}
],
"borrows": [
{
"amount": "10000708.005624756258",
"mintAddress": "So11111111111111111111111111111111111111112",
"marketValueRefreshed": "1.8239148107523825549",
"reserve": "D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59"
}
],
"tag": 0,
"obligationSolValues": {
"netValueSol": "0.009469142566566941841900274495955292427975",
"collateralValueSol": "0.01001842948854487210536205388880118310325",
"debtValueSol": "0.0005492869219779302633519230615141419874818",
"solPrice": "182.05596125",
"timestampSolPrice": "2025-10-17T00:00:00.000Z",
"timestampObligation": "2025-10-17T00:00:00.000Z"
}
}
]
}{
"error": "An internal error occurred"
}Path Parameters
Kamino Lend market public key
Example:
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
Kamino Lend obligation public key
Example:
"63QrAB1okxCc4FpsgcKYHjYTp1ua8ch6mLReyKRdc22o"
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"
Use stake rate to calculate net SOL value
Available options:
true, false Example:
"true"