One other API I've found that includes foreign exchange (as well as a bunch of other different asset classes) is http://iexcloud.io -- they have a free tier that is pretty generous.
We’ve used this API in our https://mintdata.com/docs examples, but the limits run out fairly quickly.
Would be curious to ask here — are there any alternative APIs you’d recommend for showing financial application examples? (Ideally something that fetches the delayed price of a stock (CUSIP) and related news for it)