Skip to main content
GET
Returns current liquidity, borrows, utilization, rates, fee balances and liquidation counters read from the chain at request time. This is the endpoint to poll for a live market dashboard. A healthy read is shared for up to 15 seconds, and any successful write request drops it, so the next poll after a write reads the chain again.
When the chain is unavailable the endpoint returns 200 with isOnChain: false rather than an error status, and every figure is a placeholder: zeros, and a borrowRate of "200". Branch on isOnChain before rendering any figure.paused is null, never false, when the pause flag could not be read. Rendering null as false can show a paused market as live.

Path Parameters

string
required
The market’s record ID, as id on List Markets, not its contract address. See Market IDs.

Response Fields

object

Rate offering

Present when the market’s interest model could be read. These describe how the market prices new loans.
object

Terms and exit

object

Liquidity routing

object
Gate a borrow control on borrowableLiquidity plus, on a market with useVaultLiquidity, what its vaults can still draw. Open Loan checks both before it returns calldata and refuses a loan neither can fund with INSUFFICIENT_LIQUIDITY.

Fees

object
These are balances waiting on the market, and anyone may sweep them. See Sweep Operator Fees, Sweep Distributor Fees, Sweep Protocol Fees and Sweep Infrastructure Fees. The split itself is on Get Fee Split.

Rate Derivation

The interest model’s rate at the current utilization is curveBorrowRate. When the contract reports a zero rate, it is computed from a default curve instead. borrowRate is that figure, unless the model stamps a fixed rate onto new loans, in which case it is the stamp. supplyRate is borrowRate * utilization * lpFactor, where lpFactor is the share of repaid interest that reaches the liquidity providers. The chain answers for that share. On a FIXED_SHARES market the 15 percent Trusset infrastructure fee comes off first. The 8 percent operator share and the 5 percent distributor share are taken from the remainder, and the market’s protocolFeeRate from what is left after them. On an OFFERED_SHARE market the operator share offered at deployment takes the place of the two fixed shares. When the chain has never answered for the factor, the calculation falls back to a flat 0.75. That is an estimate, not the market’s economics. All rates are basis points, so divide by 100 to get a percentage.
On a FIXED market an outstanding loan pays the rate stamped when it opened. That can differ from today’s stamp if the rate model owner has changed it since. borrowRate and fixedStampRateBps describe the loan that would open now.

Error Codes