Reading Market Data
Retrieve market metrics, reserve information, and TVL data using the Kamino SDK and API.Historical market data is only available via the API.
1
Get Market Info
Retrieves real-time market-wide metrics including total deposits and borrows TVL across all reserves.Using the SDK requires a private RPC connection or the public rate-limited
RPC endpoint.
- TypeScript
getMarketInfo
2
Get Reserve Info
Queries detailed information for all reserves in the market including deposit/borrow TVL, APY rates, and utilization ratios.- TypeScript
- Rust
getReserveInfo
A token can have several reserves: one variable-rate reserve plus fixed-rate ones, so each row shows its kind. Fixed-rate APYs depend on the slot duration passed to
KaminoMarket.load. A hard-coded value such as 400 ms shows them at about half their real rate, because mainnet slots are closer to 210 ms.