R

RatesPulse · Rates

by RatesPulse

GETBaseSolana

$0.05

per call · USD Coin on Base

US bond-market signal: yield curve, credit spreads, real yields (no params)

Endpoint

GET https://rates.lonestaroracle.xyz/rates

5

Calls / 30d

3

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://rates.lonestaroracle.xyz/rates", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://rates.lonestaroracle.xyz/rates" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "credit": {
    "hy_oas_bps": 270,
    "hy_pctile_1y": 8,
    "hy_wow_change_bps": 0,
    "ig_oas_bps": 81,
    "stress": "calm"
  },
  "curve": {
    "recession_flag": false,
    "s2s10s_bps": 52,
    "s3m10y_bps": 85,
    "status": "normal",
    "trend": "steepening",
    "yields_pct": {
      "10y": 4.72,
      "2y": 4.19,
      "30y": 5.31,
      "3m": 3.87
    }
  },
  "inflation": {
    "breakeven_10y_pct": 2.3,
    "read": "real_yields_elevated",
    "real_yield_10y_pct": 2.44
  },
  "policy": {
    "fed_funds_pct": 3.63
  },
  "signal": "expansion",
  "source": "Federal Reserve Economic Data (FRED)",
  "summary": "10Y-2Y positive at +52bps (steepening); credit calm (HY 270bps, 8th pct of 1yr); 10Y real yield 2.44%. Regime: expansion."
}

Payment details

Pay to0x52ab53912d37759b2ad364f22dd06b16714b6c06
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of DeFi and the homepage with a featured placement.

Get featured →

More from RatesPulse & similar services