Skip to main content
GET
Returns a single position record merged with live loan data from the market contract, plus every transaction recorded against it. This is the endpoint behind a position detail view. On-chain values take precedence where a linked onChainLoanId exists. Stored values are used as a fallback when the chain read returns nothing. Unlike List Positions, this read does not write the chain figures back to the record.

Path Parameters

string
required
The market’s record ID, as id on List Markets, not its contract address. See Market IDs.
string
required
Position ID, from List Positions. A position of another market returns POSITION_NOT_FOUND.

Response Fields

object
status is read from the stored record and is not re-derived from chain state here. A loan repaid without a confirm call can still read ACTIVE until the next reconciliation pass. For a live view of whether the loan is open, read active from Get Loan. List Positions also reconciles before it returns.
A printable record of the same loan, with every transaction verified against the chain, is available from Get Position Statement.

Error Codes