Monthly Treasury Statement

Lines of the U.S. Treasury's Monthly Treasury Statement, one row per line per month: federal receipts, outlays and the deficit, receipts by source, outlays by agency, financing and trust funds, each with its group path and amounts in 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, 18 fieldsv1.0

Data from fiscaldata.treasury.gov/datasets/monthly-treasury-statement/

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
Statement table: 1 receipts, outlays and deficit by month; 2 budget results and financing; 3 receipts and outlays; 4 receipts by source; 5 outlays by agency; 6 and 6a to 6e financing; 7 by month; 8 trust funds; 9 by function.
Start dateoptional
Only statements for months that end on or after this day, as YYYY-MM-DD. Empty reads from the newest statement back.
Example: 2026-10-01
End dateoptional
Only statements for months that end on or before this day, as YYYY-MM-DD.
Example: 2026-12-31
Classificationoptional
Only lines whose name or group holds all these words, such as "individual income taxes" or "department of defense" (not case sensitive).
Example: individual income taxes
Include headingsoptional
Also return sub-header lines and other lines printed without any amount, which only name a group.
Sortoptional
Newest statement first (the default) or oldest first. Lines keep the statement's own order within a month.

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/monthly-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/monthly-treasury-statement/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"table":"3"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

tabletext
Statement table: 1 receipts, outlays and deficit by month; 2 budget results and financing; 3 receipts and outlays; 4 receipts by source; 5 outlays by agency; 6 and 6a to 6e financing; 7 by month; 8 trust funds; 9 by function.
default: 3example: 3one of: 1, 2, 3, 4, 5, 6, 6a, 6b, 6c, 6d, 6e, 7, 8, 9
start_datetext
Only statements for months that end on or after this day, as YYYY-MM-DD. Empty reads from the newest statement back.
example: 2026-10-01
end_datetext
Only statements for months that end on or before this day, as YYYY-MM-DD.
example: 2026-12-31
classificationtext
Only lines whose name or group holds all these words, such as "individual income taxes" or "department of defense" (not case sensitive).
example: individual income taxes
include_headingsyes/no
Also return sub-header lines and other lines printed without any amount, which only name a group.
default: false
sorttext
Newest statement first (the default) or oldest first. Lines keep the statement's own order within a month.
default: newestone of: newest, oldest

What's in each record

18 fields: 17 here, 1 technical one under Technical details.

Basics

  • Table number

    The statement table the line belongs to: 1 to 9, or 6a to 6e.

    Example 3

  • Table name

    Title of that table, such as Receipts of the U.S. Government.

    Example Summary of Receipts and Outlays of the U.S. Government

  • Line number

    Row of the line in the printed table; lines keep this order within a statement.

    Example 2

  • Level

    Depth of the line in the table's hierarchy: 1 is the top group.

    Example 2

  • Line type

    detail (a line with its own amounts), total (a total or subtotal of other lines) or subheader (a group name without amounts).

    Example detail

  • Classification

    Name of the line, such as Individual Income Taxes, Department of Defense--Military Programs or October.

    Example Individual Income Taxes

  • Parent classification

    Name of the group the line sits in, such as Budget Receipts or FY 2027.

    Example Budget Receipts

  • Classification path

    Every group above the line and the line itself, joined by " > ", such as Budget Outlays > Department of the Treasury > Other.

    Example Budget Receipts > Individual Income Taxes

  • Amounts

    Every amount column the line's table has, named in words (current_month_gross_receipts, fiscal_year_to_date_refunds, october ...), in dollars.

    Example Current month: 186376346288.16 · Fiscal year to date: 186376346288.16 · Prior fiscal year to date: 216953161554.12

Prices

  • Current month amount

    The line's main amount for the statement month in dollars (tables 2 to 9, not table 1): net receipts, net outlays, net transactions, excess or the month's column in table 7.

    Example $186,376,346,288.16

  • Fiscal year to date

    The same amount for the fiscal year so far, in dollars (tables 2 to 9).

    Example $186,376,346,288.16

  • Prior fiscal year to date

    The same amount for the same months of the prior fiscal year, in dollars, where the table has it.

    Example $216,953,161,554.12

  • Budget estimate current year

    Tables 2 and 3: the Office of Management and Budget's estimate for the whole fiscal year, in dollars.

    Example 2869270000000

  • Currency

    Currency of every amount: USD.

    Example USD

Dates

  • Record date

    Last day of the month the statement covers, such as 2026-10-31.

    Example Oct 31, 2026

  • Fiscal year

    Federal fiscal year of the statement month (October to September; October 2026 is fiscal year 2027).

    Example 2027

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idThe Treasury's id of this line in this statement; every statement gives its lines new ids.

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
idtextID (hidden)3 of 3
urllinkLink3 of 3
record_datedateRecord date3 of 3
fiscal_yearnumberFiscal year3 of 3
table_numbertextTable number3 of 3
table_nametextTable name3 of 3
line_numbernumberLine number3 of 3
levelnumberLevel3 of 3
line_typetextLine type3 of 3
classificationtextClassification3 of 3
parent_classificationtextParent classification3 of 3
classification_pathtextClassification path3 of 3
current_month_amountmoneyCurrent month amount3 of 3
fiscal_year_to_datemoneyFiscal year to date3 of 3
prior_fiscal_year_to_datemoneyPrior fiscal year to date3 of 3
budget_estimate_current_yearmoneyBudget estimate current year3 of 3
amountsgroup of valuesAmounts3 of 3
currencytextCurrency3 of 3

How it reads the site

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

Sample records

Sample records
RecordTable numberTable nameLine numberLevelLine typeClassificationParent classificationClassification pathAmountsCurrent month amountFiscal year to datePrior fiscal year to dateBudget estimate current yearCurrencyRecord dateFiscal yearLink
13Summary of Receipts and Outlays of the U.S. Government22detailIndividual Income TaxesBudget ReceiptsBudget Receipts > Individual Income TaxesCurrent month: 186376346288.16 · Fiscal year to date: 186376346288.16 · Prior fiscal year to date: 216953161554.12$186,376,346,288.16$186,376,346,288.16$216,953,161,554.122869270000000USDOct 31, 20262027api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758591
23Summary of Receipts and Outlays of the U.S. Government32detailCorporation Income TaxesBudget ReceiptsBudget Receipts > Corporation Income TaxesCurrent month: 18042284142.96 · Fiscal year to date: 18042284142.96 · Prior fiscal year to date: 15068062395.53$18,042,284,142.96$18,042,284,142.96$15,068,062,395.53440066000000USDOct 31, 20262027api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758594
33Summary of Receipts and Outlays of the U.S. Government53detailEmployment and General Retirement (Off-Budget)Social Insurance and Retirement ReceiptsBudget Receipts > Social Insurance and Retirement Receipts > Employment and General Retirement (Off-Budget)Current month: 94975000000 · Fiscal year to date: 94975000000 · Prior fiscal year to date: 91545000000$94,975,000,000.00$94,975,000,000.00$91,545,000,000.001424287000000USDOct 31, 20262027api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758602

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
  • The Treasury publishes each statement around the eighth business day of the following month (October's in mid-November), so the newest month can be up to six weeks old. History starts with March 2015.
  • Amounts are U.S. dollars as the Treasury publishes them. Budget estimates come from the Office of Management and Budget in whole millions; this API turns them into dollars.
  • Signs follow the statement: in table 1 a deficit is positive and a surplus negative, while lines named "Surplus (+) or Deficit (-)" in other tables use the opposite sign.
  • Totals and subtotals are lines of their own (line_type total). Leave them out when adding lines up, or amounts are counted twice.
  • Sub-header lines, and lines printed without any amount, only name a group: they are left out unless include_headings is on, and their names stay in classification_path and parent_classification.
  • Line names and groups change between fiscal years as the statement is revised, and the id of a line is new in every statement: match lines over time by table, path and name.
  • The classification filter is applied after reading, so one run looks through at most 40,000 lines. Narrow it with start_date and end_date to reach older statements.
  • Tables 2 to 9 fill current_month_amount and fiscal_year_to_date (budget_estimate_current_year only in tables 2 and 3); every table keeps all its own columns in amounts. Public domain data from the U.S. Treasury.

Version history

A run uses the live version unless the request names another one with version.