Skip to main content
Access data and build transactions through the API. Use the Read SDK for on-chain data and the Lend SDK for transaction building.

Overview

Jupiter Lend provides multiple integration options:

Core differences

Data and analytics

Earn tokens and positions

REST API: Fetch available tokens, positions, and earnings via HTTP. See the Earn API reference for endpoints (tokens, positions, earnings), and request formats. Read SDK: Read tokens and positions directly from chain:

Vault and Borrow data

Read SDK: Vault and position reads:
Borrow API endpoints (vaults, positions, transactions) are coming soon. Use the Read SDK for vault and position data today.

On-chain transactions

Earn deposit and withdraw

REST API: Request unsigned transactions or instructions for deposit, withdraw, mint, and redeem. See the Earn API reference for deposit, withdraw, mint, redeem and deposit-instructions, withdraw-instructions, mint-instructions, redeem-instructions endpoints. Lend SDK: Build instructions directly:

Borrow operations

Borrow API and SDK flows for create-position, deposit, borrow, repay, withdraw, and liquidate are documented in the Borrow operations pages. Borrow API endpoints are coming soon.

Summary

Use the REST API for quick integration, earnings data, and unsigned transactions from any backend. Use the Read SDK for on-chain Earn and Borrow data (tokens, positions, vaults). Use the Lend SDK for transaction instruction building and full control over transaction flow.

API reference (Earn)

Deposit, withdraw, mint, redeem, tokens, positions, earnings

Read SDK

On-chain Earn and Vault data

Lend SDK

Instruction builders for Earn and Borrow

Jupiter Lend Programs

Jupiter Lend on-chain programs