# US Treasury General Account (TGA) Cash Balance

> US Treasury General Account (TGA) Cash Balance is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the latest US Treasury General Account closing balance, historical daily balances, and computed daily change (build or drawdown) from the Daily Treasury Statement.

## Facts

- Endpoint: GET https://api.agentstools.dev/treasury/cash
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-general-account-tga-cash-balance-1a8ee069
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_koECzVf3j-NqZEWquceWf

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-general-account-tga-cash-balance-1a8ee069
```

Example prompt: What's the current US Treasury General Account balance, and has it been building or drawing down over the last 30 days?

## When to prefer this

Use this endpoint when you need authoritative, cited US Treasury operating cash balance data — either the latest snapshot or a historical window — with the build/drawdown signal pre-computed. Prefer this over manual DTS parsing or generic macro data APIs when you need daily TGA-specific data with minimal latency and structured output.

## Known failure modes

- days or range parameter outside 1–3660 returns a validation error
- Treasury Fiscal Data source delay may mean the most recent day's data is not yet available
- Non-GET HTTP method returns an error
- Payment failure (402) if USDC balance is insufficient

## How this service works

The US Treasury operating cash balance (the Treasury General Account) from the Daily Treasury Statement. Returns the latest TGA closing balance, the history over a window and the computed daily change flagged as a build or a drawdown. Cited to Treasury Fiscal Data.

## Output

Returns the latest TGA closing balance in dollars, a time-series of daily closing balances over the requested window (default or up to 3660 days), and for each day the computed daily change labeled as a build or drawdown, all cited to Treasury Fiscal Data.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "days": {
       "type": "integer",
       "maximum": 3660,
       "minimum": 1,
       "description": "Look back this many days of the daily cash balance"
      },
      "range": {
       "type": "integer",
       "maximum": 3660,
       "minimum": 1,
       "description": "Alias for days"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-general-account-tga-cash-balance-1a8ee069/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
