82trust / 100
Rates Defi Spread
by Market Intelligence API in Onchain & crypto
x402 APIPassing, checked 4 h ago
DeFi lending rates vs Treasury yields: USDC supply and borrow APR on Aave v3 across five chains, read on chain, against the 3-month T-bill, with the spread and what it says about on-chain leverage demand. Use to compare DeFi and TradFi dollar yields.
GET https://api.marketintelligenceapi.com/api/v1/rates/defi-spread
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 52 ms typical, 52 ms slowest 5%
- Last check
- 4 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/rates/defi-spread"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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.marketintelligenceapi.com%2Fapi%2Fv1%2Frates%2Fdefi-spread
const res = await pay("https://api.marketintelligenceapi.com/api/v1/rates/defi-spread");
console.log(await res.json());Example output
{
"averageSpreadBps": -92,
"averageUsdcSupplyAprPercent": 3.32,
"markets": [
{
"chain": "base",
"protocol": "aave_v3",
"spreadVs3mBillBps": -27,
"supplyAprPercent": 3.97,
"variableBorrowAprPercent": 4.89
}
],
"signal": "TREASURY_PREMIUM",
"treasury3mPercent": 4.24
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 52 ms | $0.01 |