{"uid":"cap_koECzVf3j-NqZEWquceWf","slug":"us-treasury-general-account-tga-cash-balance-1a8ee069","name":"US Treasury General Account (TGA) Cash Balance","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://api.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_CuK9NSm7FXUDvfJd4qcPF","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 latest US Treasury General Account closing balance, historical daily balances, and computed daily change (build or drawdown) from the Daily Treasury Statement.","exampleAgentPrompt":"What's the current US Treasury General Account balance, and has it been building or drawing down over the last 30 days?","exampleUseCases":null,"resultDescription":"Returns the latest TGA closing balance in dollars, a time-series of daily closing balances over the requested window (default or up to 3660 days), and for each day the computed daily change labeled as a build or drawdown, all cited to Treasury Fiscal Data.","failureModes":["days or range parameter outside 1–3660 returns a validation error","Treasury Fiscal Data source delay may mean the most recent day's data is not yet available","Non-GET HTTP method returns an error","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need authoritative, cited US Treasury operating cash balance data — either the latest snapshot or a historical window — with the build/drawdown signal pre-computed. Prefer this over manual DTS parsing or generic macro data APIs when you need daily TGA-specific data with minimal latency and structured output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:14:15.051Z","isFirstParty":false}