Public APIs / Currency Exchange / XRates
XRates API
Latest and historical exchange rates aggregated from ECB, CBR and open data feeds, 300+ currencies.
Open the XRates documentation Build something with it
Key facts
- Category
- Currency Exchange
- Authentication
- apiKey
- HTTPS
- Yes
- CORS
- Yes
- Listed in
- public-apis
You need a free or paid API key. Keep it on a server, never in the browser.
What you could build with XRates
Currency APIs give you live and historical exchange rates for invoicing, pricing and reporting.
- Multi-currency pricing in a webshop
- Invoices that convert at the day's rate
- A finance dashboard in your home currency
How we would integrate XRates
- Sign up with the provider, get a key and store it on the server in an env.php or secret store.
- Call it from the browser or from your backend, whichever keeps keys safe.
- Cache results in your own database, so pages stay fast and you stay inside rate limits.
- Add monitoring: if the API goes down or changes, you get an alert before your customers notice.
Questions about XRates
Does the XRates API need an API key?
You need a free or paid API key. Keep it on a server, never in the browser.
Can I call XRates from the browser?
Yes. It allows CORS, so a web page can call it directly from the browser.
Does XRates support HTTPS?
Yes, it is served over HTTPS.
Can you build an app with XRates for me?
Yes. FullStack Partner has developers who build and run products on APIs like this one. Send us a few lines and we reply with a plan and a fixed price.