usfiscaldata

Query U.S. Treasury Fiscal Data API for federal financial datasets.

4|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/shushuzn/Rairos --skill usfiscaldata-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: usfiscaldata
Source: https://github.com/shushuzn/Rairos/tree/main/skills/usfiscaldata
Command: npx skills add https://github.com/shushuzn/Rairos --skill usfiscaldata-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the problem of getting trustworthy U.S. federal fiscal statistics quickly without manually collecting or cleaning data from multiple sources.

Core Features & Use Cases

  • Unified API querying: Fetch national debt, government spending and revenue, interest expense, exchange rates, and savings bond metrics from the U.S. Treasury Fiscal Data API with consistent parameters.
  • Dataset-driven analytics: Use ready-to-go endpoints for daily, monthly, quarterly, annual, and securities-specific datasets (e.g., Debt to the Penny, DTS/MTS, rates of exchange, auction data, I Bonds).
  • Analysis-ready results: Work with consistent JSON responses, pagination controls, and clear guidance for converting string values to numeric/date types in analytics pipelines.

Quick Start

Ask for the latest total public debt using the US Fiscal Data API endpoint Debt to the Penny (Debt to the Penny).

Frequently Asked Questions about usfiscaldata

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query U.S. national debt and government spending data from the Treasury API?

Query the U.S. Treasury Fiscal Data API to retrieve federal financial datasets like national debt and government spending using consistent parameters. You can fetch data from ready-to-go endpoints with structured JSON responses for analysis-ready results.

Can I retrieve U.S. Treasury interest rates and exchange rates using daily or monthly filters?

Yes, you can retrieve U.S. Treasury interest rates and exchange rates using parameterized filtering across daily, monthly, quarterly, and annual endpoints. This allows for time-series tracking and cross-dataset comparisons directly from the API.

Do I need an API key to access U.S. fiscal data like savings bonds and revenue statistics?

No, you do not need an API key to access U.S. fiscal data such as savings bonds and revenue statistics. The U.S. Treasury Fiscal Data API satisfies no-auth requirements using deterministic retrieval with GET endpoints.

How do I handle large datasets and pagination when fetching federal financial statistics?

Handle large datasets and pagination when fetching federal financial statistics by using the API's pagination controls and pagination meta fields. The service provides consistent JSON responses with fields, filter, sort, and pagination options for structured response parsing.

What's the best way to compare U.S. national debt versus interest expense over time?

The best way to compare U.S. national debt versus interest expense is to use the API for cross-dataset comparisons. Fetch time-series data from multiple endpoints and convert the string values to numeric types in your analytics pipeline.