Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kamino Kamino Lend User Loans API

The Kamino Lend User Loans API from Kamino — 4 operation(s) for kamino lend user loans.

Kamino Kamino Lend User Loans API is one of 23 APIs that Kamino publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Kamino Lend User Loans. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 4 operations across 4 paths, and defines 13 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against a single base URL, https://api.kamino.finance.

4 operations 4 paths 13 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://api.kamino.finance
Resource Areas
1

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

Kamino Lend User Loans 4
GET
/kamino-market/{marketPubkey}/users/{userPubkey}/obligations
Get all user obligations
3 params → 200500
GET
/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/pnl
Get profit and loss for an obligation
5 params → 200500
GET
/v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/history
Get KLend obligation history
6 params → 200500
GET
/klend/loans/{pubkey}
Get information about a loan (obligation)
2 params → 200404500

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are ObligationStats (13 properties), LoanDepositInfo (9 properties), LoanInfo (8 properties), LoanBorrowInfo (8 properties). Each schema is shown below with its type and property counts.

PnlResponse
object
3 properties 2 required
AddressBase58
string
Valid base58-encoded address
ObligationSolValues
object
Obligation values denominated in SOL
6 properties 6 required
LoanDepositInfo
object
9 properties 9 required
ObligationMetrics
object
6 properties 6 required
Decimal
string
Decimal value represented as string
Error
object
Internal server error response (500)
1 property 1 required
SnapshotDateTime
string
Timestamp of the metrics snapshot
LoanBorrowInfo
object
8 properties 8 required
Position
object
3 properties 3 required
ObligationStats
object
Refreshed obligation statistics
13 properties 13 required
LoanInfo
object
8 properties 8 required
ObligationMetricsHistoryResponse
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kamino-kamino-lend-user-loans-api-openapi.yml Raw ↑

Other APIs Kamino publishes across the network.

Kamino Airdrop API
Kamino Farms API
Kamino Kamino Earn Deposit API
Kamino Kamino Earn User API
Kamino Kamino Earn Vault Metadata API
Kamino Kamino Earn Vaults API
Kamino Kamino Earn Withdraw API
Kamino Kamino Lend Borrow API
Kamino Kamino Lend Borrow Orders API
Kamino Kamino Lend Deposit API
Kamino Kamino Lend Markets API
Kamino Kamino Lend Repay API