# US Treasury Interest Expense on Public Debt

> US Treasury Interest Expense on Public Debt is a paid API for AI agents from treasury-macro.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Returns the latest month's US federal interest expense on public debt, fiscal-year-to-date totals, and a breakdown by security type.

## Facts

- Endpoint: GET https://treasury-macro.x402tookit.com/us-interest-expense?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-interest-expense-on-public-debt-831e52f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TsOAXiPDc5eK00xe3-hJA

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-interest-expense-on-public-debt-831e52f7
```

Example prompt: What's the latest monthly interest expense the US government paid on its public debt, and can you break it down by security type like T-bills, notes, and bonds, plus the fiscal-year-to-date total?

## When to prefer this

Choose this endpoint when you need authoritative, structured US federal interest expense data broken down by security type and fiscal-year-to-date, sourced from the US Treasury. Prefer it over generic financial data APIs when you specifically need official government debt interest cost figures with built-in anomaly thresholds and a plain-language verdict summary. It is not suitable for historical time series, individual bond pricing, or non-US sovereign debt.

## Known failure modes

- Stale or delayed Treasury source data may result in degraded=true flag with a warning
- Treasury data publication lag may cause null values for the most recent month
- Network or upstream API failure returns an error response with no financial data
- Invalid query parameters may be silently ignored (view param is decorative only)

## How this service works

US federal interest expense on public debt: latest month, fiscal-year-to-date and split by security type.

## Output

Returns a JSON object with: the monthly US federal interest expense in USD, fiscal-year-to-date interest expense in USD, an array of interest expense broken down by security type (each with monthly and FYTD figures), the record date, data source URL, a plain-language summary, a verdict label, a degraded-data flag, threshold values for context, and attribution/disclaimer text.

## 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",
     "required": [],
     "properties": {
      "view": {
       "type": "string",
       "description": "Optional label echoed back; no effect"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "monthUsd": {
       "type": [
        "null",
        "number"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "recordDate": {
       "type": [
        "null",
        "string"
       ]
      },
      "thresholds": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "largeMonthUsd": {
         "type": [
          "null",
          "number"
         ]
        },
        "veryLargeMonthUsd": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "attribution": {
       "type": [
        "null",
        "string"
       ]
      },
      "bySecurityType": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "type": {
          "
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-interest-expense-on-public-debt-831e52f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from treasury-macro.x402tookit.com](https://www.zero.xyz/host/treasury-macro.x402tookit.com/llms.txt)
