{"uid":"cap_AyXrbvf33s2YYB76o97Fu","slug":"treasury-debt-to-the-penny-federal-debt-interest-data-b9d5996e","name":"Treasury Debt to the Penny – Federal Debt & Interest Data","description":"US federal debt from the Treasury Debt to the Penny series, split into debt held by the public and intragovernmental holdings, fused with interest expense on the debt. Returns the latest value, the history over a window and computed net issuance plus public and intragovernmental shares. Values are cited to Treasury Fiscal Data.","url":"https://payai.agentstools.dev/treasury/debt","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"days":{"type":"integer","maximum":3660,"minimum":1,"description":"Look back this many days of daily debt history"},"range":{"type":"integer","maximum":3660,"minimum":1,"description":"Alias for days"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_ZLcxPOYaKuKF5TCcROpY7","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 current US federal debt split into public and intragovernmental holdings, with interest expense, net issuance, historical window, and share breakdowns sourced from Treasury Fiscal Data.","exampleAgentPrompt":"Pull the latest US federal debt figures from the Treasury Debt to the Penny series — break it down into debt held by the public vs intragovernmental holdings, show interest expense and net issuance, and give me 90 days of daily history.","exampleUseCases":[{"title":"Daily fiscal dashboard snapshot","prompt":"Give me today's total US federal debt, split between what's held by the public and what's intragovernmental, along with the current interest expense — I'm updating my daily macro dashboard."},{"title":"Debt trend analysis over past year","prompt":"Show me the daily US Treasury debt history for the last 365 days so I can chart how fast the debt has been growing and calculate net issuance over that period."},{"title":"Intragovernmental vs public debt share monitoring","prompt":"What percentage of the US national debt is currently held by the public versus sitting in intragovernmental accounts? Pull the latest figures from Treasury Fiscal Data."}],"resultDescription":"Returns the latest total federal debt value, debt held by the public, intragovernmental holdings, interest expense on the debt, computed net issuance, public and intragovernmental share percentages, and a daily history array over the requested window (up to 3,660 days). All figures are sourced and cited to Treasury Fiscal Data.","failureModes":["Invalid or out-of-range 'days' parameter (must be 1–3660) returns a validation error","Treasury Fiscal Data source unavailable or stale may return incomplete or cached data","Requesting a very large window (3660 days) may increase response latency slightly","No data available for very recent dates if Treasury hasn't published yet"],"whenToPreferThis":"Use this endpoint when you need authoritative, structured US federal debt data directly sourced from Treasury Fiscal Data, particularly when you need the public vs intragovernmental split, interest expense, net issuance computation, and historical trend in a single call — rather than scraping Treasury websites or assembling disparate data yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:08:29.611Z","isFirstParty":false}