{"uid":"cap_RYJMHRbmCA5A6pJ7L1Ysi","slug":"us-federal-debt-interest-expense-treasury-debt-to-the-penny-2d776a27","name":"US Federal Debt & Interest Expense (Treasury Debt to the Penny)","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://api.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_EcBLIfBkMxj3d895Bl2Yo","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, fused with interest expense data, plus historical daily series and computed net issuance metrics from Treasury Fiscal Data.","exampleAgentPrompt":"What is the current US federal debt, broken down into debt held by the public vs intragovernmental holdings, along with interest expense and net issuance — and show me the daily history for the last 180 days?","exampleUseCases":null,"resultDescription":"Returns the latest total US federal debt figure plus the split between debt held by the public and intragovernmental holdings, interest expense on the debt, computed net issuance, public and intragovernmental percentage shares, and a daily time-series of debt history over the requested window — all cited to Treasury Fiscal Data.","failureModes":["Invalid 'days' parameter (outside 1–3660 range) returns a validation error","Treasury Fiscal Data upstream unavailable causes a service error","Payment not included or insufficient USDC results in HTTP 402 payment required","No data available for the requested date range returns empty history array"],"whenToPreferThis":"Use this endpoint when you need authoritative, cited US federal debt data with a public/intragovernmental breakdown, interest expense context, and computed net issuance metrics — especially when sourcing directly from Treasury Fiscal Data is required. Prefer this over general macroeconomic indicator endpoints when the specific Debt to the Penny series and its components are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:14:30.083Z","isFirstParty":false}