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.

Install

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


  • Economic and financial data analysis - Retrieve key financial indicators such as U.S. Treasury debt, interest rates, and exchange rates for economic research and investment analysis.

  • Financial application development - Provide authoritative U.S. government Treasury financial data sources for financial apps, finance websites, and data visualization tools.

  • Academic research and teaching - Get U.S. government fiscal revenue/expenditure and debt data for economics research, teaching, and academic papers.
  • Core Features


  • Treasury debt data queries - Provides Debt to the Penny (daily Treasury debt), historical debt data, etc., tracking changes in the total amount of U.S. public debt. Supports querying by date and analyzing historical trends.

  • Interest rates and exchange rate data - Retrieve average interest rates on U.S. Treasuries and official Treasury exchange rate data, including quarterly exchange rate reports and various security interest rate information.

  • Daily and monthly fiscal reports - Provides the Daily Treasury Statement (daily fiscal report) and the Monthly Treasury Statement (monthly fiscal report), including detailed fiscal data such as government receipts, expenditures, and cash balances.
  • 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:
  • Debt data: daily Treasury debt, historical debt, Federal debt schedule

  • Fiscal reports: Daily Treasury Statement (DTS), Monthly Treasury Statement (MTS)

  • Interest rates and exchange rates: average Treasury interest rates, Treasury exchange rates, savings bond interest rates

  • Securities and auctions: Treasury auction data, upcoming auctions, and repo operations

  • Savings bonds: I bond interest rates, savings bond issuance and redemption data
  • 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.