# US Treasury Government Debt & Interest Rate Data

> US Treasury Government Debt & Interest Rate Data is a paid API for AI agents from store.agentexchange.work, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-13).

Returns current US Treasury public debt totals and average interest rates by security type, sourced from fiscaldata.treasury.gov, payable per call via x402 in USDC.

## Facts

- Endpoint: GET https://store.agentexchange.work/gov/treasury
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-government-debt-interest-rate-data-a10c76fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nVVZjpOXE9rUOxwgDx9Fc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability us-treasury-government-debt-interest-rate-data-a10c76fe
```

Example prompt: What is the current total US public debt and the average interest rate on Treasury Bills right now, according to Treasury fiscal data?

## When to prefer this

Use this endpoint when an AI agent needs authoritative, up-to-date US government debt and Treasury interest rate figures sourced directly from the official US Treasury fiscal data portal, and is operating in an x402-enabled micropayment environment on Base. Prefer this over scraped or estimated sources when official government figures are required.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 payment
- Upstream fiscaldata.treasury.gov unavailable — stale or error response
- Invalid properties filter parameter — may return full dataset or error
- Rate limiting if called too frequently without payment
- Network timeout if Treasury data source is slow to respond

## How this service works

Latest official US Treasury average interest rates by security type (Bills, Notes, Bonds, TIPS, FRN) plus total public debt outstanding, sourced live from the US Treasury Fiscal Data API (public domain). For finance, macro, and trading agents needing authoritative government data in one call.

## Output

A JSON object containing: the data as-of date, the source (fiscaldata.treasury.gov), an array of average interest rates by security type (e.g. Treasury Bills at 3.69%), and the total US public debt in USD (e.g. ~$37 trillion).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "as_of": {
       "type": "string"
      },
      "avg_interest_rates": {
       "type": "array"
      },
      "total_public_debt_usd": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-government-debt-interest-rate-data-a10c76fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from store.agentexchange.work](https://www.zero.xyz/host/store.agentexchange.work/llms.txt)
