{"uid":"cap_FMOh83j984I_mlYU8mFt4","slug":"treasury-cash-balance-tga-d2257025","name":"Treasury Cash Balance (TGA)","description":"The US Treasury operating cash balance (the Treasury General Account) from the Daily Treasury Statement. Returns the latest TGA closing balance, the history over a window and the computed daily change flagged as a build or a drawdown. Cited to Treasury Fiscal Data.","url":"https://payai.agentstools.dev/treasury/cash","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 the daily cash balance"},"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_NlBHiucUXoQuURtqUc5fz","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 US Treasury General Account (TGA) closing balance, historical daily cash data, and computed daily change (build or drawdown) sourced from the Daily Treasury Statement.","exampleAgentPrompt":"What's the latest US Treasury General Account balance, and has it been building or drawing down over the past 30 days?","exampleUseCases":[{"title":"Daily macro dashboard TGA snapshot","prompt":"Pull the current Treasury General Account closing balance and tell me whether it was a build or drawdown today compared to yesterday."},{"title":"TGA trend analysis for bond market research","prompt":"Give me the TGA cash balance history for the past 90 days so I can see how the Treasury's liquidity position has been trending."},{"title":"Government cash depletion monitoring","prompt":"I want to track the US Treasury's cash reserves — show me the last 60 days of TGA balances and flag any large daily drawdowns."}],"resultDescription":"Returns the latest TGA closing balance in USD, a time series of daily closing balances over the requested window (default or specified number of days), the computed daily change for each day, and a classification of each day's movement as a 'build' (increase) or 'drawdown' (decrease), all cited to Treasury Fiscal Data.","failureModes":["Invalid 'days' parameter (outside 1–3660 range) returns a validation error","Treasury Fiscal Data source unavailable or delayed may result in stale or missing data","Requesting future dates or non-trading days may return no data for those periods","Network or payment authorization failure (x402) returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need authoritative, cited US Treasury General Account balance data with built-in build/drawdown classification and historical series — particularly for macroeconomic research, fiscal liquidity monitoring, bond market analysis, or government debt ceiling tracking. Prefer this over scraping Treasury.gov directly or constructing your own daily-change logic, as it handles data normalization and classification automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:48:21.635Z","isFirstParty":false}