Bank exchange rates are the rates people actually get. Until now they were mostly locked in HTML tables on each bank's website. AllRatesToday reads the boards of 1,219 commercial banks in 124 countries every hour and serves them as JSON, next to a real-time mid-market rate and official rates from 123 central banks.
Here are five things you can build with that.
1. Best bank to sell your dollars, by country
curl -H "Authorization: Bearer $KEY" \ "https://allratestoday.com/api/v1/bank-rates/lk" Sort by buy (the price the bank pays you) and show the top five.
2. Remittance landing pages that stay accurate
A "USD to INR today" page can show the live mid-market rate, the RBI reference rate and what each Indian bank offers, all from one key.
3. Spread monitor
Each row has spread_pct. Store it daily and chart how a bank's spread widens around holidays or market stress.
4. "Bank vs official" checker
Each row also carries the central bank's official rate and vs_official_pct. Flag any bank more than a few percent away from it.
5. Travel money helper
Before a trip, compare the mid-market rate with the cash rates of banks at the destination:
const H = { Authorization: `Bearer ${process.env.KEY}` }; const [mid, banks] = await Promise.all([ fetch("https://allratestoday.com/api/v1/rates?source=EUR&target=SGD", { headers: H }).then(r => r.json()), fetch("https://allratestoday.com/api/v1/bank-rates/sg", { headers: H }).then(r => r.json()), ]); Why one source matters
You could scrape a few banks yourself. Keeping 1,219 scrapers alive is another matter: bank sites change layouts, add bot checks and go down. That maintenance is the work an API takes off your hands. Every figure is checked against the official rate before storage.
Links
- Free API key: allratestoday.com/register
- Every country and bank code: bank codes list
- Docs: allratestoday.com/docs