x402stock.xyz
The daily US Treasury par yield curve (Constant Maturity Treasury rates) for every maturity from 1 month to 30 years, in percent. Defaults to the latest published day; pass `?limit=` for more recent days (max 250) and `?year=YYYY`. No tick… (63 paid endpoints on x402stock.xyz.)
Call via Rooms
Rooms resells calls to x402stock.xyz: you make one x402 payment to Rooms, Rooms pays x402stock.xyz from its own wallet and returns the answer with a signed Rooms receipt. Never charged when the call fails. No account or API key.
$0.012 per call, all in (x402stock.xyz's listed price $0.01 plus the Rooms margin; the 402 quotes the live price)
See the price (free, unpaid)
curl -i -X POST https://rooms.aurmada.com/x402/v1/broker/x402stockxyz -H 'Content-Type: application/json' -d '{"path":"/api/v1/treasury-yields","query":{}}'
Send {"path", "method", "query", "body"}: path is one of the paid endpoints below (default /api/v1/treasury-yields), query and body go to x402stock.xyz as given. Pay the 402 with any x402 client and resend the same POST with PAYMENT-SIGNATURE (or X-PAYMENT).
New to paying per call? x402 for agents explains the 402 → pay → retry loop.
Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "x402stockxyz" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="x402stockxyz")Track record
- Uptime
- Collecting: shown after 3 daily checks.
- Calls via Rooms (30 days)
- 0
No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Paid endpoints (12)
- GET /api/v1/treasury-yields $0.012 via RoomsThe daily US Treasury par yield curve (Constant Maturity Treasury rates) for every maturity from 1 month to 30 years, in percent. Defaults to the latest published day; pass `?limit=` for more recent days (max 250) and `?year=YYYY`. No tick…
- GET /api/v1/avg-interest-rates $0.012 via RoomsThe average interest rate the US Treasury currently pays on its outstanding debt, broken out by security (Treasury Bills, Notes, Bonds, TIPS, FRNs, savings, and the marketable/total aggregates) for the latest reported month, in percent. No…
- GET /api/v1/national-debt $0.012 via RoomsThe total US public debt outstanding to the penny — the headline national-debt figure — split into debt held by the public and intragovernmental holdings, with the latest value, prior business day, day-over-day change, and recent history.…
- GET /api/v1/patents $0.024 via RoomsA company's US patents from the USPTO Open Data Portal, newest filings first. Pass `?company=Tesla` (required, matches APPLICANT name — subsidiaries/variants need separate queries) plus `?limit=` (max 100). Each carries patent & applicatio…
- GET /api/v1/fear-greed $0.024 via RoomsThe current US stock-market Fear & Greed index (0–100, CNN-style) with its sentiment rating and all five weighted components — volatility, momentum, put/call, safe-haven demand, junk-bond demand — each with value, weight, and reading. Incl…
- GET /api/v1/unified-snapshot $0.024 via RoomsSnapshot a list of US-listed tickers at once: for each symbol, the company name, market session, current price, day change and percent change, day OHLCV with VWAP, and previous close. Pass a comma-separated list via `?tickers=AAPL,MSFT,NVD…
- GET /api/v1/exchange-rates $0.024 via RoomsOfficial US Treasury reporting rates of exchange — government FX reference rates for ~170 currencies, in units of foreign currency per 1 USD, for the latest quarter. Use for accounting-grade and exotic-currency conversion the market /api/v…
- GET /api/v1/money-supply $0.012 via RoomsUS M2 money stock, monthly, in billions of dollars (seasonally adjusted), with the latest value, prior month, month-over-month and year-over-year change, and recent history. No ticker needed. A liquidity gauge watched for inflation and ris…
- GET /api/v1/fear-greed/regime $0.024 via RoomsThe combined market regime — one read fusing the stock Fear & Greed score and velocity, VIX, insider-buying sentiment, and net liquidity into a named regime (e.g. Mixed Signals) with severity and a suggested stance, plus how the S&P 500 hi…
- GET /api/v1/gov-contracts $0.024 via RoomsFederal contract and grant awards to a US company, from USAspending.gov. Pass `?recipient=Lockheed Martin` (required, fuzzy name match) plus optional `?award_type=contracts|grants|all`, `?order=amount|date`, `?limit=` (max 50). Each award…
- GET /api/v1/hip3/dexs $0.012 via RoomsList every permissionless builder-deployed perp DEX on Hyperliquid (HIP-3). Each lists synthetic, oracle-priced 24/7 perp markets — US equities, commodities (gold, oil, copper), FX, and global index perps — that Hyperliquid's core perps an…
- GET /api/v1/energy $0.024 via RoomsEvery energy benchmark in one call: WTI and Brent crude oil spot, Henry Hub natural gas spot, and US regular retail gasoline — each with its latest price, prior reading, and change. The catalog's commodities feed (no equity/forex/crypto en…
Automated check
Not checked yet. Checks run in the background.