40trust / 100

Rates Treasury Yields

by Saylor Innovations Data Desk in Markets & finance

x402 APIFailing, checked 12 h ago

US Treasury yield curve - 1 month to 30 year yields with 1d, 1w, 1m and 1y changes in basis points, 2s10s spread and inversion flag

GET
https://saylorinnovations.com/api/rates/treasury-yields
Price
$0.01
per call in USDC
Uptime
75.9%
last 30 days
Response time
641 ms
1.9 s slowest 5%
Last check
Failed
12 h ago, next in 12 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 12 h ago: Expected HTTP 402, got 404

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://saylorinnovations.com/api/rates/treasury-yields

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

The listing has no example input.

GET https://saylorinnovations.com/api/rates/treasury-yields

Example response

The provider's example. We can't check it without paying.

Example response, 77 lines
{
  "change_bp_1d": {
    "10y": -6,
    "1m": 7,
    "1y": 2,
    "20y": -7,
    "2y": -2,
    "30y": -7,
    "3m": 1,
    "3y": -2,
    "5y": -4,
    "6m": 2,
    "7y": -4
  },
  "change_bp_1m": {
    "10y": 42,
    "1m": 33,
    "1y": 29,
    "20y": 38,
    "2y": 36,
    "30y": 35,
    "3m": 29,
    "3y": 41,
    "5y": 42,
    "6m": 30,
    "7y": 43
  },
  "change_bp_1w": {
    "10y": -2,
    "1m": 8,
    "1y": 0,
    "20y": 0,
    "2y": -3,
    "30y": -1,
    "3m": 6,
    "3y": -6,
    "5y": -2,
    "6m": 3,
    "7y": -1
  },
  "change_bp_1y": {
    "10y": 109,
    "1m": -6,
    "1y": 78,
    "20y": 95,
    "2y": 117,
    "30y": 88,
    "3m": 22,
    "3y": 127,
    "5y": 127,
    "6m": 48,
    "7y": 120
  },
  "curve_shape": "normal (upward sloping)",
  "date": "2026-10-08",
  "note": null,
  "previous_date": "2026-10-07",
  "source": "U.S. Treasury constant-maturity yields via FRED (published with a one business day lag)",
  "spreads_bp": {
    "2s10s": 47,
    "3m10y": 99,
    "5s30s": 61
  },
  "yields_pct": {
    "10y": 5.22,
    "1m": 4.14,
    "1y": 4.44,
    "20y": 5.64,
    "2y": 4.75,
    "30y": 5.6,
    "3m": 4.23,
    "3y": 4.85,
    "5y": 4.99,
    "6m": 4.3,
    "7y": 5.11
  }
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/rates/treasury-yields'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/rates/treasury-yields' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Frates%2Ftreasury-yields
const res = await pay("https://saylorinnovations.com/api/rates/treasury-yields");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://saylorinnovations.com/api/rates/treasury-yields")
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
12 h agoExpected HTTP 402, got 404404158 ms-
30 h agoExpected HTTP 402, got 404404209 ms-
4 days agoTimed out---
5 days agoPassed4021.2 s$0.01
5 days agoPassed402436 ms$0.01
Show 10 older checks
6 days agoPassed4021.3 s$0.01
7 days agoPassed402549 ms$0.01
7 days agoPassed4021.4 s$0.01
8 days agoPassed402365 ms$0.01
8 days agoPassed402522 ms$0.01
9 days agoPassed4022.3 s$0.01
9 days agoPassed4021.1 s$0.01
10 days agoPassed402610 ms$0.01
10 days agoPassed4021.2 s$0.01
11 days agoPassed4021.4 s$0.01

History

2 Nov 2026Price on Solana changed from 102438 units of So11111111111111111111111111111111111111112 to 102688 units of So11111111111111111111111111111111111111112
2 Nov 2026Price on Solana changed from 102223 units of So11111111111111111111111111111111111111112 to 102438 units of So11111111111111111111111111111111111111112
2 Nov 2026Price on Solana changed from 103015 units of So11111111111111111111111111111111111111112 to 102223 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102471 units of So11111111111111111111111111111111111111112 to 103015 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 101740 units of So11111111111111111111111111111111111111112 to 102471 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 101485 units of So11111111111111111111111111111111111111112 to 101740 units of So11111111111111111111111111111111111111112
29 Oct 2026Price on Solana changed from 97038 units of So11111111111111111111111111111111111111112 to 96941 units of So11111111111111111111111111111111111111112
29 Oct 2026Price on Solana changed from 95736 units of So11111111111111111111111111111111111111112 to 97038 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 94119 units of So11111111111111111111111111111111111111112 to 95736 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95434 units of So11111111111111111111111111111111111111112 to 94119 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95934 units of So11111111111111111111111111111111111111112 to 95434 units of So11111111111111111111111111111111111111112
26 Oct 2026Price on Solana changed from 96030 units of So11111111111111111111111111111111111111112 to 95934 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 95265 units of So11111111111111111111111111111111111111112 to 96030 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 96440 units of So11111111111111111111111111111111111111112 to 95265 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 94707 units of So11111111111111111111111111111111111111112 to 96440 units of So11111111111111111111111111111111111111112