US taxpayers with foreign income often convert it at the IRS yearly average rate. Tax software, expat calculators and accountants' spreadsheets all need that table.

Frankfurter v2 includes the US Treasury's quarterly reporting rates (UST), which are a different table used for federal agencies and some filings. The IRS yearly averages aren't among its 112 providers.

Treasury quarterly vs IRS yearly average

US Treasury reporting rate IRS yearly average
Cadence quarterly once a year
Typical use FBAR, government reporting converting foreign income on a return
In Frankfurter yes no
In AllRatesToday yes (ustreasury) yes (irs)

Fetching both

import os, requests H = {"Authorization": f"Bearer {os.environ['ART_KEY']}"} irs = requests.get( "https://allratestoday.com/api/v1/central-bank/irs/latest", params={"source": "USD", "target": "EUR"}, headers=H, ).json() ust = requests.get( "https://allratestoday.com/api/v1/central-bank/ustreasury/latest", params={"source": "USD", "target": "EUR"}, headers=H, ).json() print("IRS yearly average:", irs) print("Treasury quarterly:", ust) 

Same endpoint shape as any central bank, just a different source code.

Which one should your tool use?

That is a tax question, not an API question: the IRS lets taxpayers use the yearly average in many cases and a spot rate in others. The useful thing for a developer is having both tables behind one key, with the publishing authority named in every response, so the user (or their accountant) can pick and cite it.

I work on AllRatesToday.