Usfiscaldata
Query the U.S. Treasury Fiscal Data API for debt, statements, rates, auctions, and savings bonds.
- CCM score
- 67 of 100
- skills.sh installs
- 2.2K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers federal financial data across debt, Daily and Monthly Treasury Statements, interest rates, exchange rates, auctions, and savings bonds
- Includes endpoint paths for Debt to the Penny, DTS operating cash balance, MTS tables, and Treasury Reporting Rates of Exchange
- Enforces Treasury field conventions such as millions-scale DTS amounts and
open_today_balfor the TGA closing balance - Designed for analysts and developers who need open federal data without an API key or registration
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill usfiscaldata -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
U.S. Treasury Fiscal Data API
Free, open REST API from the U.S. Department of the Treasury for federal financial data. No API key or registration required.
Base URL: https://api.fiscaldata.treasury.gov/services/api/fiscal_service
Browse the current dataset catalog via the dataset search. Verify endpoint paths on each dataset's API Quick Guide — paths change over time.
Installation
uv pip install requests pandas
Quick Start
import requests
import pandas as pd
BASE_URL = "https://api.fiscaldata.treasury.gov/services/api/fiscal_service"
# Get the current national debt (Debt to the Penny)
resp = requests.get(f"{BASE_URL}/v2/accounting/od/debt_to_penny", params={
"sort": "-record_date",
"page[size]": 1
}, timeout=30)
resp.raise_for_status()
data = resp.json()["data"][0]
print(f"Total public debt as of {data['record_date']}: ${float(data['tot_pub_debt_out_amt']):,.0f}")
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Finance & Trading, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What is usfiscaldata?
usfiscaldata is an agent skill listed on Claude Marketplaces in the Finance & Trading category. The listing describes usfiscaldata like this: Query the U.S.
How do I install usfiscaldata?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill usfiscaldata -y in a project to install usfiscaldata. After that, the agent can use usfiscaldata in that project.
Which category is usfiscaldata in?
usfiscaldata is in the Finance & Trading category on Claude Marketplaces. Other listings in that category next to usfiscaldata include wind-mcp-skill, stripe-best-practices and wind-find-finance-skill.
Where is the source code of usfiscaldata?
The source code of usfiscaldata is on GitHub at https://github.com/k-dense-ai/scientific-agent-skills. The k-dense-ai account on GitHub publishes usfiscaldata.
More from k-dense-ai/scientific-agent-skills
All 132- Matchms2.2K
- Qiskit2.2K
- Polars Bio2.2K
- Gtars2.2K
- Protocolsio Integration2.2K
- Histolab2.2K
- Paperzilla2.2K
- Pyopenms2.2K
- Dnanexus Integration2.2K
- Latchbio Integration2.2K
- Neuropixels Analysis2.2K
- Qutip2.2K
- Rowan2.2K
- Omero Integration2.2K
- Opentrons Integration2.2K
- Tiledbvcf2.2K
- Pylabrobot2.2K
- Primekg2.2K
- Glycoengineering2.2K
- Ginkgo Cloud Lab2.2K
- Hugging Science2.1K
- Autoskill2K
- Exa Search2K
- Scientific Writing2.9K
Similar to Usfiscaldata
More Finance & Tradingquick-statsmarketcalls/vectorbt-backtesting-skills2.2K installsQuickly fetch data and print key backtest stats for a symbol with a default EMA crossover strategy. No file creation needed - runs inline in a notebook cell or
setupmarketcalls/vectorbt-backtesting-skills2.2K installsSet up the Python backtesting environment. Detects OS, creates virtual environment, installs dependencies (openalgo, ta-lib, vectorbt, plotly), and creates the
option-vol-analysisanthropics/financial-services2.2K installsAnalyze option volatility by combining vol surface data, option pricing with Greeks, and historical price data to assess implied vs realized volatility. Use whe
initiating-coverageanthropics/financial-services2.2K installsCreate institutional-quality equity research initiation reports through a 5-task workflow. Tasks must be executed individually with verified prerequisites - (1)
technical-analysisomer-metin/skills-for-antigravity2.1K installsMaster of price action, chart patterns, and technical indicators - combining classical Wyckoff/Dow theory with modern quantitative validation for edge identific
risk-management0xhubed/agent-trading-arena2.1K installsRisk management rules learned from competition outcomes. Use when sizing positions or setting stop-losses.