# 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-29).

Returns the current US total public debt outstanding to the penny, plus 30-day and 1-year changes and the average daily dollar increase

## Facts

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

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-486908f8
```

Example prompt: What is the current US national debt to the penny, and how much has it gone up over the last 30 days and the past year?

## When to prefer this

Choose this endpoint when you need a single, always-current snapshot of US national debt with pre-computed 30-day and 1-year deltas and average daily growth rate, saving you from fetching and diffing raw Treasury data yourself. Ideal for dashboards, fiscal monitoring agents, or research tools that need granular breakdown (public vs intragovernmental) without building a Treasury scraper.

## Known failure modes

- Treasury data source unavailable — may return null for change fields if historical comparison data is missing
- Stale data if upstream Treasury feed has not updated recently (check as_of and checked_at fields)
- HTTP 402 if payment is not included or USDC balance is insufficient
- Rate limiting or service downtime returning 5xx errors

## How this service works

US national debt - total public debt outstanding to the penny with 30-day and 1-year change and average daily increase

## Output

A JSON object containing: the current total public debt in USD to the penny, debt held by the public, intragovernmental holdings, 30-day dollar and percentage change, 1-year dollar and percentage change, average daily increase in USD, the as-of date for the figures, the timestamp when the check was run, and the original data source.

## 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": [
      "as_of",
      "total_public_debt_usd"
     ],
     "properties": {
      "as_of": {
       "type": "string",
       "description": "Date the figures are valid for"
      },
      "source": {
       "type": [
        "string",
        "null"
       ],
       "description": "Data source the values come from"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      },
      "change_1y_pct": {
       "type": [
        "number",
        "null"
       ],
       "description": "Change over 1 year, percent"
      },
      "change_1y_usd": {
       "type": [
        "number",
        "null"
       ],
       "description": "Change 1y, in US dollars"
      },
      "change_30d_pct": {
       "type": [
        "number",
        "null"
       ],
       "description": "Change over 30 days, percent"
      },
      "change_30d_usd": {
       "type": [
        "number",
        "null"
       ],
       "description": "Change 30d, in US dollars"
      },
      "held_by_public_usd": {
       "type": "number",
       "description": "Held by public, in US dollars"
      },
      "intragovernmental_usd": {
       "type": "number",
       "description": "Intragovernmental, in US dollars"
      },
      "total_public_debt_usd": {
       "type": "number",
       "description": "Total public debt usd"
      },
      "average_daily_increase_usd": {
       "type": [
        "number",
        "null"
       ],
       "description": "Average daily increase, in US dollars"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-us-national-debt-486908f8/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)
