{"api":{"id":"api_bad747fd82bdef9ea139d57f","slug":"monthly-treasury-statement","name":"Monthly Treasury Statement","description":"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.","kind":"ready_made","visibility":"public","domain":"fiscaldata.treasury.gov","source_url":"https://fiscaldata.treasury.gov/datasets/monthly-treasury-statement/","category":"finance","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":18,"created_at":"2026-12-06T04:12:04.056Z","updated_at":"2026-12-06T04:12:04.056Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"The Treasury's id of this line in this statement; every statement gives its lines new ids.","required":true,"coverage":1,"example":"59758591"},{"name":"url","type":"url","description":"Link to this line in the Treasury's Fiscal Data service, as JSON.","required":false,"coverage":1,"example":"https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:e…"},{"name":"record_date","type":"date","description":"Last day of the month the statement covers, such as 2026-10-31.","required":false,"coverage":1,"example":"2026-10-31"},{"name":"fiscal_year","type":"integer","description":"Federal fiscal year of the statement month (October to September; October 2026 is fiscal year 2027).","required":false,"coverage":1,"example":2027},{"name":"table_number","type":"string","description":"The statement table the line belongs to: 1 to 9, or 6a to 6e.","required":false,"coverage":1,"example":"3"},{"name":"table_name","type":"string","description":"Title of that table, such as Receipts of the U.S. Government.","required":false,"coverage":1,"example":"Summary of Receipts and Outlays of the U.S. Government"},{"name":"line_number","type":"integer","description":"Row of the line in the printed table; lines keep this order within a statement.","required":false,"coverage":1,"example":2},{"name":"level","type":"integer","description":"Depth of the line in the table's hierarchy: 1 is the top group.","required":false,"coverage":1,"example":2},{"name":"line_type","type":"string","description":"detail (a line with its own amounts), total (a total or subtotal of other lines) or subheader (a group name without amounts).","required":false,"coverage":1,"example":"detail"},{"name":"classification","type":"string","description":"Name of the line, such as Individual Income Taxes, Department of Defense--Military Programs or October.","required":false,"coverage":1,"example":"Individual Income Taxes"},{"name":"parent_classification","type":"string","description":"Name of the group the line sits in, such as Budget Receipts or FY 2027.","required":false,"coverage":1,"example":"Budget Receipts"},{"name":"classification_path","type":"string","description":"Every group above the line and the line itself, joined by \" > \", such as Budget Outlays > Department of the Treasury > Other.","required":false,"coverage":1,"example":"Budget Receipts > Individual Income Taxes"},{"name":"current_month_amount","type":"money","description":"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.","required":false,"coverage":1,"example":186376346288.16},{"name":"fiscal_year_to_date","type":"money","description":"The same amount for the fiscal year so far, in dollars (tables 2 to 9).","required":false,"coverage":1,"example":186376346288.16},{"name":"prior_fiscal_year_to_date","type":"money","description":"The same amount for the same months of the prior fiscal year, in dollars, where the table has it.","required":false,"coverage":1,"example":216953161554.12},{"name":"budget_estimate_current_year","type":"money","description":"Tables 2 and 3: the Office of Management and Budget's estimate for the whole fiscal year, in dollars.","required":false,"coverage":1,"example":2869270000000},{"name":"amounts","type":"object","description":"Every amount column the line's table has, named in words (current_month_gross_receipts, fiscal_year_to_date_refunds, october ...), in dollars.","required":false,"coverage":1,"example":{"current_month":186376346288.16,"fiscal_year_to_date":186376346288.16,"prior_fiscal_year_to_date":216953161554.12,"budget_estimate_current_year":2869270000000}},{"name":"currency","type":"string","description":"Currency of every amount: USD.","required":false,"coverage":1,"example":"USD"}],"inputs":[{"name":"table","type":"string","description":"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":"3","example":"3","enum":["1","2","3","4","5","6","6a","6b","6c","6d","6e","7","8","9"]},{"name":"start_date","type":"string","description":"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"},{"name":"end_date","type":"string","description":"Only statements for months that end on or before this day, as YYYY-MM-DD.","example":"2026-12-31"},{"name":"classification","type":"string","description":"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"},{"name":"include_headings","type":"boolean","description":"Also return sub-header lines and other lines printed without any amount, which only name a group.","default":false},{"name":"sort","type":"string","description":"Newest statement first (the default) or oldest first. Lines keep the statement's own order within a month.","default":"newest","enum":["newest","oldest"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"amounts":{"description":"Every amount column the line's table has, named in words (current_month_gross_receipts, fiscal_year_to_date_refunds, october ...), in dollars.","type":"object"},"budget_estimate_current_year":{"description":"Tables 2 and 3: the Office of Management and Budget's estimate for the whole fiscal year, in dollars.","type":"number"},"classification":{"description":"Name of the line, such as Individual Income Taxes, Department of Defense--Military Programs or October.","type":"string"},"classification_path":{"description":"Every group above the line and the line itself, joined by \" > \", such as Budget Outlays > Department of the Treasury > Other.","type":"string"},"currency":{"description":"Currency of every amount: USD.","type":"string"},"current_month_amount":{"description":"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.","type":"number"},"fiscal_year":{"description":"Federal fiscal year of the statement month (October to September; October 2026 is fiscal year 2027).","type":"integer"},"fiscal_year_to_date":{"description":"The same amount for the fiscal year so far, in dollars (tables 2 to 9).","type":"number"},"id":{"description":"The Treasury's id of this line in this statement; every statement gives its lines new ids.","type":"string"},"level":{"description":"Depth of the line in the table's hierarchy: 1 is the top group.","type":"integer"},"line_number":{"description":"Row of the line in the printed table; lines keep this order within a statement.","type":"integer"},"line_type":{"description":"detail (a line with its own amounts), total (a total or subtotal of other lines) or subheader (a group name without amounts).","type":"string"},"parent_classification":{"description":"Name of the group the line sits in, such as Budget Receipts or FY 2027.","type":"string"},"prior_fiscal_year_to_date":{"description":"The same amount for the same months of the prior fiscal year, in dollars, where the table has it.","type":"number"},"record_date":{"description":"Last day of the month the statement covers, such as 2026-10-31.","format":"date","type":"string"},"table_name":{"description":"Title of that table, such as Receipts of the U.S. Government.","type":"string"},"table_number":{"description":"The statement table the line belongs to: 1 to 9, or 6a to 6e.","type":"string"},"url":{"description":"Link to this line in the Treasury's Fiscal Data service, as JSON.","format":"uri","type":"string"}},"required":["id"],"title":"Monthly Treasury Statement","type":"object"},"samples":[{"id":"59758591","url":"https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758591","record_date":"2026-10-31","fiscal_year":2027,"table_number":"3","table_name":"Summary of Receipts and Outlays of the U.S. Government","line_number":2,"level":2,"line_type":"detail","classification":"Individual Income Taxes","parent_classification":"Budget Receipts","classification_path":"Budget Receipts > Individual Income Taxes","current_month_amount":186376346288.16,"fiscal_year_to_date":186376346288.16,"prior_fiscal_year_to_date":216953161554.12,"budget_estimate_current_year":2869270000000,"amounts":{"current_month":186376346288.16,"fiscal_year_to_date":186376346288.16,"prior_fiscal_year_to_date":216953161554.12,"budget_estimate_current_year":2869270000000},"currency":"USD"},{"id":"59758594","url":"https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758594","record_date":"2026-10-31","fiscal_year":2027,"table_number":"3","table_name":"Summary of Receipts and Outlays of the U.S. Government","line_number":3,"level":2,"line_type":"detail","classification":"Corporation Income Taxes","parent_classification":"Budget Receipts","classification_path":"Budget Receipts > Corporation Income Taxes","current_month_amount":18042284142.96,"fiscal_year_to_date":18042284142.96,"prior_fiscal_year_to_date":15068062395.53,"budget_estimate_current_year":440066000000,"amounts":{"current_month":18042284142.96,"fiscal_year_to_date":18042284142.96,"prior_fiscal_year_to_date":15068062395.53,"budget_estimate_current_year":440066000000},"currency":"USD"},{"id":"59758602","url":"https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_3?filter=classification_id:eq:59758602","record_date":"2026-10-31","fiscal_year":2027,"table_number":"3","table_name":"Summary of Receipts and Outlays of the U.S. Government","line_number":5,"level":3,"line_type":"detail","classification":"Employment and General Retirement (Off-Budget)","parent_classification":"Social Insurance and Retirement Receipts","classification_path":"Budget Receipts > Social Insurance and Retirement Receipts > Employment and General Retirement (Off-Budget)","current_month_amount":94975000000,"fiscal_year_to_date":94975000000,"prior_fiscal_year_to_date":91545000000,"budget_estimate_current_year":1424287000000,"amounts":{"current_month":94975000000,"fiscal_year_to_date":94975000000,"prior_fiscal_year_to_date":91545000000,"budget_estimate_current_year":1424287000000},"currency":"USD"}],"validation":{"checked_at":"2026-12-06T04:12:04.051Z","field_coverage":{"amounts":1,"budget_estimate_current_year":1,"classification":1,"classification_path":1,"currency":1,"current_month_amount":1,"fiscal_year":1,"fiscal_year_to_date":1,"id":1,"level":1,"line_number":1,"line_type":1,"parent_classification":1,"prior_fiscal_year_to_date":1,"record_date":1,"table_name":1,"table_number":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_bad747fd82bdef9ea139d57f/run","openapi":"https://pullrow.dev/v1/apis/api_bad747fd82bdef9ea139d57f/openapi.json","contract":"https://pullrow.dev/v1/apis/api_bad747fd82bdef9ea139d57f/contract.json","page":"https://pullrow.dev/catalog/monthly-treasury-statement"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["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."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"The Treasury's id of this line in this statement; every statement gives its lines new ids.","group":"Technical","shown":false,"written":false},{"name":"url","label":"Link","description":"Link to this line in the Treasury's Fiscal Data service, as JSON.","group":"Links","shown":true,"written":false},{"name":"record_date","label":"Record date","description":"Last day of the month the statement covers, such as 2026-10-31.","group":"Dates","shown":true,"written":false},{"name":"fiscal_year","label":"Fiscal year","description":"Federal fiscal year of the statement month (October to September; October 2026 is fiscal year 2027).","group":"Dates","shown":true,"written":false},{"name":"table_number","label":"Table number","description":"The statement table the line belongs to: 1 to 9, or 6a to 6e.","group":"Basics","shown":true,"written":false},{"name":"table_name","label":"Table name","description":"Title of that table, such as Receipts of the U.S. Government.","group":"Basics","shown":true,"written":false},{"name":"line_number","label":"Line number","description":"Row of the line in the printed table; lines keep this order within a statement.","group":"Basics","shown":true,"written":false},{"name":"level","label":"Level","description":"Depth of the line in the table's hierarchy: 1 is the top group.","group":"Basics","shown":true,"written":false},{"name":"line_type","label":"Line type","description":"detail (a line with its own amounts), total (a total or subtotal of other lines) or subheader (a group name without amounts).","group":"Basics","shown":true,"written":false},{"name":"classification","label":"Classification","description":"Name of the line, such as Individual Income Taxes, Department of Defense--Military Programs or October.","group":"Basics","shown":true,"written":false},{"name":"parent_classification","label":"Parent classification","description":"Name of the group the line sits in, such as Budget Receipts or FY 2027.","group":"Basics","shown":true,"written":false},{"name":"classification_path","label":"Classification path","description":"Every group above the line and the line itself, joined by \" > \", such as Budget Outlays > Department of the Treasury > Other.","group":"Basics","shown":true,"written":false},{"name":"current_month_amount","label":"Current month amount","description":"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.","group":"Pay","shown":true,"written":false},{"name":"fiscal_year_to_date","label":"Fiscal year to date","description":"The same amount for the fiscal year so far, in dollars (tables 2 to 9).","group":"Pay","shown":true,"written":false},{"name":"prior_fiscal_year_to_date","label":"Prior fiscal year to date","description":"The same amount for the same months of the prior fiscal year, in dollars, where the table has it.","group":"Pay","shown":true,"written":false},{"name":"budget_estimate_current_year","label":"Budget estimate current year","description":"Tables 2 and 3: the Office of Management and Budget's estimate for the whole fiscal year, in dollars.","group":"Pay","shown":true,"written":false},{"name":"amounts","label":"Amounts","description":"Every amount column the line's table has, named in words (current_month_gross_receipts, fiscal_year_to_date_refunds, october ...), in dollars.","group":"Basics","shown":true,"written":false},{"name":"currency","label":"Currency","description":"Currency of every amount: USD.","group":"Pay","shown":true,"written":false}],"inputs":[{"name":"table","label":"Table","help":"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.","example":"3","written":false},{"name":"start_date","label":"Start date","help":"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","written":false},{"name":"end_date","label":"End date","help":"Only statements for months that end on or before this day, as YYYY-MM-DD.","example":"2026-12-31","written":false},{"name":"classification","label":"Classification","help":"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","written":false},{"name":"include_headings","label":"Include headings","help":"Also return sub-header lines and other lines printed without any amount, which only name a group.","example":"","written":false},{"name":"sort","label":"Sort","help":"Newest statement first (the default) or oldest first. Lines keep the statement's own order within a month.","example":"","written":false}]}},"incidents":[]}