US
Utilities · x402 · early usage

Latest US national debt — Treasury Debt to the Penny totals, debt held by the public an…

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.

by us-debt.use.x402atlas.com · discovered, not yet claimed by its owner · updated 2026-10-10

30d calls2
30d payers2
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: national-debt · us-treasury · fiscal-data · government-debt · latest-debt · bazaar

Call contract

Method
GET
Input
HTTP request
Output
json
Last paid call
2026-10-10
No input exampleProvider did not publish one in Bazaar metadata.
Output example
{
  "dataset": "Debt to the Penny",
  "frequency": "daily",
  "notice": "Source: U.S. Treasury, Bureau of the Fiscal Service, Debt to the Penny. Treasury permits commercial reuse of this free data; the fee is for API integration. No affiliation or endorsement.",
  "observations": [
    {
      "date": "2024-01-05",
      "debt_held_by_public_usd": "26976084404477.05",
      "intragovernmental_holdings_usd": "7033605651118.76",
      "total_debt_usd": "34009690055595.81"
    }
  ],
  "operation": "latest",
  "retrieved_at": "2024-01-08T20:00:00Z",
  "schema_version": "1",
  "source": "U.S. Treasury, Bureau of the Fiscal Service",
  "source_request_url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny?fields=record_date%2Cdebt_held_public_amt%2Cintragov_hold_amt%2Ctot_pub_debt_out_amt&format=json&page%5Bnumber%5D=1&page%5Bsize%5D=1&sort=-record_date",
  "source_url": "https://fiscaldata.treasury.gov/datasets/debt-to-the-penny/",
  "terms_url": "https://fiscaldata.treasury.gov/api-documentation/#license-and-authorization",
  "unit": "USD",
  "warnings": [
    "Daily published observations, not a live debt counter. Business-day gaps are not filled. Null components mean unavailable, not zero. Source supplies no per-row publication timestamp or revision flag; values may be revised. Retrieval time is not observation freshness."
  ]
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/36398.json for the price and payment options.
  3. Pay. Call GET https://us-debt.use.x402atlas.com/latest. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, Arbitrum One, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Polygon, Arbitrum One, Solana
Demand
2 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactPolygon
eip155:137
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactArbitrum One
eip155:42161
USDC$0.010x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.01ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "additionalProperties": false,
      "properties": {
        "dataset": {
          "description": "Official dataset name.",
          "enum": [
            "Debt to the Penny"
          ],
          "type": "string"
        },
        "frequency": {
          "description": "Published daily observations; non-publication days remain gaps.",
          "enum": [
            "daily"
          ],
          "type": "string"
        },
        "notice": {
          "description": "Source attribution and fee disclosure.",
          "type": "string"
        },
        "observations": {
          "description": "Observations in ascending date order; no interpolation.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "date": {
                "description": "Source observation date, not publication or retrieval time.",
                "format": "date",
                "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
                "type": "string"
              },
              "debt_held_by_public_usd": {
                "description": "Debt held outside the federal government, including Federal Reserve holdings; exact USD decimal string, or null when unavailable.",
                "maxLength": 19,
                "pattern": "^(0|[1-9][0-9]{0,15})\\.[0-9]{2}$",
                "type": [
                  "string",
                  "null"
                ]
              },
              "intragovernmental_holdings_usd": {
                "description": "Debt held by federal government accounts; exact USD decimal string, or null when unavailable.",
                "maxLength": 19,
                "pattern": "^(0|[1-9][0-9]{0,15})\\.[0-9]{2}$",
                "type": [
                  "string",
                  "null"
                ]
              },
              "total_debt_usd": {
                "description": "Total public debt outstanding in exact US dollars including cents, not millions. Debt stock, not deficit or statutory debt limit.",
                "maxLength": 19,
                "pattern": "^(0|[1-9][0-9]{0,15})\\.[0-9]{2}$",
                "type": "string"
              }
            },
            "required": [
              "date",
              "total_debt_usd",
              "debt_held_by_public_usd",
              "intragovernmental_holdings_usd"
            ],
            "type": "object"
          },
          "maxItems": 1,
          "minItems": 1,
          "type": "array"
        },
        "operation": {
          "description": "Fixed endpoint operation.",
          "enum": [
            "latest"
          ],
          "type": "string"
        },
        "retrieved_at": {
          "description": "Original successful UTC source retrieval timestamp; preserved on cache hits.",
          "format": "date-time",
          "type": "string"
        },
        "schema_version": {
          "description": "Normalized response contract version.",
          "enum": [
            "1"
          ],
          "type": "string"
        },
        "source": {
          "description": "Official data producer.",
          "enum": [
            "U.S. Treasury, Bureau of the Fiscal Service"
          ],
          "type": "string"
        },
        "source_request_url": {
          "description": "Exact free Treasury API request for this selection.",
          "type": "string"
        },
        "source_url": {
          "description": "Official dataset documentation.",
          "enum": [
            "https://fiscaldata.treasury.gov/datasets/debt-to-the-penny/"
          ],
          "type": "string"
        },
        "terms_url": {
          "description": "Official commercial reuse terms.",
          "enum": [
            "https://fiscaldata.treasury.gov/api-documentation/#license-and-authorization"
          ],
          "type": "string"
        },
        "unit": {
          "description": "Amounts are dollars including cents, not millions.",
          "enum": [
            "USD"
          ],
          "type": "string"
        },
        "warnings": {
          "description": "Source freshness, missing-value and revision limitations.",
          "items": {
            "description": "Interpretation warning.",
            "type": "string"
          },
          "maxItems": 1,
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "operation",
        "schema_version",
        "source",
        "dataset",
        "source_url",
        "source_request_url",
        "terms_url",
        "notice",
        "unit",
        "frequency",
        "retrieved_at",
        "observations",
        "warnings"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "dataset": "Debt to the Penny",
    "frequency": "daily",
    "notice": "string",
    "observations": [
      {
        "date": "string",
        "debt_held_by_public_usd": "string",
        "intragovernmental_holdings_usd": "string",
        "total_debt_usd": "string"
      }
    ],
    "operation": "latest",
    "retrieved_at": "2026-01-01T00:00:00Z",
    "schema_version": "1",
    "source": "U.S. Treasury, Bureau of the Fiscal Service",
    "source_request_url": "string",
    "source_url": "https://fiscaldata.treasury.gov/datasets/debt-to-the-penny/",
    "terms_url": "https://fiscaldata.treasury.gov/api-documentation/#license-and-authorization",
    "unit": "USD",
    "warnings": [
      "string"
    ]
  },
  "type": "string"
}

Examples

curl
curl "https://us-debt.use.x402atlas.com/latest"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://us-debt.use.x402atlas.com/latest");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://us-debt.use.x402atlas.com/latest")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
us-debt.use.x402atlas.com
Endpoint
https://us-debt.use.x402atlas.com/latest
Machine-readable
/resources/36398.json