Fed Treasury

Official U.S. Treasury fiscal data, from debt to FX rates

📈 FinanceUNMONITOREDchecked 28 min ago
AUTH NONECORS AGENT ?HTTPS COMMERCIAL

The Treasury's Fiscal Data service publishes federal finances—exchange rates, the national debt, interest rates and more—as a filterable JSON API. Select fields, page and sort with query parameters; no key required. It's open U.S. Government data.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/od/rates_of_exchange?fields=country_currency_desc,exchange_rate,record_date&page[number]=1&page[size]=1

{
  "data": [
    {
      "country_currency_desc": "Afghanistan-Afghani",
      "exchange_rate": "77.625",
      "record_date": "2019-12-31"
    }
  ],
  "meta": {
    "count": 1,
    "total-count": 18807
  }
}
Call itcurl · fetch · python
curl "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/od/rates_of_exchange?fields=country_currency_desc,exchange_rate,record_date&page[number]=1&page[size]=1"
const res = await fetch("https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/od/rates_of_exchange?fields=country_currency_desc,exchange_rate,record_date&page[number]=1&page[size]=1");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/accounting/od/rates_of_exchange?fields=country_currency_desc,exchange_rate,record_date&page[number]=1&page[size]=1")
print(res.json())

BROWSER CALLS BLOCKED (NO CORS/HTTPS) — USE THE CURL SNIPPET

Endpoints · 6On scheduleFULL DOCS ↗
First rollup pending — GET /v1/accounting/od/rates_of_exchange?fields=country_currency_desc,exchange_rate,record_date&page[number]=1&page[size]=1 has been probed
GET/v1/accounting/od/rates_of_exchange?fields=country_currency_desc,exchange_rate,record_date&page[number]=1&page[size]=1PROBED

Official U.S. Treasury fiscal data, from debt to FX rates

GET/v1

V1 — documented GET route.

GET/v1/1

V1 details by ID (example: 1).

GET/v1?limit=10

V1 — documented GET route.

GET/v1/search?q=test

Search by query parameters.

GET/v1/

V1 — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

Fed Treasury: common questions

Is Fed Treasury free to use?

Yes — Fed Treasury is a free finance API. Free tier: Free — no API key. Commercial use is allowed on the free tier.

Does Fed Treasury need an API key?

No — Fed Treasury needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Fed Treasury from the browser?

Not directly — Fed Treasury doesn't send browser-friendly CORS headers, so call it from a server or proxy instead. Copy the curl or Python snippet on this page to get started.

Is Fed Treasury up right now?

As of our last scheduled check, Fed Treasury is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.