How to convert currencies like USD to EUR in a simple way?

Hi everybody, new user here!

Do you guys have any sugestions on how to convert currencies like USD, EUR and BRL?

I dont need high resulution or precision, to have an exchange rate per day would be enough for me.

Thanks!

1 Like

Have you used the formatting option?

There are lots of free OpenAPI you can use to convert you currency , i suggest do a research and use one which suits you, so whener you do you get the current rate.

then for modificaiton you can use bubble native format to show decimal and symbol.

some platfrom which give api acccess are below:

  • Open Exchange Rates

  • ExchangeRate-API

if you need help setting these up, do ping more then happy to help you setup these , for free :wink:

Hey @lcb.gmr ! Welcome to Bubble :slightly_smiling_face:

A simple way to handle this is to use a free currency API that gives daily exchange rates, like exchangerate.host or Open Exchange Rates (free tier). You can call it via Bubble’s API Connector once per day and store the rates in a “Currency Rates” data type. Then, whenever you need to convert, just multiply the amount by the stored rate.

No need for super-precise updates if daily rates are enough, this keeps it simple and lightweight.

Hey @lcb.gmr ,

Store rates in database, update once per day with a recurring workflow. Lower API usage, lower workload units, and fast lookups.

Hi Everybody!

Thank you very much for your support! I ended up using an API to OpenExchangeRates! It was my first time setting one up and took me 2 days but it is working fine!

Best regards!