← APIs / x402stock.xyz
Verified

x402stock.xyz

Coinbase Bazaarby Coinbase Bazaar · marketplace

Pay-per-call x402 service at x402stock.xyz, listed in the Coinbase Bazaar. The 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 ticker needed. A read on the government's cost of borrowing that complements the /treasury-yields curve. Sourced from the US Treasury (FiscalData).

datafederated
Price per request
$0.01
Base URL
https://gateway.apiosk.com/cbz-x402stock-xyz
Technical Specs
Auth MethodNone (x402 payment proof only)
Response FormatJSON
Endpoints1
Endpoints
MethodPathDescriptionCost
GET /api/v1/avg-interest-rates The 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 ticker needed. A read on the government's cost of borrowing that complements the /treasury-yields curve. Sourced from the US Treasury (FiscalData).
$0.01 default
View details
Endpoint documentation
GET/api/v1/avg-interest-rates
$0.01 default
Description

The 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 ticker needed. A read on the government's cost of borrowing that complements the /treasury-yields curve. Sourced from the US Treasury (FiscalData).

Pricing
$0.01 default
Parameters
{
  "properties": {},
  "type": "object"
}
Example response
{
  "as_of": "2026-05-31T00:00:00.000Z",
  "count": 16,
  "rates": [
    {
      "avg_interest_rate": 3.69,
      "security": "Treasury Bills",
      "security_type": "Marketable"
    },
    {
      "avg_interest_rate": 3.248,
      "security": "Treasury Notes",
      "security_type": "Marketable"
    },
    {
      "avg_interest_rate": 3.413,
      "security": "Treasury Bonds",
      "security_type": "Marketable"
    },
    {
      "avg_interest_rate": 3.386,
      "security": "Total Marketable",
      "security_type": "Marketable"
    },
    {
      "avg_interest_rate": 3.353,
      "security": "Total Interest-bearing Debt",
      "security_type": "Interest-bearing Debt"
    }
  ],
  "record_date": "2026-05-31",
  "series": "avg_interest_rates",
  "source": "us_treasury",
  "unit": "percent"
}