Ozmium Agent API · Loan Markets

by Ozmium Agent API

GETBase

$0.001

per call · USD Coin on Base

Every listed Morpho Blue market on Base: marketId, full MarketParams (loanToken, collateralToken, oracle, irm, lltv- the id is re-derived and asserted, wrong-market proof), live borrow APY, and LLTV. The input universe for /v1/tx/loan. GET /v1/loan/markets.

Endpoint

GET https://ozmium.org/v1/loan/markets

39

Calls / 30d

9

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://ozmium.org/v1/loan/markets", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://ozmium.org/v1/loan/markets" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "markets": [
      {
        "borrowApy": 0.048,
        "lltv": 0.86,
        "marketId": "0x8793cf302b8ffd655ab97bd1c695dbd967807e8367a65cb2f4edaf1380ba1bda"
      }
    ]
  },
  "network": "eip155:8453"
}

Payment details

Pay to0x53a05c0eed6cbf065f31aedbae7b0d8ce1a0f4db
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of DeFi and the homepage with a featured placement.

Get featured →

More from Ozmium Agent API & similar services