DeFi Positions

Returns a wallet's live DeFi positions across all supported protocols
(lending/borrowing, liquidity pools, perps/margin, limit orders & DCA,
staking, rewards, vesting, and more).

The response is a flat list of self-contained position "elements" under
data.portfolio — there is no platform grouping. Each element is typed by
its type field (borrowlend | liquidity | leverage | trade |
multiple), which determines the shape of its nested data, and carries its
own platformId, networkId, value (USD, nullable when unpriced), and
label. To reconstruct a per-platform view, group elements by platformId
client-side and sum value per group.

Use this to render a wallet's complete DeFi portfolio in one call. Integrators
should switch on element.type and default-handle unknown types gracefully so
newly added position kinds don't break parsing.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The public key (pubKey) associated with the Solana account.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json