Skip to main content
GET
/
kamino-market
/
{pubkey}
/
metrics
/
history
Get KLend Market metrics history
curl --request GET \
  --url https://api.kamino.finance/kamino-market/{pubkey}/metrics/history
[
  {
    "market": "9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs",
    "timestamp": "2023-06-29T15:15:26.464Z",
    "metrics": {
      "tvl": "234.14377328764223",
      "obligations": 38
    }
  }
]

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

pubkey
string
required

Market public key

Example:

"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"

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

market
string
required

Market public key

Example:

"9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs"

timestamp
string<date-time>
required

Timestamp of the metrics snapshot

Example:

"2023-06-29T15:15:26.464Z"

metrics
object
required

Market metrics