# US Treasury Interest Costs

> US Treasury Interest Costs is a paid API for AI agents from us-treasury-interest.use.x402atlas.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns the latest monthly average interest rates the US Treasury pays on its outstanding debt, broken down by security type (T-bills, Notes, Bonds, TIPS, FRNs, savings securities, and total).

## Facts

- Endpoint: GET https://us-treasury-interest.use.x402atlas.com/latest?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-interest-costs-df1eca19
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_79QVQwMc_iZwSSs6rHFJO

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-costs-df1eca19
```

Example prompt: What is the latest average interest rate the US Treasury is paying on each of its debt securities — T-bills, notes, bonds, TIPS, FRNs, and savings securities — as of the most recent month?

## When to prefer this

Use this endpoint when you need official, current US Treasury average interest rate data by security type in a single lightweight call. Prefer it over scraping Treasury websites or using generic financial data APIs when you specifically need the government's own reported cost-of-borrowing figures segmented by debt instrument (T-bills, Notes, Bonds, TIPS, FRNs, savings securities).

## Known failure modes

- Service unavailable if upstream Fiscal Data API is down or rate-limited
- Payment failure if USDC balance is insufficient for the $0.01 fee
- Stale data if the Treasury has not yet published the latest month's figures
- Empty or partial rates array if upstream data is incomplete for the current period

## How this service works

US Treasury interest rates — latest monthly average rates on outstanding government debt, including Treasury bills, notes, bonds, TIPS, floating-rate notes and savings securities. Track federal borrowing costs and compare rates across security classes.

## Output

Returns a JSON object containing the record date (month-end YYYY-MM-DD), a count of rates returned, and an array of rate objects — each with security_type (Marketable, Non-marketable, or Interest-bearing Debt), security name (e.g. Treasury Bills, Treasury Notes, TIPS, FRNs, savings securities), and avg_interest_rate_pct as a decimal percentage.

## 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",
     "required": [
      "record_date",
      "count",
      "rates"
     ],
     "properties": {
      "count": {
       "type": "integer",
       "description": "Number of rates returned."
      },
      "rates": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "security_type",
         "security",
         "avg_interest_rate_pct"
        ],
        "properties": {
         "security": {
          "type": "string",
          "description": "Security class, e.g. Treasury Bills."
         },
         "security_type": {
          "type": "string",
          "description": "Marketable, Non-marketable or Interest-bearing Debt."
         },
         "avg_interest_rate_pct": {
          "type": "number",
          "description": "Average interest rate, in percent."
         }
        }
       }
      },
      "record_date": {
       "type": "string",
       "format": "date",
       "description": "Month-end date (YYYY-MM-DD) the rates are for."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-interest-costs-df1eca19/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from us-treasury-interest.use.x402atlas.com](https://www.zero.xyz/host/us-treasury-interest.use.x402atlas.com/llms.txt)
