{"uid":"cap_aoNLlKymK-VHmlIQrT4HF","slug":"horizon-pulse-u-s-treasury-debt-tga-cash-balance-api-560c88a6","name":"Horizon Pulse U.S. Treasury Debt & TGA Cash Balance API","description":"U.S. Treasury debt to the penny: total, held by the public, and intragovernmental, with the 1-day, 30-day and 1-year change, plus the Daily Treasury Statement Treasury General Account (TGA) operating-cash balance and its daily change. No parameters. Source: api.fiscaldata.treasury.gov. debtUsd is USD. cashUsdMillions is millions of USD. Not a forecast. USDC on Base or Polygon.","url":"https://horizonpulse.dev/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"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"units":{"type":"object"},"priced":{"type":"object"},"source":{"type":"string"},"debtUsd":{"type":"object"},"receipt":{"type":"object"},"sources":{"type":"array"},"disclaimer":{"type":"string"},"cashUsdMillions":{"type":"object"}},"description":"US Treasury debt to the penny (total, held by the public, intragovernmental, 1-day/30-day/1-year change) and Treasury General Account operating cash, from Treasury Fiscal Data. U.S. government data (public domain); not affiliated with or endorsed by the U.S. Department of the Treasury. The example shows the response shape only; values are placeholders and live values differ on every call. Bad input: Not charged. USDC on Base or Polygon."}}}}},"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_I3pXxHBzHrgie5JVWrEJ3","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 U.S. Treasury total public debt to the penny (total, public, intragovernmental) with 1-day, 30-day, and 1-year changes, plus the Treasury General Account (TGA) operating cash balance and its daily change.","exampleAgentPrompt":"What's the current U.S. national debt to the penny right now, broken down into public and intragovernmental portions, and how much cash does the Treasury General Account have today?","exampleUseCases":[{"title":"Daily national debt dashboard update","prompt":"Pull the latest U.S. national debt figure to the penny, including how much is held by the public vs intragovernmental, and tell me the 1-day and 30-day changes so I can update my fiscal dashboard."},{"title":"Monitor Treasury cash runway","prompt":"What's the current Treasury General Account cash balance in millions, and how much did it change since yesterday? I want to track whether the government is burning through cash quickly."},{"title":"Year-over-year debt growth analysis","prompt":"How much has the total U.S. national debt grown over the past year? Give me the current total and the 1-year change so I can calculate the annual growth rate."}],"resultDescription":"A JSON object containing: total U.S. national debt in USD (to the penny), debt held by the public, intragovernmental debt, 1-day/30-day/1-year changes for each debt category, Treasury General Account (TGA) operating cash balance in millions of USD, and TGA daily change. Also includes units metadata, data source attribution, disclaimer, and receipt information. Values reflect the most recent Treasury Fiscal Data publication and are not forecasts.","failureModes":["Upstream Treasury Fiscal Data API unavailability may cause stale or missing data","No parameters accepted — any query parameters sent are ignored","Payment must be USDC on Base network; other tokens or chains will not be accepted","If the Treasury has not published new data for the day, values reflect the most recent available publication date"],"whenToPreferThis":"Choose this endpoint when you need authoritative, real-time U.S. national debt figures to the penny with granular breakdown (public vs intragovernmental) and multi-timeframe change tracking, or when you need the Treasury General Account operating cash balance. Prefer this over general financial data APIs when you need the official Treasury source and exact penny-level precision. It requires no parameters, making it trivial to call in automated or agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:46:56.826Z","isFirstParty":false,"canonicalSlug":"horizon-pulse-u-s-treasury-debt-tga-cash-balance-api-560c88a6"}