{"uid":"cap_WDCfgxAGlkMsuJqjEWcYh","slug":"saylor-innovations-data-desk-us-national-debt-d6f6fd1e","name":"Saylor Innovations Data Desk – US National Debt","description":"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","url":"https://saylorinnovations.com/api/treasury/debt?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pVpWJO-ZzaJbVEu8NErAz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Real-time debt dashboard widget","prompt":"Pull the current US national debt to the penny and break it down into public debt and intragovernmental holdings, including how much it's changed over the last 30 days."},{"title":"Daily fiscal briefing for finance newsletter","prompt":"What is today's total US national debt figure, and what's the average amount it's been growing per day over the past year? I want to include that in my morning newsletter."},{"title":"Year-over-year debt growth analysis","prompt":"How much has the US national debt increased compared to exactly one year ago, and what's the current split between debt held by the public and intragovernmental holdings?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:25:26.327Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-us-national-debt-486908f8"}