The Yield Aggregator requires the
yield product flag. Check GET /config/products (authenticated) before integrating.Supported providers
| Provider | ID | Description |
|---|---|---|
| Jupiter Lend | jupiter_lend | Lending markets on Jupiter |
| Kamino | kamino | Kamino vault lending |
GET /yield/strategies to list live strategies, APY, TVL, and token metadata. Cache this response for up to 10 hours.
Typical flow
Discover strategies
GET /yield/strategies — all strategies.GET /yield/strategies/:symbol — filter by token symbol (e.g. USDC).Build an operation
- Deposit:
POST /yield/deposit - Withdraw:
POST /yield/withdraw - Rebalance:
PATCH /yield/rebalance
Sign the transaction
Sign the base64 wire returned in
data.transaction (or data.details.transaction for rebalance) with the user’s wallet.Broadcast (your choice)
Option A — Your RPC: send the signed transaction with your own Solana RPC (public or private).Option B — StarkFi yield broadcast: submit via
POST /yield/broadcast if you prefer not to operate a private RPC. StarkFi relays and confirms the transaction for you.Track earnings
GET /yield/earnings — live protocol balance for a wallet, asset, and provider.Deposit fees
Deposit builds may include StarkFi and whitelabel fees embedded in the transaction. The response includes:charged_starkfi_fee_amountcharged_whitelabel_fee_amountstarkfi_fee_percentage_appliedused_yield_starkfi_custom_fee
Rebalance modes
Cross-protocol rebalance sendsprovider_out (withdraw leg) and provider_in (deposit leg):
provider field instead. The response returns an unsigned transaction in details.transaction with mode: single_transaction when instructions fit in one packet.
Rebalance opportunities
GET /yield/rebalance-opportunities compares APY across providers for a token.
.png?fit=max&auto=format&n=I_v6ul4JDafNKFQP&q=85&s=f0ad25536f8a3ca42331fcff88ab2b26)