Ask "what is the euro worth in Sri Lankan rupees today?" and there are at least three correct answers. The market says one number, the Central Bank of Sri Lanka says another, and the bank down the road buys at one price and sells at a third. AllRatesToday exists to serve all of them, side by side, each with its source attached.
A currency has more than one rate
Most exchange rate APIs give you one number per currency pair, usually a blended market estimate with no stated source. That's fine for a price tag on a shopping site. It isn't fine for most of the places money actually moves:
A VAT return or customs declaration has to use the rate the tax authority or central bank sets, such as HMRC's monthly rate in the UK or the CBIC's notified rate for Indian customs.
An audited set of accounts has to show which rate was used for each date, and where it came from.
To see what a remittance really cost, you have to compare against the buy rate the receiving bank posted that day, not the mid-market rate.
An AI…