Federal finances, ready for analysis.
Retrieves federal debt, revenue, spending, and Treasury rate data from the public Fiscal Data API.
When to use it
Use for national debt, Treasury statements, securities auctions, interest and exchange rates, savings bonds, or government revenue and spending statistics.
Give it a federal financial data question; it queries the Treasury API and returns the requested data.
The Python examples require Python 3.10+.
The Python examples require requests; the installation section provides a command to install it.
This skill
U.S. Treasury Fiscal Data API
Retrieves federal financial data
fiscaldata.treasury.gov
Checks Treasury dataset guides