# US National Debt — Latest Treasury Debt to the Penny

> US National Debt — Latest Treasury Debt to the Penny is a paid API for AI agents from us-debt.use.x402atlas.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns the most recent daily US national debt figures from the US Treasury, including total debt, debt held by the public, and intragovernmental holdings in exact dollars.

## Facts

- Endpoint: GET https://us-debt.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-national-debt-latest-treasury-debt-to-the-penny-75b1fd5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YPX8b4gXWPUfRQkxVGzos

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-national-debt-latest-treasury-debt-to-the-penny-75b1fd5c
```

Example prompt: What is the current US national debt right now — give me the total, the amount held by the public, and the intragovernmental holdings in exact dollars from the Treasury?

## When to prefer this

Use this endpoint when you need official, authoritative US national debt figures sourced directly from the US Treasury's Debt to the Penny dataset, with exact dollar amounts (not rounded to millions) and a clear breakdown between publicly held debt and intragovernmental holdings. Prefer this over general news sources or financial data aggregators when precision, official sourcing, and daily granularity are required for fiscal dashboards, government debt analysis, or sovereign risk monitoring.

## Known failure modes

- Data may have gaps on weekends and federal holidays when the Treasury does not publish
- The latest observation may be 1-2 business days behind real-time due to Treasury publication lag
- Payment of $0.01 USDC required per call — missing or invalid payment returns 402 error
- If the Treasury upstream source is unavailable, the endpoint may return stale or no data
- Response includes warnings array that should be checked for freshness and revision caveats

## How this service works

Latest US national debt — Treasury Debt to the Penny totals, debt held by the public and intragovernmental holdings in exact dollars. Daily federal debt figures for fiscal monitoring, sovereign-debt dashboards and government borrowing analysis.

## Output

Returns a JSON object with the latest daily observation from the US Treasury's Debt to the Penny dataset, including: date of observation, total national debt in USD (exact dollars including cents), debt held by the public in USD, and intragovernmental holdings in USD. Also includes metadata such as source attribution, dataset name, data frequency (daily), terms URL, and any warnings about data freshness or gaps on non-publication days.

## 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": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "operation",
      "schema_version",
      "notice",
      "unit",
      "frequency",
      "observations",
      "warnings"
     ],
     "properties": {
      "unit": {
       "enum": [
        "USD"
       ],
       "type": "string",
       "description": "US dollars including cents."
      },
      "notice": {
       "type": "string",
       "description": "Data provenance."
      },
      "warnings": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "maxItems": 1,
       "minItems": 0,
       "description": "Explains an empty history result; otherwise empty."
      },
      "frequency": {
       "enum": [
        "daily"
       ],
       "type": "string",
       "description": "Published daily observations; non-publication days remain gaps."
      },
      "operation": {
       "enum": [
        "latest"
       ],
       "type": "string"
      },
      "observations": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "date",
         "total_debt_usd",
         "debt_held_by_public_usd",
         "intragovernmental_holdings_usd"
        ],
        "properties": {
         "date": {
          "type": "string",
          "format": "date",
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
          "description": "Observation date."
         },
         "total_debt_usd": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,15})\\.[0-9]{2}$",
          "maxLength": 19,
          "description": "Total federal debt outstanding in exact US dollars including cents."
         },
         "debt_held_by_public_usd": {
          "type": [
           "string",
           "null"
          ],
          "pattern": "^(0|[1-9][0-9]{0,15})\
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-national-debt-latest-treasury-debt-to-the-penny-75b1fd5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from us-debt.use.x402atlas.com](https://www.zero.xyz/host/us-debt.use.x402atlas.com/llms.txt)
