usfiscaldata
Query the U.S. Treasury Fiscal Data REST API for federal financial data. No API key required. Use for national debt (Debt to the Penny), Daily Treasury Statements, Monthly Treasury Statements, Treasury securities auctions, interest rates, foreign exchange rates, savings bonds, or U.S. government revenue and spending statistics.
Author
Category
Finance AnalysisInstall
Hot:93
Download and extract to your skills directory
Copy command and send to AI Agent for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=k-dense-ai-skills-usfiscaldata&locale=en&source=copy
usfiscaldata - U.S. Department of the Treasury Financial Data API Query Tool
Skill Overview
A free REST API tool for querying the U.S. Department of the Treasury’s financial data. No API key is required. It provides a variety of federal financial data such as Treasury debt data, financial statements, interest rates, and exchange rates, suitable for developers, data analysts, and researchers.
Use Cases
Core Features
FAQ
Does the U.S. Treasury financial data API require registration or payment?
No. The U.S. Treasury financial data API is completely free—no registration or API key application is required. Developers can call the interfaces directly to obtain data. The API offers 54 datasets and 179 tables, covering Treasury debt, fiscal reports, interest rates, exchange rates, savings bonds, and other types of fiscal and financial data.
How do I query U.S. Treasury debt data?
Use the
/v2/accounting/od/debt_to_penny endpoint to obtain the latest Treasury debt data. Use the sort=-record_date parameter to sort by date in descending order, and page[size] to control the number of results returned. The API also provides historical debt data (/v2/accounting/od/debt_outstanding) and more detailed Treasury-related information such as the Federal debt schedule.What types of data does the Fiscal Data API provide?
The API provides various types of fiscal and financial data, including:
It supports flexible query methods such as field filtering, date filtering, and pagination queries, allowing you to retrieve specific types of data and time ranges as needed.