81trust / 100

Markets Yields

by DeFi yields and lending rates in Markets & finance

x402 APIPassing, checked 2 h ago

DeFi yields and lending rates, live APY ($0.002): supply and borrow APY, utilization and USD size of every Aave v3 (Ethereum, Base, Arbitrum, Optimism, Polygon), Spark and Compound v3 market, read on chain every 10 minutes, highest supply APY first, with the best USDC, USDT, WETH, WBTC and DAI rate. Filter by asset (or stablecoins), chain, protocol and minimum TVL. Use to find where idle stablecoins or ETH earn most.

GET https://api.marketintelligenceapi.com/api/v1/markets/yields

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
51 ms typical, 51 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://api.marketintelligenceapi.com/api/v1/markets/yields"
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%2Fapi.marketintelligenceapi.com%2Fapi%2Fv1%2Fmarkets%2Fyields
const res = await pay("https://api.marketintelligenceapi.com/api/v1/markets/yields");
console.log(await res.json());

Example output

{
  "bestSupplyByAsset": {
    "USDC": {
      "chain": "base",
      "protocol": "compound_v3",
      "supplyApyPercent": 6.14
    }
  },
  "markets": [
    {
      "asset": "USDC",
      "borrowApyPercent": 7.6,
      "chain": "base",
      "protocol": "compound_v3",
      "stablecoin": true,
      "status": "ACTIVE",
      "supplyApyPercent": 6.14,
      "totalBorrowedUsd": 8775388,
      "totalSuppliedUsd": 9653893,
      "utilizationPercent": 90.9
    }
  ],
  "matching": 1
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40254 ms$0.002
7 h agoPassed40251 ms$0.002