82trust / 100

Loan Markets

by Ozmium Agent API in Markets & finance

x402 APIPassing, checked 2 h ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
117 ms typical, 117 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://ozmium.org/v1/loan/markets"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fozmium.org%2Fv1%2Floan%2Fmarkets
const res = await pay("https://ozmium.org/v1/loan/markets");
console.log(await res.json());

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402938 ms$0.001
7 h agoPassed402117 ms$0.001