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.
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
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/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.
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
Links
- Link
Link to this line in the Treasury's Fiscal Data service, as JSON.
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
record_date | date | Record date | 3 of 3 |
fiscal_year | number | Fiscal year | 3 of 3 |
table_number | text | Table number | 3 of 3 |
table_name | text | Table name | 3 of 3 |
line_number | number | Line number | 3 of 3 |
level | number | Level | 3 of 3 |
line_type | text | Line type | 3 of 3 |
classification | text | Classification | 3 of 3 |
parent_classification | text | Parent classification | 3 of 3 |
classification_path | text | Classification path | 3 of 3 |
current_month_amount | money | Current month amount | 3 of 3 |
fiscal_year_to_date | money | Fiscal year to date | 3 of 3 |
prior_fiscal_year_to_date | money | Prior fiscal year to date | 3 of 3 |
budget_estimate_current_year | money | Budget estimate current year | 3 of 3 |
amounts | group of values | Amounts | 3 of 3 |
currency | text | Currency | 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 number | Table name | Line number | Level | Line type | Classification | Parent classification | Classification path | Amounts | Current month amount | Fiscal year to date | Prior fiscal year to date | Budget estimate current year | Currency | Record date | Fiscal year | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 3 | Summary of Receipts and Outlays of the U.S. Government | 2 | 2 | detail | Individual Income Taxes | Budget Receipts | Budget Receipts > Individual Income Taxes | Current 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.12 | 2869270000000 | USD | Oct 31, 2026 | 2027 | api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758591 |
| 2 | 3 | Summary of Receipts and Outlays of the U.S. Government | 3 | 2 | detail | Corporation Income Taxes | Budget Receipts | Budget Receipts > Corporation Income Taxes | Current 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.53 | 440066000000 | USD | Oct 31, 2026 | 2027 | api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758594 |
| 3 | 3 | Summary of Receipts and Outlays of the U.S. Government | 5 | 3 | detail | Employment and General Retirement (Off-Budget) | Social Insurance and Retirement Receipts | Budget 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.00 | 1424287000000 | USD | Oct 31, 2026 | 2027 | api.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.
- 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.
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.