Api Endpoint

DeFi vs Risk-Free Rate Spread Analyzer

Credit-analyst primitive for agents: compares live top stablecoin DeFi yields (DefiLlama) against the official US Treasury Bill rate (US Treasury Fiscal Data) in one call. Returns the risk-free rate, top on-chain yields, the spread for each, and a verdict on whether on-chain yield currently compensates above risk-free. TradFi + DeFi combined — no other single endpoint does this.

Open interactive test console

Offering

Provider
store.agentexchange.work
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://store.agentexchange.work/macro/risk-spread
MIME type
Not provided
First seen
2026-10-16T02:00:03.055Z
Last seen
Tags
risk-analysis, credit, DeFi, treasury, yield-spread, Macro, data-feed

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "2147pBT4LxoszjvLeGRxyVzpRnMi986VH3FAoprSs8Ez"
  }
]

Observed health

Status
Healthy
Latest latency
243 ms
Average latency
963 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "min_tvl": {
          "type": "number",
          "description": "Minimum pool TVL USD, default 10000000"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "json",
  "example": {
    "verdict": "ON-CHAIN PREMIUM: top stable yields exceed risk-free by >1%",
    "top_spreads": [
      {
        "pool": "aave-v3-usdc",
        "chain": "Base",
        "apy_pct": 5.2,
        "spread_pct": 1.51
      }
    ],
    "risk_free_source": "US Treasury Bills (official)",
    "risk_free_rate_pct": 3.69
  }
}