Skip to main content
GET
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:base
required
Available options:
arbitrum,
base,
ethereum
unique_market_key
string
default:0x3b3769cfca57be2eaed03fcc5299c25691b77781a1e124e7a8d520eb9a7eabb5
required

The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.

Pattern: ^0x.*

Response

Successful Response

whitelisted
boolean
required

Whether the market is whitelisted or not.

lltv
string
required

(Liquidation Loan-To-Value) Maximum borrowing percentage before liquidation risk. Scaled by 1e18.

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
dailyApys
ApyData · object
required

The daily APYs of the market.

weeklyApys
ApyData · object
required

The weekly APYs of the market.

monthlyApys
ApyData · object
required

The monthly APYs of the market.

yearlyApys
ApyData · object
required

The yearly APYs of the market.

allTimeApys
ApyData · object
required

The all-time APYs of the market.

loanAsset
Asset · object
required

Data of the underlying loan asset of the market.

state
MarketState · object
required

The current state of the Morpho market.

collateralAsset
Asset · object | null

Data of the underlying collateral asset of the market.