Daily Treasury Statement
The US Treasury's Daily Treasury Statement, one table per run: the Treasury General Account cash balance, deposits and withdrawals by agency and tax, public debt issues and redemptions, the debt subject to the limit and tax refunds, with day, month-to-date and fiscal-year-to-date amounts in millions of dollars.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from fiscaldata.treasury.gov/datasets/daily-treasury-statement/operating-cash-balance
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/daily-treasury-statement/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"table":"operating_cash_balance"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
16 fields.
Basics
- Table
The table key, as in the table input, such as operating_cash_balance.
Example operating_cash_balance
- Table name
The table's name on the statement, such as Operating Cash Balance.
Example Operating Cash Balance
- Table number
The table's number on the statement, such as I, II or IIIA.
Example I
- Sub table
The part of the table the line sits in, such as Cash Balance Details, when the table has parts.
Example Cash Balance Details
- Line number
The line's position in the table that day.
Example 1
- Account type
The account of the line in the cash balance and deposits and withdrawals tables, such as Treasury General Account (TGA).
Example Treasury General Account (TGA) Opening Balance
- Category
What the line is: the account, agency program, tax, security or debt category, such as Taxes - Withheld Individual/FICA.
Example Treasury General Account (TGA) Opening Balance
- Open today balance millions
The balance at the start of the day, in millions of US dollars.
Example 965,602
- Close today balance millions
The balance at the end of the day, in millions of US dollars.
Example 1,031,763
- Open month balance millions
The balance at the start of the month, in millions of US dollars.
Example 951,593
Prices
- Today amount millions
The day's amount, in millions of US dollars.
Example 273,789
Dates
- Record date
The statement day the line is for.
Example Nov 30, 2026
- Month to date millions
The amount so far this month, in millions of US dollars.
Example 3,632,120
- Fiscal year to date millions
The amount so far this fiscal year, in millions of US dollars.
Example 7,079,444
- Open fiscal year balance millions
The balance at the start of the fiscal year, in millions of US dollars.
Example 984,046
- Fiscal year
US government fiscal year of the day (October to September).
Example 2027
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
record_date | date | Record date | 3 of 3 |
table | text | Table | 3 of 3 |
table_name | text | Table name | 3 of 3 |
table_number | text | Table number | 3 of 3 |
sub_table | text | Sub table | 3 of 3 |
line_number | number | Line number | 3 of 3 |
account_type | text | Account type | 3 of 3 |
category | text | Category | 3 of 3 |
today_amount_millions | number | Today amount millions | 2 of 3 |
month_to_date_millions | number | Month to date millions | 2 of 3 |
fiscal_year_to_date_millions | number | Fiscal year to date millions | 2 of 3 |
open_today_balance_millions | number | Open today balance millions | 1 of 3 |
close_today_balance_millions | number | Close today balance millions | 0 of 3 |
open_month_balance_millions | number | Open month balance millions | 1 of 3 |
open_fiscal_year_balance_millions | number | Open fiscal year balance millions | 1 of 3 |
fiscal_year | number | Fiscal year | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Table | Table name | Table number | Sub table | Line number | Account type | Category | Open today balance millions | Close today balance millions | Open month balance millions | Today amount millions | Record date | Month to date millions | Fiscal year to date millions | Open fiscal year balance millions | Fiscal year |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | operating_cash_balance | Operating Cash Balance | I | Cash Balance Details | 1 | Treasury General Account (TGA) Opening Balance | Treasury General Account (TGA) Opening Balance | 965,602 | — | 951,593 | — | Nov 30, 2026 | — | — | 984,046 | 2027 |
| 2 | operating_cash_balance | Operating Cash Balance | I | Cash Balance Details | 2 | Total TGA Deposits (Table II) | Total TGA Deposits (Table II) | — | — | — | 273,789 | Nov 30, 2026 | 3,632,120 | 7,079,444 | — | 2027 |
| 3 | operating_cash_balance | Operating Cash Balance | I | Cash Balance Details | 3 | Total TGA Withdrawals (Table II) (-) | Total TGA Withdrawals (Table II) (-) | — | — | — | 207,628 | Nov 30, 2026 | 3,551,950 | 7,031,727 | — | 2027 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Lines come from the US Treasury's Daily Treasury Statement on its Fiscal Data service, published each business day for the business day before, since 3 October 2005. The Treasury does not endorse this API; the data is US public domain.
- Amounts are millions of US dollars, rounded as the statement prints them. The US fiscal year runs from October to September.
- Each table fills its own fields: the balance fields in the cash balance and debt limit tables, the day, month and year amounts in the others.
- Cash balance lines since 18 April 2022: the TGA opening balance fills the opening balance fields, the deposit and withdrawal totals the day, month and year amounts, and the closing balance close_today_balance_millions.
- federal_tax_deposits ends on 13 February 2023 and inter_agency_tax_transfers starts the next day, when the Treasury redesigned the statement. Line names change over the years.
- categories matches the Treasury's own line names, such as SSA - Benefits Payments or Taxes - Withheld Individual/FICA. For the few names that hold a comma, one run looks through at most 100,000 lines.
- At most 20,000 lines per run; with no dates the newest days come first. Deposits and withdrawals run to about 180 lines a day.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.