---
title: "Get User Positions"
method: GET
path: "/defi/v1/lendborrow/getuserpositions"
tags: ["lendborrow"]
---

# Get User Positions

`GET /defi/v1/lendborrow/getuserpositions`

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

- `address` string, required — Public address of the sender.
- `lendborrowId` '1000' | '1003' | '1005' | '1200' | '1202' | '1203' | '1204' | '1205' | '1206' | '1207' | '1100' | '1300' | '1302' | '1400' | '1401' | '1402' | '1403' | '1404' — The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.
- `vsCurrencies` string — 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.
- `assets` string — Comma-separated list of token addresses to filter specific assets. If omitted, data for all supported assets will be returned.
- `useCustomVaults` boolean — 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.
- `marketId` string — Specifies the market Id of any market in Morpho.
- `vaultAddress` string — Specifies the vaultAddress of any vault in Morpho.

## Response `200`

Successful response

- object
  - `status` number
  - `msg` string
  - `data` union
    - object
      - `tokenAddress` string
      - `repayAmount` string
      - `borrowAmount` string
      - `withdrawAmount` string
      - `borrowErrorMessage` string
      - `healthFactor` string, required
      - `isHealthy` boolean
      - `loanToken` string
      - `collateralToken` string
      - `prices` object, required
    - object[]
      - `aToken` string
      - `cToken` string
      - `tokenAddress` string
      - `underlyingAsset` union, required
        - string
        - string[]
      - `usageAsCollateralEnabledOnUser` boolean, required
      - `scaledATokenBalance` string
      - `scaledCTokenBalance` string
      - `baseTokenBalance` string
      - `currentBalance` string
      - `scaledVariableDebt` string
      - `currentDebt` string
      - `interestAPRPercentage` string
      - `accruedInterest` string
      - `rewardsAPYPercentage` string
      - `estimatedSupplyAPY` string
      - `estimatedStableBorrowAPY` string
      - `estimatedVariableBorrowAPY` string
      - `accruedRewards` string
      - `prices` object, required
    - object
      - `collateralToken` string, required
      - `loanToken` string, required
      - `supplyShares` string, required
      - `borrowShares` string, required
      - `estimatedSupplyAPY` string, required
      - `estimatedVariableBorrowAPY` string, required
      - `collateral` string, required
      - `usageAsCollateralEnabledOnUser` string, required
      - `prices` object, required
    - union[]
      - union
        - object
          - `vaultAddress` string, required
          - `underlyingAsset` string, required
          - `supplyAmount` string, required
          - `supplyShares` string, required
          - `currentBalance` string, required
          - `estimatedSupplyAPY` string, required
          - `scaledATokenBalance` string, required
          - `accruedRewards` string, nullable, required
          - `rewardsAPYPercentage` string, nullable, required
          - `usageAsCollateralEnabledOnUser` boolean, required
          - `curators` string[], required
          - `prices` object, required
        - object
          - `marketId` string, required
          - `underlyingAsset` string, nullable, required
          - `collateralToken` string, nullable, required
          - `loanToken` string, required
          - `supplyShares` string, required
          - `borrowShares` string, required
          - `currentBalance` string, required
          - `scaledATokenBalance` string, required
          - `currentDebt` string, required
          - `scaledVariableDebt` string, required
          - `accruedRewards` string, nullable, required
          - `accruedInterest` string, nullable, required
          - `rewardsAPYPercentage` string, nullable, required
          - `interestAPRPercentage` string, nullable, required
          - `estimatedSupplyAPY` string, required
          - `estimatedVariableBorrowAPY` string, required
          - `collateral` string, required
          - `usageAsCollateralEnabledOnUser` boolean, required
          - `prices` object, required

---

[API](https://skmtc.dev/blockdaemon/apis/staking-api.md) · [All operations](https://skmtc.dev/blockdaemon/apis/staking-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/blockdaemon/staking-api/revisions/f94e296a08a3/schema)
