When a project needs live exchange rates (checkout prices, a trading dashboard, a remittance quote), a daily reference table isn't enough. Here's how to go from nothing to a working live-rate call with AllRatesToday's free tier in about five minutes.
1. Get the key
Sign up at allratestoday.com/register with email, Google or GitHub. No credit card. Your key (art_live_...) is on the dashboard right away.
2. First call
curl "https://allratestoday.com/api/v1/rates?source=USD&target=EUR" \ -H "Authorization: Bearer art_live_your_key" [ { "rate": 0.914495, "source": "USD", "target": "EUR", "time": "2026-11-25T14:00:00Z" } ] That's the mid-market rate, aggregated from institutional foreign exchange market data and updated every 60 seconds. The free tier gets the same feed as the paid plans.
3. Several currencies, one request
Comma-separate the targets. It still counts as one request:
curl "https://allratestoday.com/api/v1/rates?source=USD&target=EUR,GBP,JPY,INR,AUD" \ -H "Authorization: Bearer art_live_your_key" This is the cheapest way to price a basket: one call, five rates.
JavaScript (server side)
const KEY = process.env.ALLRATES_KEY; // never ship the key to the browser export async function rates(source, targets) { const url = `https://allratestoday.com/api/v1/rates?source=${source}&target=${targets.join(",")}`; const res = await fetch(url, { headers: { Authorization: `Bearer ${KEY}` } }); if (!res.ok) throw new Error(`${res.status}: ${(await res.json()).error}`); return Object.fromEntries((await res.json()).map((q) => [q.target, q.rate])); } // await rates("USD", ["EUR", "GBP"]) -> { EUR: 0.914495, GBP: 0.765706 } Python
import os, requests def rates(source, *targets): r = requests.get("https://allratestoday.com/api/v1/rates", params={"source": source, "target": ",".join(targets)}, headers={"Authorization": f"Bearer {os.environ['ALLRATES_KEY']}"}, timeout=10) r.raise_for_status() return {q["target"]: q["rate"] for q in r.json()} print(rates("EUR", "USD", "GBP", "CHF")) Make the free tier last
The free tier is for personal projects, prototypes and testing, and its quota doesn't reset monthly. So treat each call as worth caching:
- Cache by time. For display prices, a rate that's a few minutes old is fine. Keep the last response in memory or Redis for 5–15 minutes and serve every conversion from it.
- Batch targets. One call with
target=EUR,GBP,JPYinstead of three. - Watch the headers. Every response carries
X-Monthly-Limit,X-Monthly-UsedandX-Monthly-Resets, so you can see your usage before you hit the limit. - Handle 429 well. When the quota is used up, requests are refused, never billed. Fall back to the cached rate and log it.
Bursts are capped at 10 requests a minute on the free tier.
Which currencies?
curl https://allratestoday.com/api/v1/symbols -H "Authorization: Bearer art_live_your_key" This returns 160+ ISO codes with names.
Official rates on the same key
Live rates are for pricing. Invoices, tax and accounts usually need a central bank's official rate. That's included on the free key, from 130+ central banks and tax authorities:
curl "https://allratestoday.com/api/v1/central-bank/ecb/latest?source=USD&target=EUR" \ -H "Authorization: Bearer art_live_your_key" Add &format=csv, xml or xlsx to any table endpoint to get a file instead of JSON.
When to upgrade
Paid plans start at a few euros a month and add historical rates (&time=2026-08-01), time series, commercial use and higher volumes. If you only need daily rates and no key at all, the open API may already be enough.
Links
- Free API key: https://allratestoday.com/register/
- Free currency API overview: https://allratestoday.com/free-currency-api/
- API docs and playground: https://allratestoday.com/developers/
- Pricing: https://allratestoday.com/pricing/
Rates by AllRatesToday.
