80trust / 100

Rates

by RatesPulse in Markets & finance

x402 APIPassing, checked 1 h ago

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

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
410 ms typical, 410 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://rates.lonestaroracle.xyz/rates"
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%2Frates.lonestaroracle.xyz%2Frates
const res = await pay("https://rates.lonestaroracle.xyz/rates");
console.log(await res.json());

Example output

{
  "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."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402481 ms$0.05
7 h agoPassed402410 ms$0.05