US Treasury Data API — debt, FX & rates (no key)
Pricing
from $2.50 / 1,000 treasury queries
US Treasury Data API — debt, FX & rates (no key)
Official U.S. Treasury FiscalData: the national debt (Debt to the Penny), Treasury reporting rates of exchange by country/currency, and average interest rates on Treasury securities. Current or historical. Clean HTTP API + MCP, no key. Pay per query.
Pricing
from $2.50 / 1,000 treasury queries
Rating
0.0
(0)
Developer
Synthetic
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Share
Official U.S. Treasury FiscalData as a clean HTTP API (and MCP tool): the national debt (Debt to the Penny), the Treasury reporting rates of exchange by country/currency, and the average interest rates on U.S. Treasury securities — current or over any date range. Authoritative government data, reshaped to clean typed rows. No API key. Pay per query.
- 💵 National debt — total public debt outstanding, split into debt held by the public vs intragovernmental, daily.
- 💱 Exchange rates — the official Treasury reporting rates of exchange used across the U.S. government, by country/currency.
- 📉 Interest rates — average interest rates on Treasury bills, notes, bonds and the total marketable/non-marketable debt.
- 🗓️ Current or historical — filter any dataset by a date range.
- 💵 Pay per query · no key · official Treasury data.
The use case it was built for
Track the U.S. national debt for a dashboard, use the official Treasury FX rate for government-facing accounting, or chart interest rates on the debt. This API returns the numbers straight from Treasury, no scraping, no key.
Sample output (debt, latest)
{"ok": true, "dataset": "Debt to the Penny", "count": 1,"data": [{ "date": "2026-09-16", "totalPublicDebt": 40094080427790.97,"debtHeldByPublic": 32406353922774.30, "intragovernmental": 7687726505016.67 }]}
How to use
- HTTP API (Standby): POST or GET
/debt,/exchange-rates,/interest-rates.GET /returns help. Example:GET /exchange-rates?country=Argentina. - Normal run: pass
{ operation, start, end, ... }; results land in the dataset + key-value store. - MCP tool: expose it to your agent via Apify's MCP server.
Input
- operation —
debt·exchange-rates·interest-rates. - start / end — date range (YYYY-MM-DD). country / currency — (exchange-rates) filters. limit — cap rows.
Pricing
Per query from $0.005 (down to $0.002 on higher tiers). One call = one query (a date range returns many rows at once).
Related Actors
- SEC EDGAR API — company filings and financials.
- Currency Exchange — live ECB market rates and conversion.
FAQ
Do I need a key? No — Treasury FiscalData is keyless.
How current is the debt? Debt to the Penny updates each business day.
Are these market FX rates? No — they're the Treasury's official reporting rates (quarterly), used across the U.S. government, not live market rates. For market rates use our Currency Exchange actor.
Notes & limits
Data from the U.S. Department of the Treasury FiscalData API. Up to 1000 rows per call; use a date range to focus.