Glyphcall
Everyday data3 free calls over HTTPUpdated 22 November 2026From $0.01 per call · failed calls are never charged

US national debt, Treasury data: total public debt outstanding at the latest record date and its change

$0.01 per call · failed calls are never charged · no account needed: a card key or USDC

US national debt from the Treasury's Debt to the Penny dataset: total public debt outstanding, debt held by the public and intragovernmental holdings (USD) at the latest record date, the change over 1 day, 30 days and 1 year, and a daily history (1-365 days). US federal data, public domain; the snapshot's record date is in the answer. Use when an agent needs the latest US federal debt record, its trend, or a daily series for a chart or brief.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Days of daily history to return, 1-365 (default 30)

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
daysintegerDays of daily history to return, 1-365 (default 30)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/econ/national-debt?days=30"

Node.js

const r = await fetch("https://glyphtools.com/econ/national-debt?days=30", {
  headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header

Python

import requests

r = requests.get("https://glyphtools.com/econ/national-debt?days=30", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()

Or one of your 3 free calls, no key — the same request with &trial=1 on the end:

curl "https://glyphtools.com/econ/national-debt?days=30&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Live result

The real answer to the request above, read 2026-12-01 05:15 UTC and refreshed every 15 minutes.

{
  "date": "2026-11-25",
  "fiscalYear": 2027,
  "totalPublicDebtUsd": 40770711005867.6,
  "debtHeldByPublicUsd": 32954740552044.49,
  "intragovernmentalHoldingsUsd": 7815970453823.11,
  "change": {
    "d1": {
      "since": "2026-11-24",
      "amountUsd": -22594698929.11,
      "percent": -0.06
    },
    "d30": {
      "since": "2026-10-26",
      "amountUsd": 242352066451.75,
      "percent": 0.6
    },
    "d365": {
      "since": "2025-11-25",
      "amountUsd": 2409869161121.81,
      "percent": 6.28
    }
  },
  "history": [
    {
      "date": "2026-11-25",
      "totalPublicDebtUsd": 40770711005867.6,
      "debtHeldByPublicUsd": 32954740552044.49,
      "intragovernmentalHoldingsUsd": 7815970453823.11
    },
    {
      "date": "2026-11-24",
      "totalPublicDebtUsd": 40793305704796.71,
      "debtHeldByPublicUsd": 32953125686852.62,
      "intragovernmentalHoldingsUsd": 7840180017944.08
    },
    {
      "date": "2026-11-23",
      "totalPublicDebtUsd": 40727354329919.53,
      "debtHeldByPublicUsd": 32902453860814.01,
      "intragovernmentalHoldingsUsd": 7824900469105.52
    },
    {
      "date": "2026-11-20",
      "totalPublicDebtUsd": 40710417158680.15,
      "debtHeldByPublicUsd": 32901198701800.97,
      "intragovernmentalHoldingsUsd": 7809218456879.18
    },
    {
      "date": "2026-11-19",
      "totalPublicDebtUsd": 40709780700317.03,
      "debtHeldByPublicUsd": 32901459975089.26,
      "intragovernmentalHoldingsUsd": 7808320725227.76
    },
    {
      "date": "2026-11-18",
      "totalPublicDebtUsd": 40690769638849.96,
      "debtHeldByPublicUsd": 32886805439264.87,
      "intragovernmentalHoldingsUsd": 7803964199585.08
    },
    {
      "date": "2026-11-17",
      "totalPublicDebtUsd": 40714946316573.35,
      "debtHeldByPublicUsd": 32887006494499.79,
      "intragovernmentalHoldingsUsd": 7827939822073.55
    },
    {
      "date": "2026-11-16",
      "totalPublicDebtUsd": 40662417395617.43,
      "debtHeldByPublicUsd": 32852881286592.8,
      "intragovernmentalHoldingsUsd": 7809536109024.63
    },
    {
      "date": "2026-11-13",
      "totalPublicDebtUsd": 40616678827092.07,
      "debtHeldByPublicUsd": 32825322014326.67,
      "intragovernmentalHoldingsUsd": 7791356812765.4
    },
    {
      "date": "2026-11-12",
      "totalPublicDebtUsd": 40608506856903.25,
      "debtHeldByPublicUsd": 32824386143424.8,
      "intragovernmentalHoldingsUsd": 7784120713478.45
    },
    {
      "date": "2026-11-10",
      "totalPublicDebtUsd": 40584130080272.89,
      "debtHeldByPublicUsd": 32800204226578.75,
      "intragovernmentalHoldingsUsd": 7783925853694.14
    },
    {
      "date": "2026-11-09",
      "totalPublicDebtUsd": 40559796589243.37,
      "debtHeldByPublicUsd": 32763773414012.5,
      "intragovernmentalHoldingsUsd": 7796023175230.87
    },
    {
      "date": "2026-11-06",
      "totalPublicDebtUsd": 40552751019092.61,
      "debtHeldByPublicUsd": 32762925356629.47,
      "intragovernmentalHoldingsUsd": 7789825662463.14
    },
    {
      "date": "2026-11-05",
      "totalPublicDebtUsd": 40556120784983.65,
      "debtHeldByPublicUsd": 32766722473715.61,
      "intragovernmentalHoldingsUsd": 7789398311268.04
    },
    {
      "date": "2026-11-04",
      "totalPublicDebtUsd": 40550230047609.15,
      "debtHeldByPublicUsd": 32765175912225.5,
      "intragovernmentalHoldingsUsd": 7785054135383.65
    },
    {
      "date": "2026-11-03",
      "totalPublicDebtUsd": 40547403570984.82,
      "debtHeldByPublicUsd": 32765330118710.62,
      "intragovernmentalHoldingsUsd": 7782073452274.2
    },
    {
      "date": "2026-11-02",
      "totalPublicDebtUsd": 40502080966097.14,
      "debtHeldByPublicUsd": 32719901942674.43,
      "intragovernmentalHoldingsUsd": 7782179023422.71
    },
    {
      "date": "2026-10-30",
      "totalPublicDebtUsd": 40524510013062.41,
      "debtHeldByPublicUsd": 32738422032176.85,
      "intragovernmentalHoldingsUsd": 7786087980885.56
    },
    {
      "date": "2026-10
…

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is econ_national_debt, and the first 10 successful calls are free:

https://glyphtools.com/mcp

Related tools