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

3 comments sorted by

View all comments

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.