GET
/
v1
/
morpho
/
markets
Typescript (SDK)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await compassApiSDK.morpho.morphoMarkets({});

  console.log(result);
}

run();
{
  "markets": [
    {
      "uniqueKey": "<string>",
      "lltv": 123,
      "oracleAddress": "<string>",
      "irmAddress": "<string>",
      "state": {
        "borrowApy": 123,
        "borrowAssets": 123,
        "borrowAssetsUsd": 123,
        "supplyApy": 123,
        "supplyAssets": 123,
        "supplyAssetsUsd": 123,
        "fee": 123,
        "utilization": 123
      },
      "weeklyApys": {
        "supplyApy": 123,
        "netSupplyApy": 123,
        "borrowApy": 123,
        "netBorrowApy": 123
      },
      "collateralAsset": {
        "address": "<string>",
        "symbol": "<string>",
        "name": "<string>",
        "decimals": 123
      },
      "loanAsset": {
        "address": "<string>",
        "symbol": "<string>",
        "name": "<string>",
        "decimals": 123
      }
    }
  ]
}

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
collateral_token
default:USDC

Collateral token to identify the market. A class representing the token.

This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.

Available options:
1INCH,
AAVE,
AERO,
ARB,
BAL,
BNKR,
cbBTC,
cbETH,
CLANKER,
COPI,
CRV,
crvUSD,
CYBER,
DAI,
DOGINME,
eBTC,
ENS,
ETH,
ETHFI,
ETHx,
EURC,
EUR,
EURS,
eUSDe,
ezETH,
FBTC,
FRAX,
FXS,
GHO,
KNC,
LBTC,
LDO,
LINK,
LsETH,
LUSD,
MAI,
MKR,
osETH,
PT-eUSDE-14AUG2025,
PT-eUSDE-29MAY2025,
PT-sUSDE-25SEP2025,
PT-sUSDE-31JUL2025,
PT-USDe-31JUL2025,
PYUSD,
rETH,
RLUSD,
RPL,
rsETH,
sDAI,
SNX,
STG,
sUSDe,
tBTC,
UNI,
USDbC,
USDCe,
USDC,
USDe,
USDS,
USDtb,
USDT,
VIRTUAL,
WBTC,
weETH,
WELL,
WETH,
wrsETH,
wstETH
loan_token
default:WETH

Loan token to identify the market. A class representing the token.

This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.

Available options:
1INCH,
AAVE,
AERO,
ARB,
BAL,
BNKR,
cbBTC,
cbETH,
CLANKER,
COPI,
CRV,
crvUSD,
CYBER,
DAI,
DOGINME,
eBTC,
ENS,
ETH,
ETHFI,
ETHx,
EURC,
EUR,
EURS,
eUSDe,
ezETH,
FBTC,
FRAX,
FXS,
GHO,
KNC,
LBTC,
LDO,
LINK,
LsETH,
LUSD,
MAI,
MKR,
osETH,
PT-eUSDE-14AUG2025,
PT-eUSDE-29MAY2025,
PT-sUSDE-25SEP2025,
PT-sUSDE-31JUL2025,
PT-USDe-31JUL2025,
PYUSD,
rETH,
RLUSD,
RPL,
rsETH,
sDAI,
SNX,
STG,
sUSDe,
tBTC,
UNI,
USDbC,
USDCe,
USDC,
USDe,
USDS,
USDtb,
USDT,
VIRTUAL,
WBTC,
weETH,
WELL,
WETH,
wrsETH,
wstETH

Response

200
application/json

Successful Response

The response is of type object.