BlockchainLive

Risk Spread API

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.

$0.1035USDC per call · settled on Base · no subscription, no API key

Overview

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.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/risk-spread-2602$0.1035Invoke Risk Spread (Blockchain) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://jarvisclaw.ai/v1/marketplace/api/risk-spread-2602

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://jarvisclaw.ai/v1/marketplace/api/risk-spread-2602
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs