U.S. Department of the Treasury Exchange Rate API
Official U.S. Department of the Treasury rates for 31 Aug 2026: 1 USD = 0.877 EUR, 1 USD = 0.756 GBP. All 145 currencies published, history back to 2001. Free JSON API for tax, audits, and compliant invoicing.
About U.S. Department of the Treasury
The U.S. Department of the Treasury publishes the Treasury Reporting Rates of Exchange each quarter, through its Bureau of the Fiscal Service. Every US government agency must use these rates to convert foreign-currency balances into dollars for official reports — and contractors, grant recipients, and auditors follow the same table. Rates are amended mid-quarter when a currency moves sharply.
- Official website: www.treasury.gov
- Official rate publication: Treasury Reporting Rates of Exchange
Quick start
One request for the pair you need — USD to EUR at the official U.S. Department of the Treasury rate:
curl "https://allratestoday.com/api/v1/central-bank/ustreasury/latest?source=USD&target=EUR" \
-H "Authorization: Bearer art_live_your_key" Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/ustreasury/latest" \
-H "Authorization: Bearer art_live_your_key" On paid plans, any historical date or a time series:
curl "https://allratestoday.com/api/v1/central-bank/ustreasury/history?source=USD&target=EUR&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2026-08-31)
U.S. Department of the Treasury's newest published table, verbatim — the same rows the /latest endpoint returns at this moment. Values are USD per 1 unit of each currency:
Download this table: Excel (.xlsx) CSV (paid plan required)
One row per currency per publication date. Up to one year per download. Billed as one API call per currency per month of data.
Prefer a bulk file? The complete archive of every source is also published as an open dataset: central-bank-exchange-rates on Hugging Face
| Base | Quote | Type | Rate |
|---|---|---|---|
USD | AED | quarterly | 3.673 |
USD | AFN | quarterly | 65.09 |
USD | ALL | quarterly | 82.4 |
USD | AMD | quarterly | 370 |
USD | AOA | quarterly | 912.048 |
USD | ARS | quarterly | 1495 |
USD | AUD | quarterly | 1.451 |
USD | AZN | quarterly | 1.7 |
USD | BAM | quarterly | 1.716 |
USD | BBD | quarterly | 2.02 |
USD | BDT | quarterly | 123 |
USD | BGN | quarterly | 0.87 |
USD | BHD | quarterly | 0.377 |
USD | BIF | quarterly | 3443 |
USD | BMD | quarterly | 1 |
USD | BND | quarterly | 1.295 |
USD | BOB | quarterly | 10.35 |
USD | BRL | quarterly | 5.174 |
USD | BSD | quarterly | 1 |
USD | BWP | quarterly | 12.821 |
USD | BYN | quarterly | 2.907 |
USD | BZD | quarterly | 2 |
USD | CAD | quarterly | 1.424 |
USD | CDF | quarterly | 2277 |
USD | CHF | quarterly | 0.809 |
USD | CLP | quarterly | 921.6 |
USD | CNY | quarterly | 6.785 |
USD | COP | quarterly | 3449.19 |
USD | CRC | quarterly | 451.95 |
USD | CUC | quarterly | 1 |
USD | CUP | quarterly | 24 |
USD | CVE | quarterly | 96.77 |
USD | CZK | quarterly | 20.716 |
USD | DJF | quarterly | 177 |
USD | DKK | quarterly | 6.558 |
USD | DOP | quarterly | 59.36 |
USD | DZD | quarterly | 132.906 |
USD | EGP | quarterly | 49.18 |
USD | ERN | quarterly | 15 |
USD | ETB | quarterly | 158.48 |
USD | EUR | quarterly | 0.877 |
USD | FJD | quarterly | 2.22 |
USD | GBP | quarterly | 0.756 |
USD | GEL | quarterly | 2.607 |
USD | GHS | quarterly | 11.3 |
USD | GMD | quarterly | 72 |
USD | GNF | quarterly | 8733 |
USD | GTQ | quarterly | 7.62 |
USD | GYD | quarterly | 215 |
USD | HKD | quarterly | 7.842 |
USD | HNL | quarterly | 26.668 |
USD | HTG | quarterly | 130.252 |
USD | HUF | quarterly | 312.34 |
USD | IDR | quarterly | 17870.69 |
USD | ILS | quarterly | 2.977 |
USD | INR | quarterly | 94.66 |
USD | IQD | quarterly | 1309.55 |
USD | IRR | quarterly | 1375055 |
USD | ISK | quarterly | 126.22 |
USD | JMD | quarterly | 159 |
USD | JOD | quarterly | 0.708 |
USD | JPY | quarterly | 162.38 |
USD | KES | quarterly | 129.35 |
USD | KGS | quarterly | 87.45 |
USD | KHR | quarterly | 4020.5 |
USD | KMF | quarterly | 431.3 |
USD | KRW | quarterly | 1367.46 |
USD | KWD | quarterly | 0.308 |
USD | KYD | quarterly | 0.82 |
USD | KZT | quarterly | 478.11 |
USD | LAK | quarterly | 22320 |
USD | LBP | quarterly | 89500 |
USD | LKR | quarterly | 336 |
USD | LRD | quarterly | 181 |
USD | LSL | quarterly | 16.368 |
USD | LYD | quarterly | 6.413 |
USD | MAD | quarterly | 9.375 |
USD | MDL | quarterly | 17.51 |
USD | MGA | quarterly | 4180 |
USD | MKD | quarterly | 53.86 |
USD | MMK | quarterly | 3668 |
USD | MNT | quarterly | 3579 |
USD | MRU | quarterly | 39.9 |
USD | MUR | quarterly | 47.04 |
USD | MVR | quarterly | 15.42 |
USD | MWK | quarterly | 1751 |
USD | MXN | quarterly | 17.454 |
USD | MYR | quarterly | 4.082 |
USD | MZN | quarterly | 63.3 |
USD | NAD | quarterly | 16.368 |
USD | NGN | quarterly | 1380.08 |
USD | NIO | quarterly | 36.6 |
USD | NOK | quarterly | 9.916 |
USD | NPR | quarterly | 151.46 |
USD | NZD | quarterly | 1.767 |
USD | OMR | quarterly | 0.385 |
USD | PEN | quarterly | 3.414 |
USD | PGK | quarterly | 4.228 |
USD | PHP | quarterly | 61.322 |
USD | PKR | quarterly | 277.7 |
USD | PLN | quarterly | 3.768 |
USD | PYG | quarterly | 6069.32 |
USD | QAR | quarterly | 3.64 |
USD | RON | quarterly | 4.6 |
USD | RSD | quarterly | 102.89 |
USD | RUB | quarterly | 86.6 |
USD | RWF | quarterly | 1450 |
USD | SAR | quarterly | 3.75 |
USD | SBD | quarterly | 7.8 |
USD | SCR | quarterly | 13.756 |
USD | SDG | quarterly | 3550 |
USD | SEK | quarterly | 9.725 |
USD | SGD | quarterly | 1.295 |
USD | SLE | quarterly | 24.6 |
USD | SOS | quarterly | 568 |
USD | SRD | quarterly | 37.325 |
USD | SSP | quarterly | 5700 |
USD | STN | quarterly | 21.501 |
USD | SYP | quarterly | 112.5 |
USD | SZL | quarterly | 16.368 |
USD | THB | quarterly | 33.2 |
USD | TJS | quarterly | 9.22 |
USD | TMT | quarterly | 3.491 |
USD | TND | quarterly | 2.934 |
USD | TOP | quarterly | 2.327 |
USD | TRY | quarterly | 46.656 |
USD | TTD | quarterly | 6.749 |
USD | TWD | quarterly | 31.834 |
USD | TZS | quarterly | 2610 |
USD | UAH | quarterly | 44.735 |
USD | UGX | quarterly | 3660 |
USD | UYU | quarterly | 40.12 |
USD | UZS | quarterly | 12000 |
USD | VES | quarterly | 723.933 |
USD | VND | quarterly | 26255 |
USD | VUV | quarterly | 118.3 |
USD | WST | quarterly | 2.672 |
USD | XAF | quarterly | 575.55 |
USD | XCD | quarterly | 2.7 |
USD | XCG | quarterly | 1.78 |
USD | XOF | quarterly | 571.5 |
USD | YER | quarterly | 528 |
USD | ZAR | quarterly | 16.368 |
USD | ZMW | quarterly | 18 |
USD | ZWG | quarterly | 25.833 |
Node.js / TypeScript client
A dedicated zero-dependency npm package wraps these endpoints — ustreasury-exchange-rate:
npm install ustreasury-exchange-rate import { getRate } from 'ustreasury-exchange-rate';
const pair = await getRate('USD', 'EUR', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date); Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.
Full reference — installation, all four functions, response shapes, error codes: ustreasury-exchange-rate documentation.
Why use the official U.S. Department of the Treasury rate?
A market rate is a moving target; the rate U.S. Department of the Treasury publishes is a fixed, citable figure that stays put once printed — which is why invoicing, customs, audit evidence, and statutory accounting in United States lean on it rather than on a live feed. Every response from this API carries the authority's own rate_date, and on days with no publication you get the most recent published table — the one compliance rules tell you to apply.
If a pair isn't in the authority's published table, the API computes it from that table (inverse or cross via USD) and marks it "derived": true — published and computed values are never silently mixed.
Endpoints
GET /api/v1/central-bank/ustreasury/latest— latest table or single pair (all plans)GET /api/v1/central-bank/ustreasury/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/ustreasury/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/ustreasury/availability— publication calendar: the dates the bank actually published (all plans)
Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once a quarter, so caching a published table locally makes a small quota go far.
Frequently asked questions
Does an exchange rate API exist for U.S. Department of the Treasury data?
Yes. This endpoint returns U.S. Department of the Treasury's official quarterly figures as JSON; the newest table is free on every plan.
How often are the rates updated?
U.S. Department of the Treasury publishes quarterly — one official table per quarter, amended mid-quarter when a currency moves sharply; the API ingests each new table shortly after publication (latest: 2026-08-31).
Are these really U.S. Department of the Treasury's official figures?
Yes. Every value comes from U.S. Department of the Treasury's own publication and is served unmodified, carrying the authority's publication date; computed pairs are explicitly flagged derived.
U.S. Department of the Treasury rates, one API key
Latest table on every plan. History back to 2001 on paid plans. No credit card to start.
Get Free API Key Read the Docs