Skip to main content
GET
Returns every active market deployed under the instance bound to your API key. Archived and inactive markets are excluded. The stored aggregates are served by default and onChain is null. Live per-market state is opt-in through includeOnChain, because enriching a list runs a full position sync per market and turns a list read into an unbounded chain scan. For live state on a single market, prefer Get Market or Get Market Metrics. When enrichment is requested it is still best effort. If the RPC is unreachable for a given market, onChain comes back null and the stored fields are served regardless. Always check onChain before reading from it.

Query Parameters

boolean
default:"false"
Set to true to read live contract state for every market in the list. Any other value leaves onChain as null.

Response Fields

object

Lender of record

array

Rate and term offering

Fixed at deployment and healed from the chain whenever the market is read. All rate values are basis-point strings, all durations are strings of seconds.
array

Oracle staleness

Read once per oracle across the whole list and attached to every market, so the list is safe to poll.
array
Database totals on the market record are refreshed after write operations executed through this API. Treat the onChain block as authoritative for live figures.