{ "opencollection": "1.0.0", "info": { "name": "U.S. Treasury Fiscal Data API", "version": "1.0", "description": "Free, public, read-only REST API from the U.S. Bureau of the Fiscal Service. No authentication required. Base URL: https://api.fiscaldata.treasury.gov/services/api/fiscal_service. Every endpoint supports fields, filter, sort, format, page[number], and page[size]." }, "items": [ { "info": { "name": "Debt", "type": "folder" }, "items": [ { "info": { "name": "Debt to the Penny", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny?fields=record_date,tot_pub_debt_out_amt&sort=-record_date&page[size]=10" }, "docs": "Total public debt outstanding by day. No auth required." }, { "info": { "name": "Interest Expense on the Debt", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/interest_expense?sort=-record_date&page[size]=10" }, "docs": "Monthly and fiscal-year-to-date interest paid on the federal debt." } ] }, { "info": { "name": "Interest Rates", "type": "folder" }, "items": [ { "info": { "name": "Average Interest Rates on Treasury Securities", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/avg_interest_rates?filter=record_date:gte:2024-01-01&sort=-record_date&page[size]=25" }, "docs": "Monthly average interest rate by Treasury security type and description." } ] }, { "info": { "name": "Daily Treasury Statement", "type": "folder" }, "items": [ { "info": { "name": "Operating Cash Balance", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/dts/operating_cash_balance?fields=record_date,account_type,open_today_bal&sort=-record_date&page[size]=10" }, "docs": "Treasury General Account operating cash balance by business day." }, { "info": { "name": "Deposits and Withdrawals of Operating Cash", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/dts/deposits_withdrawals_operating_cash?sort=-record_date&page[size]=10" }, "docs": "Daily deposits to and withdrawals from federal operating cash." } ] }, { "info": { "name": "Monthly Treasury Statement", "type": "folder" }, "items": [ { "info": { "name": "Receipts (MTS Table 4)", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_4?sort=-record_date&page[size]=25" }, "docs": "Monthly federal receipts (revenue) by source." }, { "info": { "name": "Outlays (MTS Table 5)", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/mts/mts_table_5?sort=-record_date&page[size]=25" }, "docs": "Monthly federal outlays (spending) by agency and function." } ] }, { "info": { "name": "Exchange Rates", "type": "folder" }, "items": [ { "info": { "name": "Treasury Reporting Rates of Exchange", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/od/rates_of_exchange?filter=record_date:gte:2024-01-01&sort=-record_date&page[size]=25" }, "docs": "Official Treasury exchange rates per country and currency, quarterly." } ] }, { "info": { "name": "Securities", "type": "folder" }, "items": [ { "info": { "name": "Treasury Securities Auctions", "type": "http" }, "http": { "method": "GET", "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/od/auctions_query?sort=-auction_date&page[size]=25" }, "docs": "Treasury securities auction results - CUSIP, term, dates, price, and yields." } ] } ] }