# US Treasury Total Public Debt Outstanding

> US Treasury Total Public Debt Outstanding is a paid API for AI agents from agent402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns the most recent daily total US public debt outstanding figure from the Treasury 'Debt to the Penny' feed

## Facts

- Endpoint: GET https://agent402.tools/api/treasury-debt
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-total-public-debt-outstanding-8641d2c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ggSS6di3GT5XhrG71QEUj

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-total-public-debt-outstanding-8641d2c3
```

Example prompt: What is the current total US national debt outstanding — the latest 'Debt to the Penny' number from the Treasury?

## When to prefer this

Use this endpoint when you need the single headline US national debt figure (total public debt outstanding) as reported daily by the US Treasury. It requires no API key, no parameters, and sources directly from the authoritative public-domain government feed. Prefer this over web scraping or financial data aggregators for the official Treasury number.

## Known failure modes

- Treasury feed temporarily unavailable — upstream data source outage
- Stale data if Treasury hasn't published the latest daily figure yet
- No parameters accepted; any query params are ignored
- HTTP 402 if payment not included or x402 payment fails

## How this service works

Most recent total US public debt outstanding (the headline national-debt number, daily) from the Treasury "Debt to the Penny" feed. Public domain, no key. No params.

## Output

The most recent daily total US public debt outstanding figure (the headline national debt number), sourced from the Treasury's Debt to the Penny feed, including the dollar amount and the date of the reading.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": "Treasury Fiscal Data API",
  "recordDate": "2026-06-12",
  "totalPublicDebtOutstanding": 35642101888471.22
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-total-public-debt-outstanding-8641d2c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
