← Marketplace

US Treasury Data

Official US fiscal data from the Treasury: national debt, average interest rates, and Treasury-reported currency exchange rates. Machine-payable per request.

Robinhood Chain

Offers

OfferEndpointPrice
National debt
Total US public debt outstanding to the penny, daily. Pass ?sort=-record_date&page[size]=10 for the latest readings, or &filter=record_date:gte:2024-01-01.
/m/us-treasury/debt0.005 USDG
Exchange rates
Treasury-reported exchange rates for 170+ currencies, quarterly. Pass ?sort=-record_date&page[size]=20, filter with &filter=country_currency_desc:eq:Japan-Yen.
/m/us-treasury/exchange-rates0.005 USDG
Average interest rates
Average interest rates on US Treasury securities by type, monthly. Pass ?sort=-record_date&page[size]=20.
/m/us-treasury/interest-rates0.005 USDG

Machine-readable: openapi.json with x-payment-info offers.

Try it live

Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.

Sign in with your wallet to try an endpoint straight from the browser.

Pay with an agent

Any MPP or x402-compatible client works. With mppx, payment is automatic:

// x402 exact scheme (permit2) on Robinhood Chain
// 1. GET the endpoint, read the payment-required header (base64 JSON)
// 2. Sign PermitWitnessTransferFrom against Permit2 for the advertised offer
//    (spender = x402ExactPermit2Proxy, witness.to = merchant wallet)
// 3. Retry with the payment-signature header; settlement tx arrives
//    in the payment-response header
const res = await fetch('https://api.meshgateway.co/m/us-treasury/debt', {
  headers: { 'payment-signature': signedPaymentPayload },
})

Or inspect the challenge yourself:

curl -i https://api.meshgateway.co/m/us-treasury/debt
# HTTP/1.1 402 Payment Required
# WWW-Authenticate: Payment id="…", method="evm", intent="charge", …