Skip to main content
GET
Get a loan

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Universally unique identifier (UUID v4) of a resource.

Example:

"b3d9d2d5-4c12-4946-a09d-953e82fae2b0"

Response

Successfully retrieved a loan.

data
object

A borrow position on a lending protocol. You can hold at most one borrow position per lending market on each protocol. Position values (oraclePrice, ltv, healthFactor, borrowApy, and amounts) reflect the most recent LTV monitoring snapshot. These values are not read live from the blockchain.

Example: