API · /usfiscal-api

US Federal Fiscal API

healthy 4,819 Subscribers

Live US federal fiscal data from the US Treasury's official FiscalData API — the cost-and-flow side of US public finance. Get the federal budget deficit or surplus by month for the current fiscal year (receipts, outlays and the net) from the Monthly Treasury Statement; the interest the United States pays to service its national debt, by month and fiscal-year-to-date, broken down by security type; and the average interest rate the Treasury pays on each class of its debt (Bills, Notes, Bonds, TIPS) plus the weighted overall rate. Live, no key, nothing cached. Distinct from debt-level (debt-to-the-penny) and auction feeds — this is the deficit, the interest bill and the average rate on the debt.

api.oanor.com/usfiscal-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/usfiscal-api/openapi.json
/api/usfiscal-api/llms.txt

Discovery: GET /api/index.json lists every API.

US Federal Fiscal API — live data on the oanor API marketplace

API health

healthy
Uptime
100.00%
Server probes · 24h
Avg latency
462 ms
Server probes · 24h
Subscribers
4,819
active
Total calls
80
last 7 days
status Full status page → · 16 probes/24h

Pricing

Pick a tier — billed monthly, cancel anytime.

Free

Free

  • 3,000 calls / month
  • 2 requests / second
  • Hard cap (429 above quota, no overage)
  • 3k calls/month
  • 2 req/sec
  • Deficit, interest expense & avg rates
  • No credit card
Sign in to subscribe

Starter

€9.75 /month

  • 72,000 calls / month
  • 6 requests / second
  • Hard cap (429 above quota, no overage)
  • 72k calls/month
  • 6 req/sec
  • Full fiscal-year history
  • Email support
Sign in to subscribe

Pro

€26.50 /month

  • 380,000 calls / month
  • 15 requests / second
  • Hard cap (429 above quota, no overage)
  • 380k calls/month
  • 15 req/sec
  • Priority support
Sign in to subscribe

Business

€64.00 /month

  • 2,300,000 calls / month
  • 40 requests / second
  • Hard cap (429 above quota, no overage)
  • 2.3M calls/month
  • 40 req/sec
  • Dedicated SLA
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

US Treasury Cash (TGA) API — oanor API marketplace

US Treasury Cash (TGA) API

The US federal government's checking account — the Treasury General Account (TGA) at the Federal Reserve — served from the official Daily Treasury Statement. The TGA is where the government's cash sits, and its day-to-day balance is a closely watched market-liquidity gauge: a falling TGA injects cash into the financial system, a rising one drains it. The balance endpoint returns the latest day's opening balance, total deposits, total withdrawals, closing balance and the net change, in millions and billions of dollars. The history endpoint returns the daily closing TGA balance over a window. The flows endpoint returns the latest day's largest cash deposits and withdrawals by category — withheld and corporate taxes coming in, Social Security and debt redemptions going out — so you can see exactly where the money moved. This is the Treasury-cash and fiscal-liquidity data-cut, distinct from the national-debt, fiscal-deficit and yield-curve APIs in the catalogue. Live, updated each business day, no key on the upstream, nothing stored.

api.oanor.com/treasurycash-api

Debt-to-GDP by Sector API — oanor API marketplace

Debt-to-GDP by Sector API

How indebted each economy's government, households and companies are relative to the size of the economy, read live from the Bank for International Settlements' open statistics — no key, nothing stored. Debt-to-GDP is the headline gauge of debt sustainability: how big a borrower's debts are versus the income that has to service them. The BIS publishes total credit as a share of GDP for the general government, for households, for non-financial corporations and for the private non-financial sector as a whole, on a consistent cross-country basis. The latest endpoint returns every covered country's most recent government, household, corporate and total-private debt-to-GDP; the country endpoint returns one country's four sector ratios with the reference quarter; the history endpoint returns a chosen sector's quarterly series. This is the debt-level / leverage macro cut — distinct from the credit-to-GDP gap (how stretched credit is versus its trend), the debt service ratio (the cost of carrying that debt), the credit-growth (lending volumes), bank-rate and FX APIs in the catalogue. A country is a BIS reference area (US, GB, DE, JP …) given as an ISO-2 code or a common name; data is quarterly with the usual statistical lag.

api.oanor.com/debttogdp-api

US Debt Composition API — oanor API marketplace

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

US Treasury API — oanor API marketplace

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.oanor.com/treasury-api

Frequently asked questions

Quick answers about pricing, quotas, and integration.

How do I get an API key for US Federal Fiscal API?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call US Federal Fiscal API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for US Federal Fiscal API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does US Federal Fiscal API cost?
US Federal Fiscal API has a free tier with 100 calls / month. Paid plans start at €9.75 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is US Federal Fiscal API GDPR-compliant?
All requests to US Federal Fiscal API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

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/usfiscal-api/SOME_PATH \
  -H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/usfiscal-api/SOME_PATH", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/usfiscal-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/usfiscal-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 in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 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 in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.