In the yield category, we encompass various passive income-generating
activities in DeFi. This includes lending (where users earn interest by
providing liquidity), investing in yield-generating vaults (which
automatically compound returns), and staking (where users lock tokens to earn
rewards).
Introduction
Authentication
Every request requires:- The key identifies your customer. Fee configuration and strategy catalog are scoped to it.
- Success responses are the bare JSON body (HTTP 200). Errors use
{ "error": { "code", "message", "details?" } }. - Keep the API key on your backend β never expose it in a browser app.
Integration flow
1
Get Available Protocols
First, retrieve the list of all supported protocols:
2
Query Protocol Details
Then, fetch specific protocol information using:Required Parameters:Full guide: Get available protocols.
Example Request:
3
Deposit
Generate deposit bytecode, then execute the returned
bytecode[] on-chain (batch legs on the same chain into one atomic transaction):4
Track deposit status
Same-chain deposits confirm with the on-chain receipt. Cross-chain deposits settle asynchronously β poll with the Full guide: Deposit to Yield.
id from the deposit bytecode response until it completes:5
Check open positions
Read the walletβs live positions β principal, profit, and any pending requests:Full guide: Check Positions.
6
Withdraw
Generate withdraw bytecode, then execute it on-chain. Cross-chain withdrawals are async β track them via Full guide: Withdraw from Yield.
GET /actions/:id:UI Integration Example

Next Steps
Get available protocols
List strategies and read a strategyβs details
Deposit to Yield
Execute a deposit into a yield protocol