Data & ReproGIS & Remote SensingK-Dense-AI/claude-scientific-skillsData & Reproduction
US

usfiscaldata

Maintainer K-Dense Inc. · Last updated April 1, 2026

Free, open REST API from the U.S. Department of the Treasury for federal financial data. No API key or registration required.

Claude CodeAnalysisReproductionusfiscaldatafinancedatabasegeneral

Original source

K-Dense-AI/claude-scientific-skills

https://github.com/K-Dense-AI/claude-scientific-skills/tree/main/scientific-skills/usfiscaldata

Maintainer
K-Dense Inc.
License
MIT
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • 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.
  • resp = requests.get(f"{BASE_URL}/v2/accounting/od/debt_to_penny", params={ "sort": "-record_date", "page[size]": 1 }) data = resp.json()["data"][0] print(f"Total public debt as of {data['record_date']}: ${float(data['tot_pub_debt_out_amt']):,.0f}") python.

Source Doc

Excerpt From SKILL.md

Quick Start

import requests
import pandas as pd

BASE_URL = "https://api.fiscaldata.treasury.gov/services/api/fiscal_service"

## Get Treasury exchange rates for recent quarters

resp = requests.get(f"{BASE_URL}/v1/accounting/od/rates_of_exchange", params={
    "fields": "country_currency_desc,exchange_rate,record_date",
    "filter": "record_date:gte:2024-01-01",
    "sort": "-record_date",
    "page[size]": 100
})
df = pd.DataFrame(resp.json()["data"])

Authentication

None required. The API is fully open and free.

Use cases

  • Use when working with U.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Related skills

Related skills

Back to directory
BI
Data & ReproGIS & Remote Sensing

bio-imaging-mass-cytometry-spatial-analysis

Spatial analysis of cell neighborhoods and interactions in IMC data. Covers neighbor graphs, spatial statistics, and interaction testing. Us…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproGIS & Remote Sensing

bio-workflows-imc-pipeline

Imaging mass cytometry: segmentation → phenotyping → spatial analysis.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
CL
Data & ReproGIS & Remote Sensing

clinicaltrials-database

ClinicalTrials.gov is a comprehensive registry of clinical studies conducted worldwide, maintained by the U.S. National Library of Medicine.…

Claude CodeOpenClawAnalysis
K-Dense-AI/claude-scientific-skillsView
GE
Data & ReproGIS & Remote Sensing

geomaster

Comprehensive geospatial science skill covering GIS, remote sensing, spatial analysis, and ML for Earth observation across 70+ topics with 5…

Claude CodeAnalysis
K-Dense-AI/claude-scientific-skillsView