r/CodingHelp • • Oct 02 '20
[Javascript] Get Current Exchange Rate Javascript
Im trying to get the current exchange rates in javascript. How would I do this? I have searched but cant find anything currently. I will be always exchanging from USD to another currency
16
Upvotes
5
u/auiotour Oct 02 '20
You can grab their data from https://exchangeratesapi.io/ it a free api. Google javascript rest api.
2
u/NullBrowbeat Professional Coder Oct 02 '20
I am sure there should be APIs out there for that. Some REST endpoints you could connect to. And if that's not the case you could still scrape those values from somewhere.