Get all user obligations
curl --request GET \
--url https://api.kamino.finance/kamino-market/{marketPubkey}/users/{userPubkey}/obligationsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kamino-market/{marketPubkey}/users/{userPubkey}/obligations', 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}/users/{userPubkey}/obligations"
response = requests.get(url)
print(response.text)false{
"error": "An internal error occurred"
}{
"error": "<string>"
}User and Loans Data
Get all user obligations
Get all obligations (loans) for a specific user wallet in a Kamino Lending market.
GET
/
kamino-market
/
{marketPubkey}
/
users
/
{userPubkey}
/
obligations
Get all user obligations
curl --request GET \
--url https://api.kamino.finance/kamino-market/{marketPubkey}/users/{userPubkey}/obligationsconst options = {method: 'GET'};
fetch('https://api.kamino.finance/kamino-market/{marketPubkey}/users/{userPubkey}/obligations', 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}/users/{userPubkey}/obligations"
response = requests.get(url)
print(response.text)false{
"error": "An internal error occurred"
}{
"error": "<string>"
}Path Parameters
Kamino Lend market public key
Example:
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
User wallet public key
Example:
"AcNSmd5CxwLs21TYUmhWt7CW2v159TdYRkvQxb1iBYRj"
Query Parameters
Solana cluster environment
Available options:
mainnet-beta, devnet, localnet Example:
"mainnet-beta"
Response
OK