DeFi Positions
getAaveV3UserPositions
Returns a user's full Aave V3 position: collateral assets, debt, health factor, net worth, and liquidation status. Reads directly from on-chain Pool + ProtocolDataProvider contracts.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
address | string |
totalCollateralUsd | number |
totalDebtUsd | integer |
netWorthUsd | number |
healthFactor | number |
ltv | number |
reserves | object[] |
symbol | string |
balance | string |
balanceUsd | integer |
isCollateral | boolean |
Supported Networks
getAaveV2UserPositions
Returns a user's Aave V2 position: collateral assets, debt, health factor, and liquidation threshold. Important: fields named totalCollateralUsd/totalDebtUsd are actually denominated in ETH (not USD) - Aave V2 returns ETH-based values.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
address | string |
totalCollateralUsd | number |
totalDebtUsd | number |
healthFactor | number |
ltv | number |
supplies | object[] |
symbol | string |
address | string |
balance | string |
borrows | object[] |
symbol | string |
address | string |
balance | string |
Supported Networks
getCompoundV3UserPositions
Returns a user's Compound V3 (Comet) positions across all markets on a chain. Includes supply/borrow balances, collateral assets, USD values, and liquidation status.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
address | string |
markets | object[] |
marketName | string |
marketAddress | string |
baseToken | object |
symbol | string |
address | string |
decimals | integer |
supplyBalance | string |
borrowBalance | string |
collateral | array |
isLiquidatable | boolean |
Supported Networks
getCompoundV2UserPositions
Returns a user's Compound V2 positions across cToken markets. Note: Compound V2 is deprecated (borrows/mints paused Dec 2025) - users may still have existing positions.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
address | string |
markets | object[] |
cTokenSymbol | string |
cTokenAddress | string |
underlyingSymbol | string |
underlyingAddress | string |
underlyingDecimals | integer |
supplyBalance | string |
borrowBalance | string |
Supported Networks
getMorphoUserPositions
Returns a user's Morpho Blue positions across hardcoded markets. Shows supply/borrow share-to-asset conversions, collateral deposits, and market parameters (LLTV, oracle). Only detects positions in the listed markets.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
address | string |
markets | object[] |
marketId | string |
loanToken | object |
symbol | string |
address | string |
decimals | integer |
collateralToken | object |
symbol | string |
address | string |
decimals | integer |
supplyShares | string |
supplyAssets | string |
borrowShares | string |
borrowAssets | string |
collateral | string |
lltv | integer |
Supported Networks
getLidoUserPositions
Returns stETH and wstETH balances with ETH-equivalent values and live exchange rates. Full stETH + wstETH data on Ethereum; wstETH balance only on L2s (bridged token). Note: stakingApr is hardcoded at 3.5%.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
address | string |
stETH | object |
balance | string |
balanceEth | string |
wstETH | object |
balance | string |
balanceStEth | string |
balanceEth | string |
exchangeRates | object |
stEthPerWstEth | string |
wstEthPerStEth | string |
totalEthEquivalent | string |
stakingApr | number |
Supported Networks
getCurvePools
Returns data for 3 hardcoded Curve pools only. Does not discover pools dynamically.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
pools | object[] |
name | string |
address | string |
virtualPrice | string |
coins | object[] |
address | string |
balance | string |
amplification | string |
fee | string |
Supported Networks
getCurveLlamaLendMarkets
Returns all Curve LlamaLend (OneWay Lending) vault markets on a chain. Shows vault name, symbol, underlying asset, total deposits and shares.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
markets | object[] |
vaultAddress | string |
name | string |
symbol | string |
assetAddress | string |
totalAssets | string |
totalSupply | string |
Supported Networks
getCurveLlamaLend
Returns a user's Curve LlamaLend positions across all OneWay Lending vaults. Shows vault shares and their equivalent underlying asset value.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
address | string |
markets | object[] |
vaultAddress | string |
name | string |
symbol | string |
assetAddress | string |
totalAssets | string |
totalSupply | string |
positions | object[] |
vaultAddress | string |
name | string |
shares | string |
assets | string |
Supported Networks
getPendleV2Info
Returns Pendle V2 router and routerStatic contract addresses for a chain only - does NOT return user positions or market data.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
Response Fields
| Field | Type |
|---|---|
data | object |
chain | string |
routerAddress | string |
routerStaticAddress | string |
supportedChains | string[] |
Supported Networks
getDefiSummary
Aggregates positions across 7 protocols in parallel. Returns per-protocol status (ok/error/unsupported) with positions or error details.
Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| address | yes | Wallet address e.g. 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
Response Fields
| Field | Type |
|---|---|
data | object |
address | string |
chain | string |
timestamp | string |
protocols | object[] |
protocol | string |
status | string |
data | object |
totalCollateralUsd | number |