Skip to main content
GET
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

offset
integer
default:0

The offset of the first item to return.

limit
integer
default:100

The number of items to return.

Required range: x <= 1000
chain
enum<string>
default:ethereum
required
Available options:
arbitrum,
base,
bsc,
ethereum,
hyperevm,
tempo
order_by
enum<string>
default:tvl_usd

Field to order the markets by before paginating. Columns the Morpho markets list can be ordered by. All are stored by the indexer, so ordering + paging happen on the DB set before the (expensive) per-market on-chain enrichment — only the requested page is read on-chain.

Available options:
tvl_usd,
liquidity_usd,
lltv
direction
enum<string>
default:desc

Order direction (asc/desc).

Available options:
asc,
desc

Response

Successful Response

A page of Morpho Blue lending markets, ordered + paginated on the DB set; each returned market is enriched with live on-chain LLTV/APY/utilisation.

total
integer
required
offset
integer
required
limit
integer
required
morpho
string
required

Morpho Blue singleton contract the markets were read from.

markets
MorphoLendingMarket · object[]

This page of lending markets (already ordered) with live LLTV, APYs, utilization, and liquidity. total is the full market count.

Example: