I can see a massive list of indicators available via the World Bank API here (may take 1-2 minutes to load)

I found exchange rates for various currencies into USD, but cannot see how to get exchange rates between currencies which aren't the USD.

Is this possible via the World Bank API?

  • $\begingroup$ After making this post, I wonder if it would be more relevant in the economics stack exchange? $\endgroup$ – stevec Jul 1 '20 at 17:39

I don't think so, since:

  • USD is usually used as a reference.
  • Providing exchange rates for all possible pairs would be to much data. If there are 100 countries, there would be 100! (factorial) different pairs.
  • Exchange rates for all different pairs can be calculated manually by using the USD rates of two pairs.
  • $\begingroup$ Not quite 100!. For 4 currencies its 3 + 2 + 1 (as opposed to 3 * 2 * 1, which gives a much bigger number). But your point stands; there could be thousands, but not too much trouble for an API of such importance $\endgroup$ – stevec Jul 2 '20 at 3:25
  • $\begingroup$ Upvote for the resourceful approach. The potential problem with calculating non USD rates based on USD rates is I am not even sure they were taken at the same time (changes throughout a day can be 5% or more), so not appropriate for all uses. But potentially useful. I will use this approach if I cannot find anything more accurate. $\endgroup$ – stevec Jul 2 '20 at 3:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.