Your books close on the 30th. The 30th is a Sunday. Which rate do you use?

Most rules say: the last rate published on or before that date. Frankfurter v2 will return a value for a weekend date, which is convenient, but for an audit trail you also want to know which publication it came from.

Ask for the date, get the rate in force

import os, requests r = requests.get( "https://allratestoday.com/api/v1/central-bank/ecb/2026-11-29", params={"source": "EUR", "target": "USD"}, headers={"Authorization": f"Bearer {os.environ['ART_KEY']}"}, ).json() print(r["rate_date"]) # 2026-11-27 (the Friday publication) print(r["published_on_requested_date"]) # False 

rate_date tells you which table the number came from, and published_on_requested_date tells you whether the bank published on the day you asked for. Store both with the journal entry.

The source matters as much as the date

Group policies and local GAAP often name the source: ECB for a eurozone parent, the Bank of England for a UK entity, a customs authority for import costing. The dated endpoint works the same way for each of the 138 central banks and 66 tax and customs authorities, so a multi-entity close can pull every entity's rate from its own required source in one loop.

Year-end revaluation

For a year-end series, the history endpoint returns a daily range:

GET /api/v1/central-bank/boe/history?source=USD&target=GBP&from=2026-01-01&to=2026-12-31 

Dated lookups and history are on paid plans. The latest table is on every plan, including the free one.

I work on AllRatesToday.