81trust / 100

Markets Usdc Yield

by USDC yield in Markets & finance

x402 APIPassing, checked 37 min ago

USDC yield, best lending rates now ($0.002): supply and borrow APY of USDC on every Aave v3, Spark and Compound v3 market (Ethereum, Base, Arbitrum, Optimism, Polygon), utilization and size, highest APY first, read on chain every 10 minutes. Use to park idle USDC.

GET https://api.marketintelligenceapi.com/api/v1/markets/usdc-yield

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
51 ms typical, 51 ms slowest 5%
Last check
37 min 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/usdc-yield"
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%2Fusdc-yield
const res = await pay("https://api.marketintelligenceapi.com/api/v1/markets/usdc-yield");
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
37 min agoPassed402140 ms$0.002
6 h agoPassed40251 ms$0.002