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.

Try it
Ready-made, maintained by usRecords, 16 fieldsv1.0

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

Tableoptional
Which statement table to read. operating_cash_balance is the Treasury General Account (TGA); federal_tax_deposits ends in February 2023.
Start dateoptional
Only statement days on or after this day, as YYYY-MM-DD.
Example: 2026-11-01
End dateoptional
Only statement days on or before this day, as YYYY-MM-DD.
Example: 2026-11-30
Categoriesoptional
Only lines whose name holds all the words of one entry, such as Medicare or Withheld Individual. Each word matches the start of a word; case does not matter. Leave empty for every line. One per line, or separated by commas.
Example: Medicare, Withheld Individual
Transaction typeoptional
Only Deposits or Withdrawals (deposits_withdrawals_operating_cash), or Issues or Redemptions (the two public debt tables).
Sortoptional
Newest day first (the default) or oldest day first; lines of one day keep the statement's order.

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
Endpoint
POSThttps://pullrow.dev/v1/apis/daily-treasury-statement/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

tabletext
Which statement table to read. operating_cash_balance is the Treasury General Account (TGA); federal_tax_deposits ends in February 2023.
default: operating_cash_balanceexample: operating_cash_balanceone of: operating_cash_balance, deposits_withdrawals_operating_cash, public_debt_transactions…
start_datetext
Only statement days on or after this day, as YYYY-MM-DD.
example: 2026-11-01
end_datetext
Only statement days on or before this day, as YYYY-MM-DD.
example: 2026-11-30
categorieslist
Only lines whose name holds all the words of one entry, such as Medicare or Withheld Individual. Each word matches the start of a word; case does not matter. Leave empty for every line.
example: Medicare, Withheld Individual
transaction_typetext
Only Deposits or Withdrawals (deposits_withdrawals_operating_cash), or Issues or Redemptions (the two public debt tables).
one of: Deposits, Withdrawals, Issues, Redemptions
sorttext
Newest day first (the default) or oldest day first; lines of one day keep the statement's order.
default: newestone of: newest, oldest

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 nameTypeShown on this page asFilled
record_datedateRecord date3 of 3
tabletextTable3 of 3
table_nametextTable name3 of 3
table_numbertextTable number3 of 3
sub_tabletextSub table3 of 3
line_numbernumberLine number3 of 3
account_typetextAccount type3 of 3
categorytextCategory3 of 3
today_amount_millionsnumberToday amount millions2 of 3
month_to_date_millionsnumberMonth to date millions2 of 3
fiscal_year_to_date_millionsnumberFiscal year to date millions2 of 3
open_today_balance_millionsnumberOpen today balance millions1 of 3
close_today_balance_millionsnumberClose today balance millions0 of 3
open_month_balance_millionsnumberOpen month balance millions1 of 3
open_fiscal_year_balance_millionsnumberOpen fiscal year balance millions1 of 3
fiscal_yearnumberFiscal year3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordTableTable nameTable numberSub tableLine numberAccount typeCategoryOpen today balance millionsClose today balance millionsOpen month balance millionsToday amount millionsRecord dateMonth to date millionsFiscal year to date millionsOpen fiscal year balance millionsFiscal year
1operating_cash_balanceOperating Cash BalanceICash Balance Details1Treasury General Account (TGA) Opening BalanceTreasury General Account (TGA) Opening Balance965,602—951,593—Nov 30, 2026——984,0462027
2operating_cash_balanceOperating Cash BalanceICash Balance Details2Total TGA Deposits (Table II)Total TGA Deposits (Table II)———273,789Nov 30, 20263,632,1207,079,444—2027
3operating_cash_balanceOperating Cash BalanceICash Balance Details3Total TGA Withdrawals (Table II) (-)Total TGA Withdrawals (Table II) (-)———207,628Nov 30, 20263,551,9507,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.
Known limits
  • 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.