# Saylor Innovations Data Desk – US National Debt

> Saylor Innovations Data Desk – US National Debt is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

Returns the current US national debt to the penny, split into public and intragovernmental components, with 30-day, 90-day, and 1-year changes and daily growth rate

## Facts

- Endpoint: GET https://saylorinnovations.com/api/treasury/debt?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-us-national-debt-d6f6fd1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WDCfgxAGlkMsuJqjEWcYh

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 saylor-innovations-data-desk-us-national-debt-d6f6fd1e
```

Example prompt: What's the US national debt right now, and how much has it grown over the past 30 days, 90 days, and the last year?

## When to prefer this

Choose this endpoint when you need a single, pre-computed snapshot of the US national debt with time-series change metrics already calculated — ideal for agents that need ready-to-use figures without querying the raw Treasury API and computing deltas manually. Best for real-time dashboards, financial newsletters, or macro monitoring workflows requiring both public and intragovernmental debt breakdown.

## Known failure modes

- Upstream Treasury data temporarily unavailable, returning stale or null values
- Record date may lag by 1-2 business days due to Treasury reporting schedule
- Change fields (30-day, 90-day, 1-year) may be null if historical comparison data is insufficient
- HTTP 402 if payment header is missing or USDC payment fails
- Service outage on saylorinnovations.com returns 5xx error

## How this service works

US national debt to the penny - total public debt, public and intragovernmental split, with 30-day, 90-day and one-year change and daily growth

## Output

A JSON object containing the record date, total public debt outstanding in USD, debt held by the public in USD, intragovernmental holdings in USD, 30-day change object, 90-day change object, 1-year change object, average daily increase over the past year in USD, and the data source attribution.

## 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"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "record_date",
      "total_public_debt_outstanding_usd"
     ],
     "properties": {
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "record_date": {
       "type": "string",
       "description": "Record date"
      },
      "change_1_year": {
       "type": [
        "object",
        "null"
       ],
       "description": "Change 1 year"
      },
      "change_30_days": {
       "type": [
        "object",
        "null"
       ],
       "description": "Change 30 days"
      },
      "change_90_days": {
       "type": [
        "object",
        "null"
       ],
       "description": "Change 90 days"
      },
      "debt_held_by_public_usd": {
       "type": [
        "number",
        "null"
       ],
       "description": "Debt held by public, in US dollars"
      },
      "intragovernmental_holdings_usd": {
       "type": [
        "number",
        "null"
       ],
       "description": "Intragovernmental holdings, in US dollars"
      },
      "total_public_debt_outstanding_usd": {
       "type": "number",
       "description": "Total public debt outstanding usd"
      },
      "average_increase_per_day_last_year_usd": {
       "type": [
        "number",
        "null"
       ],
       "description": "Average increase per day last year, in US dollars"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-us-national-debt-d6f6fd1e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
