Official US Treasury rates
theaiworldnetwork.com/v1/data/treasury_rates
Official US Treasury rates: daily par yield curve (1-month to 30-year), Treasury Reporting Rates of Exchange (quarterly, for a country, used for US government foreign-currency reporting), or average interest rates on Treasury securities (monthly). Public-domain US government data, cached. Not investment advice. Paid via x402 in REAL USDC on Base mainnet (chain 8453) or free trial.
POST
https://theaiworldnetwork.com/v1/data/treasury_ratesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://theaiworldnetwork.com/v1/data/treasury_rates", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"kind":"yield_curve","points":1}),
});
console.log(await res.json());Example input
{
"kind": "yield_curve",
"points": 1
}