usfiscaldata

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

21|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/OwnLabAI/ownlab --skill usfiscaldata-ownlabai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: usfiscaldata
Source: https://github.com/OwnLabAI/ownlab/tree/main/mart/skills/scientific-skills/usfiscaldata
Command: npx skills add https://github.com/OwnLabAI/ownlab --skill usfiscaldata-ownlabai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides programmatic access to U.S. Treasury fiscal data via the Fiscal Data API, enabling analysts to retrieve authoritative debt, revenue, statements, rates, and auctions without manual scraping.

Core Features & Use Cases

  • Centralized access to 54 datasets and 182 endpoints across v1 and v2.
  • Flexible querying with fields, filters, sorting, and pagination for time-series analysis and reporting.
  • Real-world use cases include debt tracking, cash flow analysis, and benchmarking government statistics against internal dashboards.

Quick Start

Run a simple query against the API to fetch the latest debt_to_penny record and inspect the total public debt amount.

Frequently Asked Questions about usfiscaldata

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

FAQPage Schema
How do I retrieve U.S. Treasury fiscal data via API for debt tracking?

You retrieve U.S. Treasury fiscal data by querying the Fiscal Data API, which provides programmatic access to federal financial datasets covering debt, receipts, expenses, and rates. The Skill handles GET-based requests, pagination, and JSON response parsing automatically.

Can I query specific fields and apply filters when accessing government financial datasets?

Yes, querying government financial datasets supports flexible filtering and field selection. You can specify exact fields, apply filters, and configure sorting across 54 available datasets and 182 endpoints to retrieve targeted time-series data for analysis and reporting.

What is the Fiscal Data API and what federal financial datasets does it cover?

The Fiscal Data API is an official U.S. Treasury service providing centralized access to authoritative federal financial data. It covers 54 datasets across v1 and v2 endpoints, including debt, revenue, statements, rates, and auctions, eliminating the need for manual data scraping.

How do I handle pagination when fetching large volumes of treasury rate datasets?

Pagination handling is built directly into the data retrieval process. When fetching large volumes of treasury rate datasets or other federal financial records, the Skill automatically manages paginated GET requests and parses the JSON responses with necessary type conversions.

Does accessing U.S. fiscal data require any external dependencies or API keys?

Accessing U.S. fiscal data through this Skill requires no external dependencies. It operates independently to query the Treasury Fiscal Data API, handling GET-based data access and JSON response parsing without needing additional libraries or authentication modules.

Are there limitations when using the Fiscal Data API for cash flow analysis and reporting?

The primary limitation is that data access is restricted to GET-based queries across the available v1 and v2 endpoints. While it handles pagination and JSON parsing, all 182 endpoints are read-only, meaning you can retrieve but not modify federal financial records for your cash flow analysis.