mts_table_2: Get Monthly Treasury Statement - Receipts by Source

API: treasury.gov:fed-treasury
Endpoint: /v1/accounting/mts/mts_table_2
Response format: application/json
Auth: none
Method: GET
Last Status: 200
Latency: 817ms

Description

Returns detailed monthly receipt data from the Monthly Treasury Statement (Table 2), showing government revenue by source. Use this to analyze revenue composition, track individual vs corporate tax collections, and understand how different revenue sources contribute to total receipts.

From spec: Returns monthly government receipts by source.

Usage Tips

- Data published monthly after month-end - Use filter=classification_desc:in:(...) to get specific receipt categories - current_fytd_budget_amt shows fiscal year-to-date totals - Prior year comparisons available via prior_fytd_budget_amt

Parameters (4)

filter (string, query, optional)

Filter criteria

page[number] (integer, query, optional, default: 1)

Page number

page[size] (integer, query, optional, default: 100)

Number of records per page

sort (string, query, optional)

Sort field and direction

Examples (1)

Get receipts by source probe-gate

Demonstrates fetching monthly government receipts broken down by source category.

curl 'https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_2?page%5Bsize%5D=3&sort=-record_date'
import requests

resp = requests.get(
    "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_2",
    params={
        'page[size]': '3',
        'sort': '-record_date',
    },
)
data = resp.json()
import zingu_apis

api = zingu_apis.api("treasury")
result = api.fetch("v1/accounting/mts/mts_table_2", page[size]=3, sort="-record_date")

for item in result:
    print(item)
const resp = await fetch("https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_2?page%5Bsize%5D=3&sort=-record_date");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 01:15:26.296055 200 817ms
2026-04-15 03:08:42.146137 200 838ms
2026-04-14 02:58:21.768794 200 916ms
2026-04-12 13:00:43.910836 200 826ms
2026-04-10 00:18:44.928104 200 766ms