v1
latestOpenAPI 3.0.02026-07-2442138225.7 KBPositions
Positions
Get user positions
Retrieve all supply and borrow positions for a user address across specified integration and network.
get/v1/positions
Query parameters
integrationIdstring required
Example:aave-borrow
Integration identifier
network'ethereum' | 'ethereum-goerli' | 'ethereum-holesky' | 'ethereum-sepolia' | 'ethereum-hoodi' | 'arbitrum' | 'base' | 'base-sepolia' | 'gnosis' | 'optimism' | 'polygon' | 'polygon-amoy' | 'starknet' | 'zksync' | 'linea' | 'unichain' | 'monad-testnet' | 'monad' | 'robinhood' | 'robinhood-testnet' | 'avalanche-c' | 'avalanche-c-atomic' | 'avalanche-p' | 'binance' | 'celo' | 'fantom' | 'harmony' | 'moonriver' | 'okc' | 'viction' | 'core' | 'sonic' | 'plasma' | 'katana' | 'hyperevm' | 'tempo' | 'pharos' | 'agoric' | 'akash' | 'axelar' | 'band-protocol' | 'bitsong' | 'canto' | 'chihuahua' | 'comdex' | 'coreum' | 'cosmos' | 'crescent' | 'cronos' | 'cudos' | 'desmos' | 'dydx' | 'evmos' | 'fetch-ai' | 'gravity-bridge' | 'injective' | 'irisnet' | 'juno' | 'kava' | 'ki-network' | 'mars-protocol' | 'nym' | 'okex-chain' | 'onomy' | 'osmosis' | 'persistence' | 'quicksilver' | 'regen' | 'secret' | 'sentinel' | 'sommelier' | 'stafi' | 'stargaze' | 'stride' | 'teritori' | 'tgrade' | 'umee' | 'sei' | 'mantra' | 'celestia' | 'saga' | 'zetachain' | 'dymension' | 'humansai' | 'neutron' | 'polkadot' | 'kusama' | 'westend' | 'bittensor' | 'aptos' | 'binancebeacon' | 'cardano' | 'near' | 'solana' | 'solana-devnet' | 'stellar' | 'stellar-testnet' | 'sui' | 'tezos' | 'tron' | 'ton' | 'ton-testnet' | 'hyperliquid' required
Example:ethereum
Network
addressstring required
Example:0x742d35Cc6634C0532925a3b844Bc9e7595f8fB28
User wallet address
Response
User positions retrieved successfully
Example response
{
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f8fB28",
"integrationId": "aave-borrow",
"network": "ethereum",
"totalSuppliedUsd": "5000.00",
"totalCollateralUsd": "4200.00",
"totalBorrowedUsd": "2000.00",
"netWorthUsd": "3000.00",
"healthFactor": "1.85",
"currentLtv": "0.55",
"availableToBorrowUsd": "1500.00",
"netApy": "2.34",
"supplyBalances": [
{
"marketId": "aave-v3-ethereum-usdc",
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"tokenSymbol": "USDC",
"balance": "1000.00",
"balanceRaw": "1000000000",
"balanceUsd": "1000.00",
"apy": "3.45",
"isCollateral": true,
"positionState": {
"currentLtv": "0.1980",
"liquidationThreshold": "0.8600",
"healthFactor": "4.3430",
"availableToBorrowUsd": "2.01"
},
"pendingActions": [
{
"type": "withdraw",
"label": "Withdraw USDC",
"args": {
"amount": "1.5",
"amountRaw": "1500000",
"repayAll": true,
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"collateralTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"collateralAmount": "0.5",
"collateralAmountRaw": "50000000",
"borrowAmount": "100",
"targetLtv": "0.1",
"marketId": "morpho-blue-borrow-base-cbbtc-usdc-86"
}
}
]
}
],
"debtBalances": [
{
"marketId": "aave-v3-ethereum-weth",
"tokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"tokenSymbol": "WETH",
"balance": "0.5",
"balanceRaw": "500000000000000000",
"balanceUsd": "1500.00",
"apy": "5.67",
"pendingActions": [
{
"type": "withdraw",
"label": "Withdraw USDC",
"args": {
"amount": "1.5",
"amountRaw": "1500000",
"repayAll": true,
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"collateralTokenAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"collateralAmount": "0.5",
"collateralAmountRaw": "50000000",
"borrowAmount": "100",
"targetLtv": "0.1",
"marketId": "morpho-blue-borrow-base-cbbtc-usdc-86"
}
}
]
}
]
}