{
  "x402Version": 2,
  "id": 36398,
  "slug": "36398",
  "resource": "https://us-debt.use.x402atlas.com/latest",
  "description": "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.",
  "type": "http",
  "serviceName": "US National Debt",
  "resourceType": "Utilities",
  "accepts": [
    {
      "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
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "category": "finance",
      "info": {
        "input": {
          "method": "GET",
          "type": "http"
        },
        "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."
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {},
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "national-debt",
        "us-treasury",
        "fiscal-data",
        "government-debt",
        "latest-debt"
      ]
    }
  },
  "tags": [
    "national-debt",
    "us-treasury",
    "fiscal-data",
    "government-debt",
    "latest-debt",
    "bazaar"
  ],
  "sourceHost": "us-debt.use.x402atlas.com",
  "lastUpdated": "2026-10-10T22:46:23.425Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-10T22:46:23.288Z"
  },
  "metadata": {
    "serviceName": "US National Debt",
    "extensions": {
      "bazaar": {
        "category": "finance",
        "info": {
          "input": {
            "method": "GET",
            "type": "http"
          },
          "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."
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {},
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "national-debt",
          "us-treasury",
          "fiscal-data",
          "government-debt",
          "latest-debt"
        ]
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "us-debt.use.x402atlas.com",
    "manifest_name": "us-debt.use.x402atlas.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
  }
}