Skip to main content
GET
Returns current liquidity, borrows, utilization, rates, and liquidation counters read from the chain at request time. This is the endpoint to poll for a live market dashboard.

Path Parameters

string
required
Market ID.

Response Fields

object

Rate offering

Present when the market’s interest model could be read. These describe how the market prices, not what it currently charges.
object

Terms and exit

object

Liquidity routing and operator fees

object
When the RPC is unavailable the endpoint returns 200 with isOnChain: false rather than an error status. Branch on isOnChain before rendering any figure.paused is null, never false, when the pause flag could not be read. Rendering the default told an operator that a paused market was live for a poll cycle.

Rate Derivation

borrowRate is taken from the market’s interest model when the contract reports a non-zero rate, and computed from the current utilization curve otherwise. supplyRate is borrowRate * utilization * lpFactor, where lpFactor is the share of borrow interest that reaches the liquidity providers. The chain answers for that share, as the product of three deductions: the Trusset infrastructure fee, the operatorShare the deployment offered the lender of record, and the market’s own protocolFeeRate. A market that offers the operator nothing and charges no protocol fee passes almost all of it through. 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, and it is the only case in which the historical 25 percent figure applies. All rates are basis points, so divide by 100 to get a percentage.
On a market whose model stamps a fixed rate, borrowRate still describes the pool as a whole. What a new loan would actually be charged is fixedStampRateBps, and what an existing loan is charged was stamped when it opened. The three can all differ.