Menu

Free Exchange Rate API with No API Key: One URL, Any Base Currency, CORS On
📰

Free Exchange Rate API with No API Key: One URL, Any Base Currency, CORS On

DEV Community: javascript·allratestoday·5 days ago
#RgIHWOZw
Long article (758 words) — no AI summary yet.
Reading 0:00
15s threshold

Most "free" currency APIs still make you sign up, confirm an email and paste a key into your code before the first request. For a side project, a prototype or a static site, that's friction you don't need.

AllRatesToday has an open endpoint for exactly this case. There's no key and no account:

https://allratestoday.com/api/open/latest/USD

Enter fullscreen mode

Exit fullscreen mode

Replace USD with any of the 30 currencies in the European Central Bank's daily table ( EUR , GBP , JPY , INR , AUD , CAD , CHF , CNY ...).

What comes back

{ "result" : "success" , "base_code" : "USD" , "date" : "2026-11-25" , "time_last_update_utc" : "Wed, 25 Nov 2026 15:00:00 GMT" , "time_next_update_utc" : "Thu, 26 Nov 2026 15:00:00 GMT" , "source" : "European Central Bank reference rates, served by AllRatesToday" , "attribution" : "Exchange rates by AllRatesToday — https://allratestoday.com" , "rates" : { "USD" : 1 , "EUR" : 0.91449474 , "GBP" : 0.76570645 , "JPY" : 159.32327 , "..." : "..." } }

Enter fullscreen…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.