Skip to main content
GET
Get charts for a market

Path Parameters

marketPubkey
string
required

Kamino Lend market public key

Example:

"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"

Query Parameters

programId
string
default:KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD

KLend program ID

Example:

"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"

frequency
enum<string>
default:hour

Frequency of the snapshots

Available options:
hour,
day
Example:

"hour"

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

history
object[]
required