v1
latestOpenAPI 3.1.02026-07-24223580832.9 KBGet User Positions
Deliver a comprehensive snapshot of your active lending and borrowing positions across supported markets. The response details each position’s collateral (such as aTokens and underlying assets), balance scales, and collateral usage status, offering a clear picture of your overall exposure and risk profile.
💡 Compute Unit Value: 115 (Fixed)
Query parameters
Public address of the sender.
Public address of the sender.
The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.
The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.
A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.
A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.
Comma-separated list of token addresses to filter specific assets. If omitted, data for all supported assets will be returned.
Comma-separated list of token addresses to filter specific assets. If omitted, data for all supported assets will be returned.
A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools.
A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools.
Specifies the market Id of any market in Morpho.
Specifies the market Id of any market in Morpho.
Specifies the vaultAddress of any vault in Morpho.
Specifies the vaultAddress of any vault in Morpho.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": [
{
"underlyingAsset": "0xf97f4df75117a78c1A5a0DBb814Af92458539FB4",
"scaledATokenBalance": "1894191440211515",
"usageAsCollateralEnabledOnUser": true,
"aToken": "0x191c10Aa4AF7C30e871E70C95dB0E4eb77237530",
"currentBalance": "1903493736006277",
"rewardsAPYPercentage": "0.00",
"accruedRewards": "9302295794762",
"estimatedSupplyAPY": "1.03",
"prices": {
"usd": [
{
"0xf97f4df75117a78c1a5a0dbb814af92458539fb4": "14.280231987048252"
}
]
}
}
]
}