# Horizon Pulse U.S. Treasury Debt & TGA Cash Balance API

> Horizon Pulse U.S. Treasury Debt & TGA Cash Balance API is a paid API for AI agents from horizonpulse.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Returns the current U.S. Treasury total public debt to the penny (total, public, intragovernmental) with 1-day, 30-day, and 1-year changes, plus the Treasury General Account (TGA) operating cash balance and its daily change.

## Facts

- Endpoint: GET https://horizonpulse.dev/api/treasury/debt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/horizon-pulse-u-s-treasury-debt-tga-cash-balance-api-560c88a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aoNLlKymK-VHmlIQrT4HF

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 horizon-pulse-u-s-treasury-debt-tga-cash-balance-api-560c88a6
```

Example prompt: What's the current U.S. national debt to the penny right now, broken down into public and intragovernmental portions, and how much cash does the Treasury General Account have today?

## When to prefer this

Choose this endpoint when you need authoritative, real-time U.S. national debt figures to the penny with granular breakdown (public vs intragovernmental) and multi-timeframe change tracking, or when you need the Treasury General Account operating cash balance. Prefer this over general financial data APIs when you need the official Treasury source and exact penny-level precision. It requires no parameters, making it trivial to call in automated or agentic workflows.

## Known failure modes

- Upstream Treasury Fiscal Data API unavailability may cause stale or missing data
- No parameters accepted — any query parameters sent are ignored
- Payment must be USDC on Base network; other tokens or chains will not be accepted
- If the Treasury has not published new data for the day, values reflect the most recent available publication date

## How this service works

U.S. Treasury debt to the penny: total, held by the public, and intragovernmental, with the 1-day, 30-day and 1-year change, plus the Daily Treasury Statement Treasury General Account (TGA) operating-cash balance and its daily change. No parameters. Source: api.fiscaldata.treasury.gov. debtUsd is USD. cashUsdMillions is millions of USD. Not a forecast. USDC on Base or Polygon.

## Output

A JSON object containing: total U.S. national debt in USD (to the penny), debt held by the public, intragovernmental debt, 1-day/30-day/1-year changes for each debt category, Treasury General Account (TGA) operating cash balance in millions of USD, and TGA daily change. Also includes units metadata, data source attribution, disclaimer, and receipt information. Values reflect the most recent Treasury Fiscal Data publication and are not forecasts.

## 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": {
      "ok": {
       "type": "boolean"
      },
      "units": {
       "type": "object"
      },
      "priced": {
       "type": "object"
      },
      "source": {
       "type": "string"
      },
      "debtUsd": {
       "type": "object"
      },
      "receipt": {
       "type": "object"
      },
      "sources": {
       "type": "array"
      },
      "disclaimer": {
       "type": "string"
      },
      "cashUsdMillions": {
       "type": "object"
      }
     },
     "description": "US Treasury debt to the penny (total, held by the public, intragovernmental, 1-day/30-day/1-year change) and Treasury General Account operating cash, from Treasury Fiscal Data. U.S. government data (public domain); not affiliated with or endorsed by the U.S. Department of the Treasury. The example shows the response shape only; values are placeholders and live values differ on every call. Bad input: Not charged. USDC on Base or Polygon."
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/horizon-pulse-u-s-treasury-debt-tga-cash-balance-api-560c88a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from horizonpulse.dev](https://www.zero.xyz/host/horizonpulse.dev/llms.txt)
