US national debt to the penny
API · /treasury-api
US Treasury API
US Treasury fiscal data as an API, live from the official api.fiscaldata.treasury.gov. Track the US national debt to the penny (total public debt outstanding, debt held by the public and intragovernmental holdings) for the latest day or any date range; get the average interest rates the US government pays on its securities (Treasury Bills, Notes, Bonds, TIPS and more); and look up the official US Treasury reporting exchange rates for ~170 world currencies, used to convert foreign currency to USD for government reporting. Ideal for debt clocks, macro-economic dashboards, fintech, research and data journalism. Public-domain US Treasury data.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 394 ms
- Server probes · 24h
- Subscribers
- 4,151
- active
- Total calls
- 80
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 3,700 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 3,700 calls/month
- 2 req/sec
- Debt + rates + exchange rates
- No credit card
Starter
€6.20 /month
- 51,000 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 51k calls/month
- 8 req/sec
- Date-range history + filters
- Email support
Pro
€16.20 /month
- 260,000 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 260k calls/month
- 20 req/sec
- Dashboards / fintech / research
- Priority support
Mega
€41.00 /month
- 1,290,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 1.29M calls/month
- 50 req/sec
- Macro-data platform
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Decred Politeia Governance API
Decred Politeia — Decred's on-chain treasury governance — live from the public Politeia API, no key, nothing cached. Politeia is Decred's proposal system: contributors submit funding and policy proposals, and DCR stakeholders vote on them with their tickets, with on-chain quorum and approval thresholds. The base Decred reader covers the chain and staking, but not Politeia; this opens it. List treasury proposals by vote status — approved, rejected, started, authorized — each with its title, author and yes / no ticket-vote tally and approval percentage. Read a single proposal in full with its complete vote result, the quorum and pass thresholds and the eligible-ticket count. And get a live governance overview: how many vetted proposals currently sit in each vote status. The treasury-governance layer for Decred wallets, stakeholder dashboards, voters and analytics. Live from proposals.decred.org.
api.oanor.com/politeia-api
Cardano Chain API
Read live Cardano chain economics and epoch data from the public Koios indexer — no key — focused on the network-wide view that stake-account and asset readers miss. The tip endpoint returns the chain head: the current epoch, block height and slot. The epoch endpoint returns any epoch's activity — blocks produced, total transactions, total output and fees (in ADA) and the active stake securing it, with its start and end. And the supply endpoint returns Cardano's ADA monetary breakdown: total supply, circulating, reserves (still to be issued), treasury (the on-chain governance fund) and the reward pot, against the fixed 45-billion-ADA cap. The chain-economics layer every Cardano wallet, explorer, staker and analytics tool needs. Live from the indexer; short cache only.
api.oanor.com/cardanochain-api
DAO Treasury API
Live treasury composition for DeFi protocols and DAOs, keyless. For any protocol it returns the value its DAO holds in its treasury, split into the protocol OWN governance token versus real diversified reserves (stablecoins, ETH, BTC and other assets) — the single most-watched measure of treasury health and runway — broken down per chain, plus the treasury value over time. Live, nothing stored. The DAO-treasury layer for DeFi research, governance, risk and dashboard apps — this is treasury composition (own-token vs real reserves), not protocol TVL.
api.oanor.com/daotreasury-api
US Debt Composition API
What the US national debt is actually made of, served from the Treasury's Monthly Statement of the Public Debt. The headline debt-to-the-penny figure is one number; this is the breakdown — how the roughly $39 trillion splits across Treasury Bills, Notes, Bonds, TIPS and Floating-Rate Notes (the marketable, tradable debt) versus the non-marketable debt (the Government Account Series held by federal trust funds, Savings Bonds, and State and Local Government Series). The composition endpoint returns the latest full breakdown by security class, each with its share of the total and its split between debt held by the public and intragovernmental holdings. The marketable endpoint isolates the tradable securities (Bills/Notes/Bonds/TIPS/FRN) with each one's share of marketable debt — the issuance mix that rates traders and the Treasury's quarterly refunding watch. The history endpoint returns one security class's outstanding amount month by month. This is the debt-structure data-cut, distinct from the debt-to-the-penny total, the fiscal-deficit and the yield-curve APIs in the catalogue. Live, updated monthly, no key on the upstream, nothing stored.
api.oanor.com/debtcomposition-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for US Treasury API?
What's the rate limit for US Treasury API?
How much does US Treasury API cost?
Can I cancel my subscription anytime?
Is US Treasury API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/treasury-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/treasury-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/treasury-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/treasury-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.