Skip to main content

Overview

Kamino provides three integration options:

Core Differences

Comparison of API, SDK, and Rust crate capabilities.

Data & Analytics

Retrieve vault, market, and historical performance data.
REST APIFetch historical APY data for lending market reserves.
TypeScript SDKNo history tracking. Developers must persist snapshots manually if needed.

On-Chain Transactions

Build and execute deposit, borrow, repay, and withdraw operations.
REST API
Get unsigned Solana transactions to deposit liquidity into a Kamino Lend market reserve. Returns transaction that must be signed client-side.
TypeScript SDK
Build and execute deposit transactions directly on-chain.
Rust Interface Crate
Build deposit instructions from a Rust client. Ideal for bots and backend services.
TypeScript SDK
Build a vault deposit with the SDK.
Rust Interface Crate
Build a vault deposit with the kvault-interface crate. The helper derives the PDAs and per-reserve remaining accounts from the on-chain vault state.
REST API
Get unsigned transactions for borrow and repay operations.
TypeScript SDK
Build borrow and repay transactions directly.
Rust Interface Crate
Build borrow instructions using ObligationContext which handles reserve refresh automatically.
TypeScript SDK

Choose the right tool for your use case.

Summary

Use the Kamino REST API for fast data integration, history tracking, and building unsigned transactions across any backend. Use the TypeScript SDK for advanced transaction composition, simulation, and vault creation with full on-chain control. Use the Rust interface crate for Rust-native clients, high-performance bots, and CPI from on-chain Solana programs.

API Documentation

Explore REST API endpoints and response schemas

SDK Documentation

Learn how to integrate the TypeScript SDK

Lending Rust Crate

Lightweight Rust instruction builder for Kamino Lending clients and CPI

Vaults Rust Crate

Lightweight Rust instruction builder for Kamino Vaults clients and CPI

Borrow Operations

Step-by-step guides for deposit, withdraw, borrow, and repay

Earn Operations

Step-by-step guides for vault deposit and withdraw

SDK Examples

View code examples in the GitHub repository