Positions & Queries
Get User Loans
List a borrower active loans in a market
GET
Returns every open loan held by one address in one market, read from the contract. Closed, repaid, and fully liquidated loans are excluded.
A borrower can hold several loans in the same market at once. Each is independent, with its own collateral, debt, and health factor, and each is liquidated separately.
Path Parameters
string
required
Market ID.
string
required
Borrower address, 0x-prefixed with 40 hex characters.
Response Fields
object
An empty
loans array means the borrower has no open loans here. It does not distinguish that from a failed chain read, which also returns an empty array. Confirm the market is reachable through Get Market Metrics if an empty result is unexpected.