Get User Positions
GET/positions
Retrieve all DeFi positions for a wallet address, including vault balances and USDC balance.
Request
Query Parameters
The legacy
POST /positions form with the same fields in a JSON body remains
available for backward compatibility. New integrations should use GET.Response
Response Fields
Position Object
For ERC-4626 vaults such as Morpho, Euler, and Fluid,
balance is the underlying asset value while shareBalance is the vault-share amount. To withdraw, pass balanceRaw — an underlying amount, not shares — as amount to the Calldata API, or amount=max to exit the position in full.TypeScript Example
Next Steps
Instruments API
Query DeFi instruments