Prerequisites:
Retrieve Current Positions
Use the following endpoint to retrieve all the current yield positions of an address:| Parameter | Description | Example |
|---|---|---|
| wallet | Wallet address | 0x1234567890123456789012345678901234567890 |
Response Format
The response returns an array of yield positions with spot performance data and the full strategy object for each. Example Response:Understanding the Response
spotPosition.currentPosition
spotPosition.currentPosition
Raw balance as a BigInt string in the token’s smallest unit (e.g.
"10000000" = 10 USDC)spotPosition.underlyingBalanceUSD
spotPosition.underlyingBalanceUSD
USD value of the position
spotPosition.profit
spotPosition.profit
Current gain or loss of the position relative to the cost basis still invested, taking into account adjustments such as partial withdrawals. This reflects the true economic result of the open position — what the client has effectively earned on the capital that remains deployed.
spotPosition.cumulativeProfit
spotPosition.cumulativeProfit
A simpler accumulated view of the overall result: the current position value minus the total net amount moved by the client (deposits minus withdrawals). This does not adjust for the changing cost basis and gives a straightforward picture of how much value has been generated since inception.
spotPosition.apy / avgApy / inceptionApy
spotPosition.apy / avgApy / inceptionApy
apy: Current APY as a decimal (e.g.0.0417= 4.17%)avgApy: Time-weighted average APY since inceptioninceptionApy: APY since the strategy launched
strategy
strategy
Full strategy object (same shape as
GET /strategies/:id) including protocol, network, asset details, and feesummary.totalUnderlyingBalanceUSD
summary.totalUnderlyingBalanceUSD
Total portfolio value in USD across all positions
UI Integration Example

Next Steps
Withdraw
Learn how to withdraw from a position
New Deposit
Open a new yield position