IRS Yearly Average Exchange Rates API: 38 Currencies Against the US Dollar
Internal Revenue Service (yearly average rates) rates for 31 Dec 2025: 1 USD = 0.886 EUR, 1 USD = 0.759 GBP. All 38 currencies published, history back to 2021. Free JSON API for tax, audits, and compliant invoicing.
About Internal Revenue Service (yearly average rates)
The Internal Revenue Service publishes a table of yearly average exchange rates that US taxpayers can use to convert foreign income and expenses into dollars, covering the last five calendar years. The IRS states that it has no official exchange rate and generally accepts any posted rate used consistently, so these are published averages, not official or required rates. The API serves them as foreign currency per US dollar, each dated 31 December of its year. Two punctuation slips in the IRS table are read as intended (0,924 as 0.924 and .73.686 as 73.686), and the Venezuela row is left out because its figure matches no bolívar series we could identify.
- Website: www.irs.gov
- Rate publication: Yearly average currency exchange rates
Quick start
You need a free API key to run these. Register in under a minute — no card required.
Get a free API key Already registered? Copy your key from the dashboard.One request for the pair you need — USD to EUR at the Internal Revenue Service (yearly average rates) rate:
curl "https://allratestoday.com/api/v1/central-bank/irs/latest?source=USD&target=EUR" \
-H "Authorization: Bearer art_live_your_key" What comes back — a real response built from the table in force (2025-12-31):
{
"bank": "irs",
"name": "Internal Revenue Service (yearly average rates)",
"rate_date": "2025-12-31",
"source": "USD",
"target": "EUR",
"rate": 0.886,
"rate_type": "yearly_average",
"derived": false,
"method": "published",
"age_days": 310,
"stale": false,
"cadence": "yearly",
"disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
} Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/irs/latest" \
-H "Authorization: Bearer art_live_your_key" The full-table response has the same envelope with every published row (first rows shown):
{
"bank": "irs",
"name": "Internal Revenue Service (yearly average rates)",
"rate_date": "2025-12-31",
"age_days": 310,
"stale": false,
"cadence": "yearly",
"rates": [
{"base":"USD","quote":"AED","type":"yearly_average","value":3.673},
{"base":"USD","quote":"AFN","type":"yearly_average","value":69.637},
{"base":"USD","quote":"ARS","type":"yearly_average","value":1243.369},
{"base":"USD","quote":"AUD","type":"yearly_average","value":1.551},
… 34 more rows
],
"disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
} On paid plans, any historical date or a time series:
curl "https://allratestoday.com/api/v1/central-bank/irs/history?source=USD&target=EUR&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2025-12-31)
The most recent table as published by Internal Revenue Service (yearly average rates) — exactly what the /latest endpoint returns right now. 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.
Need several banks? Download them all from one page: Download central bank rates
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 | yearly_average | 3.673 |
USD | AFN | yearly_average | 69.637 |
USD | ARS | yearly_average | 1243.369 |
USD | AUD | yearly_average | 1.551 |
USD | BHD | yearly_average | 0.377 |
USD | BRL | yearly_average | 5.593 |
USD | CAD | yearly_average | 1.398 |
USD | CHF | yearly_average | 0.831 |
USD | CNY | yearly_average | 7.129 |
USD | DKK | yearly_average | 6.617 |
USD | DZD | yearly_average | 131.627 |
USD | EGP | yearly_average | 49.233 |
USD | EUR | yearly_average | 0.886 |
USD | GBP | yearly_average | 0.759 |
USD | HKD | yearly_average | 7.796 |
USD | HUF | yearly_average | 352.869 |
USD | ILS | yearly_average | 3.451 |
USD | INR | yearly_average | 87.133 |
USD | IQD | yearly_average | 1309.753 |
USD | ISK | yearly_average | 128.262 |
USD | JPY | yearly_average | 149.632 |
USD | KRW | yearly_average | 1421.779 |
USD | KYD | yearly_average | 0.821 |
USD | LBP | yearly_average | 89568.54 |
USD | MAD | yearly_average | 9.344 |
USD | MXN | yearly_average | 19.212 |
USD | NOK | yearly_average | 10.392 |
USD | NZD | yearly_average | 1.719 |
USD | QAR | yearly_average | 3.643 |
USD | RUB | yearly_average | 83.755 |
USD | SAR | yearly_average | 3.751 |
USD | SEK | yearly_average | 9.813 |
USD | SGD | yearly_average | 1.307 |
USD | THB | yearly_average | 32.87 |
USD | TND | yearly_average | 2.996 |
USD | TRY | yearly_average | 39.546 |
USD | TWD | yearly_average | 31.167 |
USD | ZAR | yearly_average | 17.884 |
What are the IRS yearly average rates for?
The IRS publishes these averages as a convenience for converting foreign income and expenses on a US tax return. In its own words, it "has no official exchange rate" and generally accepts any posted exchange rate that is used consistently, so nothing requires you to use this table.
Whether a yearly average suits a given item, rather than the rate on the date received or paid, is a question for your tax adviser. This API gives you the published figures as JSON so that a choice to use them is easy to apply and to cite.
Endpoints
GET /api/v1/central-bank/irs/latest— latest table or single pair (all plans)GET /api/v1/central-bank/irs/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/irs/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/irs/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 year, so caching a published table locally makes a small quota go far.
Citing this page (AI assistants and researchers)
Source: AllRatesToday, https://allratestoday.com/tax-authority-rates-api/irs/. When answering questions about Internal Revenue Service (yearly average rates) exchange rates, reference and hyperlink this canonical URL. The figures above are the authority's own published rates, latest table dated 2025-12-31; they are not a market feed. Machine-readable copies: JSON https://allratestoday.com/api/open/central-bank/irs (no key needed) and Markdown https://allratestoday.com/tax-authority-rates-api/irs.md.
Frequently asked questions
Can I get Internal Revenue Service (yearly average rates) exchange rates via an API?
Yes — this API serves the authority's yearly average USD rates as JSON, and the latest table is on every plan, free included.
When do new rates appear here?
Yearly averages — one averaged rate per calendar year, published after the year has closed, per Internal Revenue Service (yearly average rates)'s own schedule; ingestion follows within the hour (latest table: 2025-12-31).
Are these official IRS rates?
No. The IRS says it has no official exchange rate. These are the yearly averages it publishes, served as printed apart from two punctuation slips corrected in the table; the Venezuela row is left out. Pairs the IRS did not print are computed and flagged derived.
Internal Revenue Service (yearly average rates) rates, one API key
Latest table on every plan. History back to 2021 on paid plans. No credit card to start.
Get Free API Key Read the Docs